JSON Formatter & Validator
Beautify, minify, and validate JSON with exact error locations. Payloads stay in your browser, which matters when they contain tokens or customer data.
Invalid JSON
- Output size
- —
- Keys
- —
- Values
- —
- Max depth
- —
A validator that tells you where the problem is
"Unexpected token" is a useless error message on a 4,000-line payload. This tool translates the parser error into a line and column, prints the offending line with a caret under the exact character, and reports the structure it did manage to read: key count, value count, and nesting depth. Formatting and minifying reuse the same parse, so an invalid payload never silently produces plausible-looking output.
Frequently Asked Questions
Why does my JSON fail validation?
What does sorting keys do?
What is the difference between formatting and minifying?
Is my payload sent to a server?
Will very large numbers stay exact?
You might also like
Password Generator
CSPRNG-powered passwords, passphrases & PINs. Bulk generation, templates, strength meter, and zero server transmission.
UUID Generator
UUID v4 (random) and v7 (time-ordered) generator. Bulk generation, copy first or all, braces formatting.
Base64 Encoder & Decoder
Encode and decode Base64 with standard or URL-safe mode. Live conversion as you type.
Regex Tester
Live regex testing with match highlighting and capture groups. All JavaScript flags supported.
URL Encoder & Decoder
Percent-encoding with 3 modes, batch processing, URL parser, character analysis, and cheat sheet. All in-browser.
Hash Generator
MD5, SHA-256, SHA-512, SHA-3, RIPEMD-160, HMAC, checksum verification & encoding. 8 algorithms, 100% browser-based.