🧰 Liwei Tools

Tame your JSON

Paste messy JSON — get it pretty-printed, minified or validated.

Quick answer: Paste JSON above and hit Format for readable 2-space output, Minify to strip whitespace, or just check validity — errors show the exact position. Common failures: trailing commas, single quotes, unquoted keys. Everything runs locally.

Format, minify, validate

JSON powers nearly every web API. This tool pretty-prints messy JSON, minifies it for transfer, and validates syntax with precise error locations.

FAQ

What is JSON?

JavaScript Object Notation — the standard text format for APIs and config files: keys and values in curly braces.

Why won't my JSON parse?

Usual suspects: trailing commas, single quotes instead of double, unquoted keys, or comments. The validator above points at the exact spot.

Format or minify — which one?

Format (pretty-print) for humans reading and debugging; minify for sending over the network.

Is my data uploaded anywhere?

No. Everything runs locally in your browser.