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

  1. Paste your log output (one JSON object per line) into the input box.
  2. Click "Format" or press Ctrl+Enter to process the input.
  3. Each line is parsed and pretty-printed with color-coded syntax highlighting.
  4. Invalid lines are shown with a clear error badge so you can spot malformed entries.
  5. Use "Copy All" to copy every formatted entry to the clipboard.
  6. 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