Format JSON without leaving your browser
Read API responses, inspect nested objects, and turn compact JSON into readable data.
How to use this formatter
- Paste your JSON or upload a file in the input panel.
- Choose indentation and print width, then select Format. Auto-format is also available.
- Review the output with line numbers and expandable code sections. Copy or download the result.
Use Tree or Graph after formatting to explore nested objects. Repair can help with malformed JSON; review any repairs before using the result.
What to check
JSON requires double-quoted keys and strings. Comments and trailing commas belong in JSON5, not strict JSON.
Syntax checks help find parsing errors. They do not replace application tests, a compiler, or a security review.
JSON example to try
The editor starts with a sample like this when there is no matching saved draft. Use Sample in the workspace to reset it.
{
"project": "Tidyzo",
"description": "A little clarity for your code.",
"version": "1.0.0",
"private": true,
"workspace": {
"theme": "light",
"autoFormat": true,
"indentation": 2
},
"languages": [
"JSON",
"JavaScript",
"TypeScript"
],
"features": [
{
"name": "Format & validate",
"enabled": true
},
{
"name": "Explore your data",
"enabled": true
}
],
"message": "Make something beautiful."
}Common questions
Is Tidyzo free?
Yes. The formatter is free to use without creating an account.
Where does my code go?
Pasted and uploaded documents are processed in your browser. Optional remembered drafts and history stay in browser storage. Importing a URL contacts that URL directly. Share links contain the document in the URL fragment, so anyone with the link can read it. See the privacy information.
Can I use this without JavaScript?
You can read the guides and examples without JavaScript. The interactive editor and local formatting engine require JavaScript.
How large can my document be?
The workspace accepts documents up to 5 MB. Complex documents can take longer, and operations that exceed the time limit are stopped to keep the workspace responsive.