Skip to content

Tools/Log pretty

Log pretty

Pretty-print JSON lines and logfmt into JSON objects. Nothing is uploaded.

Loading tool…

How to use Log pretty

  1. 1. Paste JSON lines or logfmt. One record per line.
  2. 2. Read pretty JSON. logfmt becomes an object of key=value tokens.
  3. 3. Copy. For a ticket or a test.
  4. 4. No warehouse. Paste only.

About this tool

Production logs are one JSON object per line or logfmt. This pretty-printer expands each line so you can read fields without jq. It does not tail a file on a server.

logfmt

Whitespace-separated key=value. Values with spaces will split wrong — quote handling is minimal.

Multiline stack traces

Stay as raw lines if they are not JSON.

Code examples

JSONL

{"level":"info","msg":"ok"}

Frequently asked questions

Related tools

All tools