Text & code · runs locally

JSON formatter & validator

Paste messy JSON, get it neat — with a precise error message and line number when it's broken.

Runs on your device No uploads, ever Free, no account
  1. 1
    Paste your JSON

    Or a piece of it — the tool tells you where the syntax breaks, line included.

  2. 2
    Format or minify

    Two spaces, four spaces or tabs for readability; one line for feeding to something else.

  3. 3
    Copy or download

    Copy button for the clipboard, or take it as a .json file.


Questions people actually ask

What counts as invalid JSON?

Trailing commas, single quotes, unquoted keys, comments — the things that make JSON look like JavaScript but aren't. The error message points at the line and character.

Can it handle large files?

Very large — megabytes of JSON format in well under a second since it's a genuine parser, not a regex trick.


Feedback

Send a message

Messages, reviews and bug reports go to a private feedback log on this site. Nothing is published, and your files are never uploaded.

For a broken tool: the tool name, browser, and the steps that led to it are the most useful things. Do not paste passwords, keys or a sensitive file.

Files are never uploaded. Only this message is stored.

PDF

Tool preview

A short description of the tool.

Runs entirely in your browser. The file never leaves this device.

Open tool