JSON Log Formatter
Paste newline-delimited JSON log output and instantly see every line pretty-printed with syntax highlighting and copy support.
Log Input
Ctrl+Enter to format. One JSON object per line.
Formatted Output
Paste your JSON log lines on the left and click Format.
Copied!
Summary
Paste newline-delimited JSON log output and instantly see every line pretty-printed with syntax highlighting and copy support.
How it works
- Paste your log output (one JSON object per line) into the input box.
- Click "Format" or press Ctrl+Enter to process the input.
- Each line is parsed and pretty-printed with color-coded syntax highlighting.
- Invalid lines are shown with a clear error badge so you can spot malformed entries.
- Use "Copy All" to copy every formatted entry to the clipboard.
- Click any individual entry's copy button to copy just that line.
Use cases
- Debugging structured application logs from Docker or Kubernetes.
- Inspecting NDJSON / JSON Lines files from data pipelines.
- Reading AWS CloudWatch or Datadog log streams exported as JSON.
- Reviewing API access logs stored in JSON format.
- Quickly spotting which log entry has a malformed payload.
- Sharing a clean, readable version of a log dump with teammates.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu