JSON Formatter

Enter your JSON in the below text area. It will format your JSON in the lower textarea.

If you are not able to format the JSON you pasted, check our FAQs.


How to format JSON?

1. Choose between spaces or tab for indentation

First you select the type of indentation you want to give to the formatted JSON. This means that you have to select if you want to use spaces or tabs for indentation.

2. Choose the amount of space used per indentation level

Once you selected to use spaces or tabs, you have to decide how many spaces or tabs you will want to use for your output. Usually, people use 4 spaces or 1 tab per indentation level.

3. Paste the JSON in the textarea

Paste the JSON you want to format in the textarea.

4. Click on "Format JSON" button

Finally, you have to click on the "Format JSON" button... and that's it! You already have the JSON formatted. The resulting JSON will be outputed below the Formatted JSON label.

FAQs for JSON Formatter

What is JSON?

JSON (JavaScript Object Notation) is a ligthweight file format used for transfering data between clients and servers, or between servers. JSON gained popularity and becomed used extensively because of websites started usign AJAX (Asynchronous JavaScript And XML).

What is JSON Formatter?

JSON Formatter is a free web tool that helps you format and beautify JSON. It's easy, quickly and no need to install any software. It supports different type of indentations: from 1 to 4 spaces and from 1 to 4 tabs.

Which browsers are supported?

All mayor web browsers are supported, including Internet Explorer, Microsoft Edge, Firefox, Chrome, Safari and Opera.

Which devices does JSON Formatter work on?

JSON Formatter works in any device that supports any of the browsers mentioned before. It can be a smartphone, desktop computer, notebook, tablet, etc.

Does JSON Formatter save any of the data I format?

We don't save any of the data that you insert. All the process is done in your computer without sending data to our servers.

Is JSON Formatter secure?

JSON Formatter is 100% secure. We use HTTPS for better performance and for security.