Discover tools
All tools

JSON formatter

Format, explore, query, compare and convert JSON locally. Free, with no account or uploads.

One workspace. All on your device.
5 million characters · 100 levels · 100,000 values
Paste below or drop a text file here · up to 10 MB
Indentation
2 spaces4 spacesTabs
More transformations

Sorting changes key order recursively, preserving array order. Repair can add or remove content; review its preview. Redaction matches exact property names, ignoring case, and does not guarantee every secret is removed.

Results appear here; your source stays intact.
Start with a document or try the example.Ctrl/Cmd + F to find · Ctrl/Cmd + Z to undo · Escape, then Tab to leave the editor

Source, comparison and schema text stay in this tab and clear on refresh. Files are not uploaded. The editor never runs pasted JavaScript. Cancel stops the worker without changing your source.

A little help along the way

Choose Edit to format or repair, Explore to inspect values, Query to select data, Compare to preview patches, Schema to check a contract, or Convert to export another format. Results stay separate until you choose Use result as source.