ToolVaults

JSON Formatter, Validator & Minifier

Format, validate, and minify JSON in your browser. See parse errors with line/column. Optional key sorting. Nothing is uploaded.

Runs 100% in your browser — nothing is uploaded.

79 bytes
Result
130 bytes(+65%)

Frequently asked

Is my JSON uploaded anywhere?

No. Formatting and validation happen entirely in your browser using the native JavaScript engine. Your data never leaves the device.

Why does the parser say "unexpected token"?

JSON is stricter than JavaScript: keys must be double-quoted strings, no trailing commas, no comments. The error message shows the exact line and column where parsing failed.

What is "sort keys" for?

It reorders object keys alphabetically at every nesting level. Handy for diffing two JSON blobs that have the same content but different key order.

Related tools