MewTools

DeveloperTool 01

JSON Formatter

Make a wall of JSON readable, or squeeze it down for a request body. A broken document is reported with the line and column to fix.

Runs locallyNo uploadJSON documentFree, no account

Format JSON

16 / 232

Result

Waiting

Run the tool and the result appears here. Copy it or download it — nothing leaves this tab.

Privacy

Local by design

Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.

How to use it

01

Paste the JSON you want to tidy into the editor.

02

Press Format JSON to indent it with two spaces, or switch the operation to minify.

03

Copy the result. Parse errors name the line and column so you can jump straight to the problem.

When to use it

API debugging

Read a compact response body without installing a client.

Config files

Normalise a hand-edited JSON config before committing it.

Request bodies

Minify a payload to keep a cURL example short.

Questions

Does formatting change my data?

No. Only whitespace changes; keys and values are preserved exactly.

Can it fix trailing commas?

No. It reports the error instead. Trailing commas are invalid JSON, even though JavaScript allows them.

Is there a size limit?

Only your device memory. Very large files may make the tab sluggish.

What does json pretty print actually change?

Only whitespace. Indentation and line breaks are added so the structure is readable; key order, numbers and string values are untouched. Minify does the reverse and removes the whitespace again.

Can I format json online without sending it to a server?

Yes. The document is parsed and re-serialised inside this tab, so it does not travel to a server. Configuration files often carry credentials, which is exactly why the parser stays on the page.

↑↓ to move↵ to openEsc to close