JSON Formatter & Validator

Beautify, minify, validate and sort JSON with precise error locations.

Runs in your browser: data never leaves your device. Free, no sign-up. Also known as: json beautifier, pretty print, validate json, minify json, lint.

How to use JSON Formatter & Validator

  1. Paste your input, open a file, or press Sample to see an example.
  2. Pick a mode or adjust the options; results update instantly.
  3. Use Copy or Download to take the result with you.

Frequently asked questions

What does the JSON Formatter & Validator do?
Beautify, minify, validate and sort JSON with precise error locations.
Is the JSON Formatter & Validator free?
Yes. It is completely free, with no sign-up, no watermark and no usage limits.
Is my data safe?
Yes. This tool runs entirely in your web browser. Your text and files are never uploaded to a server, stored or logged.
Does it work on mobile?
Yes. It works in any modern browser on Windows, macOS, Linux, Android and iOS, with nothing to install.
What other data & code tools are there?
Runeforge has 14 data & code tools in The Codex, plus 91 more tools across other categories.

More from The Codex