Copies this page address only, without URL inputs, tracking parameters or a section anchor. It does not share calculation results.
JSON, instantly clean.
Beautify, minify, sort keys, explore as a tree, and validate in one view. Formatting runs in your browser.
Getting ready. Input becomes available when the tool is ready. If this message stays, reload or check that JavaScript is enabled. Browser-side formatting does not guarantee the safety of live tokens, passwords, or personal data. Use sample or non-sensitive test JSON only.
Output appears here.
Format, minify, and validate JSON in one place
Paste sample JSON and it is beautified instantly with 2-space, 4-space, or tab indentation. Switch to Minify to remove unnecessary whitespace outside string values, or Sort keys to reorder ordinary string keys for easier diffs. Only Sort keys puts integer-index keys first in numeric order. All modes preserve number spellings, string escapes and duplicate entries; duplicate names are flagged because other parsers may overwrite them. Formatting is not proof of equivalent values.
Errors point to the line
When the JSON is invalid, the output shows the parser message and, where the browser provides it, the line and column of the first problem — usually a trailing comma, a missing quote, or a stray bracket.
Use test data, not live secrets
Syntax validation uses the browser's JSON engine; output is written from the original tokens, but browser-side parsing does not guarantee the safety of live tokens, passwords, or personal data pasted into a website. Use a sample or non-sensitive test JSON; follow an approved local workflow for production data.