Skip to content
Curiosity Diaries

JSON Formatter & Validator

Beautify, minify and validate JSON.

  • 100% free
  • No sign-up
  • Runs in your browser

Readable JSON in one paste

Paste a squashed API response and get it indented and readable, or minify JSON to save bytes. Invalid JSON gets a clear error message.

Sorting keys alphabetically makes two JSON documents much easier to compare.

  1. 1

    Paste JSON

    From an API, log or file.

  2. 2

    Pick a style

    Indent, tabs or minify.

  3. 3

    Copy or download

    As formatted .json.

Frequently asked questions

Why is my JSON invalid?

The usual suspects are trailing commas, single quotes instead of double, and unquoted keys — all fine in JavaScript but not in JSON.

Is it safe for API keys or tokens?

Yes. Nothing leaves your browser, but avoid pasting secrets into any website you don't trust.

Is my data uploaded anywhere?

No. Everything runs in your browser with JavaScript — nothing you type or open is sent to our servers.

More free tools

All free tools