JSON Formatter

Format & validate

Use this tool

Format & validate

How to use this tool

Paste a JSON document and select Format. The browser parses it and prints valid JSON using two spaces per indentation level.

Worked example

The input {"count":2,"active":true} is expanded into an indented object. JSON property names and string values require double quotes.

What to keep in mind

Comments and trailing commas are not valid JSON. Parsing can round numbers beyond JavaScript’s safe precision and collapses duplicate object keys.

tools4freeonline.com google.com, pub-5366955859957266, DIRECT, f08c47fec0942fa0google.com, pub-5366955859957266, DIRECT, f08c47fec0942fa0