JSON Formatter
Format, minify and check JSON. Free, no sign-up.
- Free
- No limits
- No sign-up
Why POW
Format, minify, check
Three buttons cover the usual jobs: make JSON easy to read, make it small, or just check it.
Errors you can find
A mistake is shown with its line and column and a marker under the exact character.
Free, no sign-up
No account, no daily cap and no paid plan behind the download button.
How to format JSON
- 1
Paste your JSON
Click the box that says Paste your JSON here and paste or type your text.
- 2
Choose the indent
Pick 2 spaces, 4 spaces or Tab. Turn on Sort keys A to Z if you want the keys in order.
- 3
Tap a button
Tap Format, Minify or Validate. Copy the Result, or tap Download to save pow-formatted.json or pow-minified.json.
Format and check JSON in one place
POW JSON Formatter turns a messy block of JSON into text you can read, or squeezes it down to a single line. Paste it in, tap a button and the Result appears under the box. It also checks that your JSON is valid, and when it is not, it tells you where the problem is. It is free, there is nothing to sign up for, and it runs on a phone as well as a computer.
Format, minify or validate
Format adds line breaks and indents so every level of the data is easy to follow. Minify does the opposite and removes every space and line break, which is handy for config files and web requests. Validate only checks the text and leaves it alone. Short inputs are checked as you type. For long ones, press the button.
Errors with a line and column
Many tools just say invalid JSON. POW JSON Formatter shows a plain message such as Trailing comma, the line and column where it happens, and the line itself with a marker under the exact character. It reports the first error it finds, so fix it and check again. Valid JSON gets a short summary with the number of values, the nesting depth and the size.
The standard, applied strictly
The formatter follows the JSON standard. That means no comments, no trailing commas, no single quotes, no NaN or Infinity and no numbers with leading zeros. If you copied something from JavaScript code, these are the usual reasons it fails. Each message says what to change. It does not repair broken JSON for you, and it does not read JSON5.
Your numbers stay exactly as written
The tool does not run your text through the browser's own JSON reader. It reads the structure itself and copies every number and string as you wrote it. A long ID such as 12345678901234567890123 comes out unchanged, and so do 1E+2 and escapes such as \u00e9. Only the spaces and line breaks between values change.
Big files are fine
The work runs in the background, so the page stays usable while a large document is processed. In our tests a 5 MB document formatted in about a second on a recent computer. To keep the page quick, the Result box shows only the first 500 KB of a very large result. Copy and Download always use the whole thing.
Questions
Is POW JSON Formatter free?
Yes. Formatting, minifying and checking are free, with no trial, no daily cap and no paid plan. You do not have to give an email address either.
Do I need an account?
No. Open the page, paste your JSON and tap a button. There is nothing to install or sign up for, and it works on phones, tablets and computers.
What is the difference between Format and Minify?
Format adds line breaks and indents so people can read the data. Minify removes all of that to make the text as short as possible. Both keep the data itself exactly the same.
How do I find the error in my JSON?
Tap Validate, or just type. The message names the problem and shows the line and column, plus the line of text with a marker under the exact character. Fix that one and check again, because only the first error is shown.
Why does my JSON say it is not valid?
The usual causes are a comma after the last item, single quotes instead of double quotes, comments, or a missing bracket. JSON is stricter than JavaScript, and the message tells you which rule was broken.
Can it fix broken JSON for me?
No. It points to the problem but does not change your text to repair it. It also does not support JSON5 or JSON with comments. Fix the line it names, then run it again.
Will it change my numbers?
No. Numbers and strings are copied exactly as written, so very long numbers, 1e400 and escape codes come out the same. Only the spaces and line breaks between values change.
Does Sort keys A to Z change my data?
It changes the order of the keys inside each object, and nothing else. Values stay with their keys. Duplicate keys are kept. Arrays are not sorted, so their items stay in the same order.
How big can the JSON be?
There is no set limit. A 5 MB document took about a second in our tests on a recent computer. The Result box shows only the first 500 KB of a huge result, but Copy and Download give you all of it.
What indent can I choose?
Two spaces, four spaces or a tab. Two spaces is common on the web. Pick whichever your project uses. You can change it and tap Format again at any time.
Is my JSON uploaded?
No. The work happens in your browser on your own device, and nothing is sent anywhere. Download saves the result straight to your device.
Can I check a Base64 value or a hash here?
Not on this page. To decode a Base64 string, use Base64 Encode and Decode. To get a checksum of some text or a file, use Hash Generator.