JSON Formatter & Validator

Format, minify and validate JSON. Errors point to the exact line and column.

Notes

Validation runs as you type, using the browser's own JSON.parse: double-quoted strings, no trailing commas, no comments. “Sort keys A→Z” orders keys at every level — handy for comparing two documents.

Your JSON never leaves this page. Your input is saved in this browser only.