Encode and decode Base64, base64url and MIME with UTF-8-safe text for Arabic and emoji
JSON Formatter & Validator
Format, minify or sort JSON with precise error line and column, duplicate key detection, exact large numbers, and optional comments and trailing commas.
Workspace
Result
How the result is calculated
The tool parses JSON with a parser written to RFC 8259 (not JSON.parse): it reports the line and column of the error, keeps numbers exactly as written so values above 2^53 lose no precision, detects duplicate keys (which JSON.parse hides), and keeps key order unless sorting is requested. Comments and trailing commas (JSONC) can be allowed.
FAQ
Why does the error differ from my browser?
We compute line and column ourselves; engines word and position errors differently.
Are large numbers lost?
No, they are preserved exactly as written and flagged.


