Check, tidy or shrink JSON, with the exact line of any error. It runs in your browser: nothing you type leaves your device, and there is no sign-up.
What it does #
The editor parses content locally, preserves data types and offers configurable indentation. Invalid input stays untouched while the error position is explained.
Useful for:
- Pretty-print a wall of minified JSON from an API response so humans can read it.
- Find the exact character breaking a config file that “looks fine”.
- Minify JSON before embedding it where bytes matter.
How to use it #
- Paste the JSON.
- Format with your indent choice, or minify.
- If parsing fails, read the error: line, column and an explanation of what was expected.
- Copy the valid result; invalid input is never silently “fixed”.
Know the limits #
- Conversion can lose distinctions when the source and destination formats represent nested data differently.
- Inspect field names, types, escaping and sample rows before using output in a production workflow.
Private by design #
What you paste or type is worked on by this page in your own browser. It is not sent to URSY or to anyone else, and nothing is kept after you close the page. We only count that the tool was used, never what you put in it.
Questions #
Why won’t it just fix my almost-JSON?
Because guessing intent corrupts data: trailing commas, single quotes and unquoted keys each have multiple “fixes” with different meanings. Showing you the exact error position keeps you in charge of what the data says.
Is it safe to paste API responses with real data?
Parsing and formatting run entirely in your browser — nothing is transmitted or stored. Still, habit matters: strip credentials and tokens before pasting anything anywhere, including here.
Words to know #
Related tools #
- JSON to CSV ConverterTurn a list of JSON objects into a CSV table you can download.
- CSV to JSON ConverterTurn CSV, quoted fields included, into JSON objects or arrays.
- Web App Manifest GeneratorBuild a manifest.webmanifest file for an installable web app.
- Base64 Encoder + DecoderTurn text into Base64, or Base64 back into readable text.
Page facts checked 23 Nov 2026. Sources: RFC 8259: the JSON format
Cite this page: JSON Formatter + Validator. URSY. Updated 24 November 2026. https://ursy.com/webmaster-tools/json-formatter/ · Section links