JSON Formatter
Paste JSON to pretty-print, minify, or validate it. Errors point to the exact position in your input.
Mode
Indent
How to pretty-print and validate JSON with MakeMyTxt
Paste any JSON payload to pretty-print or minify it, with inline error positions when the input is malformed.
Open the JSON Formatter
Paste your JSON
Choose pretty-print or minify
Copy, download, or fix errors
Frequently asked questions
- Does the formatter send my JSON anywhere?
- Why do I get a "position N" error?
- Can it handle JSON with comments or trailing commas?
- How big of a JSON file can I format?