Check the syntax
Keys and strings use double quotes. A document can also contain an array, a number, a boolean or null.
Browser toolkit / JSON
Review a document, make its structure readable and save your next version. The editor runs entirely on your device.
Data editor
Ready for your document.
0 charactersAccepts standard JSON up to 2 MiB. Comments and trailing commas are invalid. Format and Compact can change number precision beyond JavaScript's safe integer range. Shortcut: Ctrl+Enter or ⌘+Enter to format.
Reference
Keys and strings use double quotes. A document can also contain an array, a number, a boolean or null.
Format adds two-space indentation. Compact removes optional whitespace. Keep an original copy when exact numeric values matter.
Download the small batch example to try file import, formatting and export.
Batch example ↗The editor does not send documents to a server or store them in browser storage. Reloading restores the example. The web server may log ordinary page requests; document contents are not included in them.
Copy uses your device clipboard. Export creates a local download. Open the usage notes for a short offline reference.