How To
How to use the JSON Formatter extension for Chrome in 4 steps

- June 21, 2022
- Updated: July 2, 2025 at 3:38 AM

The JSON Formatter extension helps developers debug Javascript code more efficiently while making text strings more readable. JSON files consist of English language-based text strings without line breaks. Programmers use the JSON Formatter to present their code in a way that makes their computer language easier to understand.
To access and use the JSON Formatter extension for Chrome, follow these four easy steps.
Install the JSON Formatter Chrome extension
Start by accessing the JSON Formatter extension. You’ll need to be on the Chrome browser to install this extension.
Confirm the JSON extension is valid
Once you’ve enabled the JSON Formatter Chrome extension, use the interactive JSON Schema validator to view your source code and ensure that the JSON document you want to format is valid. JSON documents contain text, curly braces, square brackets, double quotes, commas, and potentially single quotes, depending on developer preference. Objects housed within curly braces represent multiple pairs and values.
Verify the JSON text is readable online
Access the Enterprise Explorer view within your Javascript development environment. This custom view displays all your current projects with Java EE extensions. Right-click on your .json file or any other text string that contains valid JSON code and choose Open With > JSON Editor. This compresses your JSON strings, displaying them on a single line while removing the white space between JSON elements.
Test the JSON Formatter application
Once you’ve verified the source code is valid and properly formatted, insert the document into the visible text and the web page, and select the Format JSON button. The app will display the text in the desired format, making it easier to read. You can opt to reverse your changes and send the code back to its original space-saving form by entering it in the text field and clicking the Un-Format JSON button.
The extension works with local files as well after your enable it in chrome://extensions. To inspect the JSON document, simply type in JSON into the console. If you want to view the formatting pane open the view dropdown and select Format current view. You’ll notice a simplified View formatting that separates List and Gallery formatting layouts for JSON. The shortcut Ctrl+Shift+I lets you format your JSON document from the context menu.
View our list of the 10 best Chrome extensions for boosting developer productivity.
You may also like
- News
Meta has a problem with its AI: it doesn't interest even its own workers
Read more
- News
Google will update the Google Ads API monthly starting in 2026
Read more
- News
Today everyone wants to play 'Silksong', but when 'Hollow Knight' was first announced, no one believed in its success
Read more
- News
It has a 78 on Metacritic, but don't be fooled: this video game will be considered a cult classic that you shouldn't miss in no time
Read more
- News
Even the creator of Devil May Cry cannot make the game of his dreams, he has confirmed in a recent interview
Read more
- News
The action series of Tomb Raider has a release date and confirms its lead actress
Read more