Skip to main content
Developer tool
Runs in your browser
Nothing in the URL

JSON formatter and validator

Format, minify, and check JSON in your browser. Pasted data stays on the page and is not sent to Calculation Hub.

What it does
Fast checks for the JSON you already have open.
Validate JSON syntax
Format JSON with two spaces, four spaces, or tabs
Minify JSON for smaller files
Copy or download full output with numeric tokens preserved
Run entirely in the browser
Runs in your browser
Paste JSON to format or validate it
Your JSON is not uploaded, saved to a share link, or added to the page URL.
No uploads

Paste a JSON object, array, string, number, boolean, or null.

0 chars

Your JSON stays in this tab. It is not saved to the URL, browser storage, or a Calculation Hub server. Maximum input: 1,000,000 characters and 200 nesting levels. Numeric tokens, property order, and duplicate keys are preserved; this is formatting, not schema validation.

Output

Formatted or minified JSON appears here when the input is valid.

No output yet
Paste JSON and choose Format, Validate, or Minify. Invalid input will show the parser message instead.
No uploads
Privacy notes
Use it when the JSON should stay on your machine.

Syntax is checked with the browser parser; whitespace formatting preserves the original numeric tokens, key order, and duplicate keys rather than reserializing JavaScript numbers. Data stays in this tab while the page is open.

Analytics events, when you have allowed analytics cookies, use coarse size buckets and action names. They do not include the JSON text, output text, property names, URLs from your JSON, or error excerpts.

Do not enter production secrets into any web page unless you are allowed to handle them there. This tool avoids uploads, but your browser, extensions, and device policies still matter.

Best fit
A quick check before you paste JSON somewhere else.

Good for

Check an API response before sharing a bug report.

Minify JSON for a config file or a small test fixture.

Find the line and column behind a parse error.

Not for

It will not repair broken JSON by guessing your intent.

It will not accept comments or trailing commas.

It will not create a share link with your JSON.

Frequently Asked Questions

Does the JSON formatter upload my data?

No. Formatting, minifying, and validation run in your browser. The tool does not send pasted JSON to Calculation Hub.

Can it fix invalid JSON automatically?

No. The tool reports the parse error so you can fix the source. It does not guess missing quotes, commas, or braces.

What indentation does the formatter use?

Choose two spaces, four spaces, or tabs. Minify removes whitespace outside strings. Formatting does not round large numbers, reorder keys, remove duplicate properties, or change numeric notation.

Will the page save my JSON in the URL?

No. The input is not written to query parameters, local storage, or a share link.

What happens with large JSON files?

Input is capped at 1,000,000 characters and 200 nesting levels; formatted output at five million characters. The preview shows up to 20,000 characters. Copy and download include the full result, while oversize input produces a visible error.