JSONL Formatter

Pretty-print, minify, sort and deduplicate JSON Lines files.

Works Offline
Privacy First
No Login
No API

JSONL input

Drop a file here

Drop a .jsonl or .ndjson file

Formatted output

Records
2
Kept
2
Invalid
0
Duplicates
0

About the JSONL Formatter

Make JSONL readable or make it strict. Expand each record for review, minify back to one-object-per-line, sort keys for stable diffs, drop invalid lines and remove duplicate records before training or importing.

Examples

Minify

{
  "id": 1
}

Output

{"id":1}

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-14 · Runs entirely in your browser