Output Format:
4 lines parsed16 unique keys
Detected Fields:level (4)ts (4)caller (4)msg (3)port (1)tls (1)method (1)path (1)status (1)duration (1)remote_ip (1)client_id (1)error (1)db_pool (1)query (1)retries (1)
Read-only preview
[
{
"level": "info",
"ts": "2024-05-10T14:32:01.421Z",
"caller": "server.go:128",
"msg": "http server started",
"port": 8080,
"tls": true
},
{
"level": "info",
"ts": "2024-05-10T14:32:05.102Z",
"caller": "router.go:54",
"method": "GET",
"path": "/api/v1/health",
"status": 200,
"duration": "1.42ms",
"remote_ip": "10.0.4.12"
},
{
"level": "warn",
"ts": "2024-05-10T14:32:12.890Z",
"caller": "auth.go:88",
"msg": "invalid jwt signature",
"client_id": "acme-corp",
"error": "token expired"
},
{
"level": "error",
"ts": "2024-05-10T14:32:15.340Z",
"caller": "db.go:210",
"msg": "database query timeout",
"db_pool": "primary",
"query": "SELECT * FROM users",
"retries": 3
}
]Pin this tool to your browser side panel
Access this utility anytime with Alt+M without switching tabs. 100% offline & free.
How to Convert Logfmt to JSON
- 1Paste raw logfmt log lines (e.g. level=info ts=... msg="server started" status=200).
- 2Inspect parsed structured objects, field types, and detected keys in real time.
- 3Copy formatted JSON array or streamable NDJSON for ingestion into analytics pipelines.
Logfmt Specification
Logfmt is a concise key=value format popularized by Heroku and widely adopted by Go services, Prometheus, and Grafana Loki.
Frequently Asked Questions
Enjoying Logfmt to JSON & NDJSON Structured Log Converter?Help your engineering peers discover private, ad-free tools!
MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.
Related Developer Utilities
Popular
Docker Run to Compose Converter
Convert complex docker run CLI commands into clean, production-ready docker-compose.yml files
Launch toolβ
Popular
Nginx Config Generator
Visual builder for production-ready Nginx reverse proxy, SSL, and SPA configs
Launch toolβ
Popular
Dockerfile Multi-Stage Generator
Visual builder for security-hardened, multi-stage Dockerfiles across modern stacks
Launch toolβ
Popular
Kubernetes YAML Manifest Builder
Visual generator for Deployment, Service, Ingress, and ConfigMap manifests
Launch toolβ