Free tools, Developers
JSON formatter
Paste JSON to pretty-print it, minify it or find the exact spot where it breaks.
Questions
Why is my JSON invalid?
The most common causes are a trailing comma after the last item, single quotes instead of double quotes, keys without quotes, and comments. JSON allows none of them. The error message shows the line and column where parsing stopped.
Is my data sent anywhere?
No. Formatting and validation use your browser’s built-in JSON parser. API keys, tokens and customer data in your JSON stay on your device.
What does "Sort keys" do?
It orders the keys of every object alphabetically, which makes two JSON documents much easier to compare.
More developers tools
- Base64 encoderEncode and decode Base64 text, or turn a file into a data URI.
- URL encoderEncode and decode URL components and break a URL into parts.
- JWT decoderRead the header and payload of a JSON Web Token and its expiry.
- Regex testerTest regular expressions with live highlighting and groups.
- Cron expression helperExplains a cron schedule in plain English and shows the next runs.
- Hash generatorMD5, SHA-1, SHA-256 and SHA-512 of text or files.