Everything below is answered in full, nothing to click open.
How do I prettify JSON?
Paste it into the input box and press Format. The indented version appears in the output panel, ready to copy.
Is the JSON prettifier free?
Yes. No signup, no length cap and no run limit, because the formatting happens on your own device.
Is my JSON uploaded anywhere?
No. Parsing and formatting both run in your browser. Nothing is transmitted, stored or logged.
Is it safe to paste JSON with API keys or customer data?
The text never leaves your browser, so nothing is exposed to us. Normal care about your own screen and clipboard still applies.
How many spaces does it indent with?
Two spaces per nesting level, fixed. There is no setting to change it to four spaces or tabs.
Can I choose tabs instead of spaces?
No. The output is always two spaces per level. If you need tabs, reformat in your editor after pasting the result in.
Does it change any of my data?
No. Only whitespace changes. Every key, value and array item comes back exactly as it went in.
Why does it say Invalid JSON?
The text does not parse as JSON. The usual causes are a trailing comma, single quotes, unquoted keys, or a comment, none of which JSON allows.
Does it tell me which line the error is on?
No. It reports that the input is invalid without a line or column number, so you will need to scan for the cause yourself.
Does it fix broken JSON?
No. It parses or it rejects. There is no repair step, so malformed input has to be corrected before formatting.
Does it accept JSON5 or JSONC with comments?
No. Standard JSON allows neither comments nor trailing commas, so both need removing first.
Does it sort keys alphabetically?
No. Keys keep the order they arrived in. Formatting only adds whitespace, it does not reorganise anything.
Is there a size limit on the input?
No cap is imposed. The practical ceiling is your own device's memory, since the work happens in the browser tab.
Does it work on phones?
Yes. The layout adapts to narrow screens, and the formatting runs the same way.
What is the difference between this and the JSON minifier?
This adds indentation and line breaks so JSON is readable. The minifier strips whitespace to make it smaller. They are opposites on the same data.
Can I format an array instead of an object?
Yes. Any valid JSON value formats, including a bare array, a string or a number.
Does formatted JSON mean the data is correct?
No. It only means the syntax parses. A wrong value, a missing field or a number stored as a string will format perfectly.
Does it validate against a schema?
No. It has no concept of a schema and cannot tell you whether the values themselves are right.
Can I upload a .json file?
No. This is a paste field, so open the file, copy the contents, and paste them in.
Does it show a collapsible tree view?
No. The output is plain indented text. There is no folding, no colour coding and no tree.
Can the output be used directly in code?
Yes. Indented JSON is exactly as valid as minified JSON to any parser. The whitespace has no effect on how it is read.
Is there an API or batch mode?
Not at the moment. This is a single-paste tool in the browser.