Free calculators, PDF, photo and audio tools.
Or pick a job
New tools, new guides and money tips by email. No spam, and you can leave any time.
Free. We never share your email.
Developer Tools
JSON Formatter & Validator
Format, validate and minify JSON, spot syntax errors and turn messy JSON into readable, indented text or a compact single line.
The JSON Formatter & Validator checks whether your JSON is valid as you type. If there's a mistake it shows the line, the column and a plain-English reason; if it's valid it formats it with 2 spaces, 4 spaces or tabs, or minifies it to one line. It can also sort keys, count keys, objects and arrays, and show the data as a collapsible tree.
Keys and strings must use double quotes, not single quotes. No trailing comma is allowed after the last item in an object or array. Comments aren't allowed. The values true, false and null must be lowercase. Breaking any of these makes the whole document invalid, and the error box tells you which rule was broken and where.
Formatting adds line breaks and indentation, so nested data is easy to read and debug. Minifying strips unnecessary spaces to make the data as small as possible. The tree view lets you open and close nested objects, with strings, numbers, booleans and null shown in different colours.
JSON often contains API keys, tokens or personal data. This tool runs entirely in your browser, so nothing you paste is sent to a server.
Paste it to find the missing comma or bracket, with the line and position of the error.
Format it with indents to read the keys and values easily.
The most common causes are single quotes, a trailing comma, missing quotes around a key, or a comment. The error box shows the line and column and what went wrong.
Yes. Switch on "Sort keys A → Z" to sort every object's keys alphabetically, at every level.
No. Only whitespace changes; keys, values and order stay the same unless you choose to sort keys.
Paste your JSON into the box. If it is valid, the Formatted JSON box shows it indented with 2 spaces by default. Pick 4 spaces or Tabs under Output style if you prefer, then use the Copy or Download button above the result.
Choose Minify under Output style. The tool removes all line breaks and extra spaces, and the size stats show the input and output sizes so you can see how many bytes you saved. Minifying does not change any keys or values.
The JSON standard only allows double quotes around keys and text values. Something like {'name': 'Ravi'} is valid in JavaScript or Python but not in JSON, and the tool will report "Keys need double quotes, not single quotes" with the line and column.
No. Standard JSON has no comments, so a line starting with // or a slash-star block comment makes it invalid. Remove the comments before validating. Some config files use JSONC or JSON5, which allow comments, but those are separate formats.
Keys is the total number of keys across every object, Objects and Arrays count each { } and [ ] block, and Max depth is how many levels deep the nesting goes. They help you check the size and shape of an API response at a glance.
Open the Tree view below the result. Objects show how many keys they have and arrays how many items, and you can expand or collapse each level. Very large data is trimmed to the first 600 items in the tree, but the formatted text is complete.
A JSON document must be one value, such as a single object or array. This error usually appears when two objects are pasted one after another or there is a stray bracket at the end. Wrap multiple objects in [ ] with commas between them.
The JSON is checked and formatted by JavaScript in your browser, so it is not sent to a server by this tool. Even so, it is good practice to remove passwords, tokens and personal data before pasting into any online tool.
Free calculators, PDF, photo and audio tools.
New tools, new guides and money tips by email. No spam, and you can leave any time.
Free. We never share your email.
Every tool on Quick Work Studio, free and in your browser. Prefer reading first? See the guides or full directory.
Format, validate and minify JSON, spot syntax errors and turn messy JSON into readable, indented text or a compact single line.
Save favourites across visits.
Update the password for your account.
This permanently deletes your account, your saved favourites, your synced notes and tasks, and any feedback linked to it. It can't be undone. Every tool keeps working without an account.
Found a bug or want a new tool? Tell us. We read every message.
Prefer email? contact@quickworkstudio.com
Your feedback is on its way to us.
Open all 182 tools from your home screen, full screen, like an app.
Free, no app store, under 1 MB. Remove it any time like any other app.
It opens straight into this tool, full screen, like an app.
A few taps, under 30 seconds.
What kind of tool?
How often would you use it?
Sign in to keep your favourites, saved results and settings on all your devices.
New here? Create a free account
Forgot your password? Reset it by email
Your saved results (0)Every tool works without signing in. An account keeps your favourites, saved results, settings and Selnah chats on all your devices.
Open any saved answer again, or share it.
Takes 20 seconds. No card, no spam.
Already have one? Sign in
Enter the email you signed up with. We'll send you a link to set a new password.
Remembered it? Sign in
Choose a new password for your account. You'll be signed in, and signed out on your other devices.
Link not working? Get a new one
Your favouritesSee all
Recently used
Settings
Tools keep working without an account, and you can sign up again any time.
Appearance
Tools
Your data
Help & info
Legal
Quick Work Studio · version 2.99