NoUpload

Format and validate JSON without uploading it

Paste any JSON below. It is parsed and re-indented as you type, with the parser’s own error message and position when the document is invalid — not a generic “invalid JSON”.

  • Files never leave your device
  • No account, no queue
  • Works offline
  • No upload step
Mode
Indent
Validates as you type
JSON input0 chars
Formatted0 chars
Runs in this tab. Nothing is uploaded.

How it works

  1. 1

    Paste the JSON

    Anything from a one-line API response to a multi-megabyte export. Nothing is sent to a server, so size is limited only by your tab’s memory.

  2. 2

    Pick format or minify

    Format re-indents with 2 or 4 spaces; Minify strips every optional byte. Both validate first, so you cannot accidentally save broken JSON.

  3. 3

    Copy or download

    The output pane is read-only, so what you copy is exactly what was validated.

Frequently asked questions

Why does my JSON fail with “Unexpected token”?

JSON is stricter than JavaScript object literals. Trailing commas, single quotes, unquoted keys, comments and NaN are all invalid. The message includes the character position, which usually points a few characters after the real mistake.

Does formatting change my data?

No, with one exception worth knowing: numbers larger than 2^53 cannot be represented exactly in JavaScript. A 19-digit ID will be rounded by the parser. The tool warns you when it spots one — keep such IDs as strings in the source.

How large a file can it handle?

Up to about 4 MB comfortably in the live editor. Beyond that the parse-and-render cycle gets noticeably janky; for very large exports a command-line tool like jq is more practical.

Can it fix invalid JSON automatically?

Not currently, and deliberately so: guessing which trailing comma you meant is how data gets silently corrupted. The error position is more useful than a guess.

Is my JSON uploaded?

No. Parsing and formatting happen in this tab with the browser’s own JSON parser. There is no request to any server — check the Network tab while you paste.

Other tools