JSON Formatter & Validator
Beautify, minify and validate JSON with clear error messages.
About the JSON Formatter & Validator
Paste raw JSON to pretty-print it with your choice of indentation, minify it to the smallest valid form, or validate it โ errors report the exact position so you can find the stray comma fast. The tool also shows the size before and after.
Frequently asked questions
Why does my JSON fail to validate?
The usual culprits are trailing commas, single quotes instead of double quotes, and unquoted keys โ all valid JavaScript but invalid JSON.
Related tools
All Developer โBase64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, with full Unicode support.
JWT Decoder
Decode a JSON Web Token and read its header, payload and expiry.
Cron Expression Generator
Translate a cron schedule into plain English and see its next run times.
Color Converter & Picker
Convert colours between HEX, RGB, HSL and HSV and build tints, shades and palettes.
.htaccess Redirect Generator
Build redirect, HTTPS, www and caching rules for Apache.
Markdown Preview
Write Markdown and see the rendered result and HTML side by side.