这个是最好用的,还开源,主题多。不知道为什么搜索排名靠后,在 edge 也是。 内置主题虽多,但都差点意思,一个主题就那四五种颜色,要是能全部自定义就更好了。
JSON Formatter
- 40K+ users
- 4.4144 ratings
- #296in Developer Tools
Formats JSON automatically! Open Source, Available with 60+ Themes, Syntax Highlighting, automatically linkifies links and more.
by Arnav Kumar · 1 listing
- Users
- 40K+
- #296 of 31,192 in category
- Rating
- 4.41
- 44 ratings · median 4.63
- Version
- v2.2.0
- 213 KiB · Manifest V3
- Access
- Medium54/100
- 2 permissions + every website
Description
As written by the publisher on the storeJSON Formatter automatically formats and prettifies JSON in Chrome. It comes with support for syntax highlighting and over 60 themes. It also makes links clickable automatically and has multiple modes to view JSON, including Parsed Mode, Formatted Raw Mode, and Raw Mode.
You can toggle between modes using shortcut keys
Parsed Mode: P key
Formatted Raw Mode: Shift + R key
Raw Mode: R key
Collapse All: [ Key
Expand All: ] Key
Toggle Dark Mode: D key
Toggle Toolbar: T key
- Features:
- Over 60 themes for both light and dark mode
- Syntax highlighting
- Works offline
- No tracking or analytics
- Word wrapping and sorting order to stay organized
- Works with any JSON webpage
- Supports excluding domains from formatting
- Makes links clickable
- Formats JSON automatically
- Raw, Formatted Raw, and Parsed Mode
- Remembers theme preferences
- Shortcut keys for ease of use
- Collapsible toolbar
Note: By default, the extension theme is "System Default." It will change according to your browser's theme. If you want it to be the theme of your choice, you have to set it from the "Extension Settings" or "Extension Options."
To change the default formatting option and other settings, set your desired option in the extension settings.
To make JSON Formatter work properly on all kinds of sites, in the extension permissions, change "Allow this extension to read and change all your data on websites you visit" from "On Click" to "On all sites," if not already set.
To use JSON Formatter in local files, enable "Allow access to file URLs" in the extension settings.
To use JSON Formatter in Incognito mode, enable "Allow in Incognito" in the extension settings.
- Some URLs to test on:
- https://api.github.com/users
- https://microsoftedge.github.io/Demos/json-dummy-data/64KB.json
- https://raw.githubusercontent.com/mxstbr/markdown-test-file/refs/heads/master/TEST.md
- https://raw.githubusercontent.com/mdn/learning-area/refs/heads/main/javascript/introduction-to-js-1/assessment-finished/main.js
Source code:
https://github.com/arnav-kr/json-formatter/
Bug reports and suggestions:
https://github.com/arnav-kr/json-formatter/issues
Changelog:
https://github.com/arnav-kr/json-formatter/blob/main/CHANGELOG.md
Ratings and reviews
Split of the 31 written reviews we hold31 written reviews we hold
Best JSON formatter extension among the ones I've used. My eyes won't hurt anymore trying to figure out which bracket ends where when testing APIs directly on browser lol
Please remove data collecting or add consent for it https://api.jformatter.com/chromeext/analytics/ingest/s
Hello, I think some of the Json formats were misinterpreted when using 'Parsed'. What are you doing using the keyword 'tsource' or 'Domain' format? For example, "https://www.example.com?tag=bbb&tsource=www.aaa.com&token=aaa" It needs to be parsed like this "www.aaa.com&token=aaa" target="_blank">https://www.example.com?tag=bbb&tsource=www.aaa.com&token=aaa" It's parsed like this. In 'Formatted Raw' or 'Raw', it is…
There is no option to collapse and expand all. By default all of them are expanded which is very annoying.
It formats JSON nicely; however, it takes over the right-click menu. It also cannot handle JSON values that are URLs in the "Parsed" view. For example, the value "https://www.example.com/" becomes "www.example.com" target="_blank">https://www.example.com/"
Track JSON Formatter on Radar
This page shows the listing as it is today. Add it to Radar and get one email when it changes.
- Users and rating
- Store text and screenshots
- Permissions it asks for

JSON Formatter, in plain words
What it is, what to use instead, what it can access and how to fix it.
JSON Formatter at a glance
JSON Formatter is a Developer Tools extension by Arnav Kumar with 40K users. Chrome Web Store users rate it 4.41 out of 5 from 44 ratings. By users it sits in the top 1% of Developer Tools extensions.
- By users
- #296of 31,192 in Developer Tools
- Rating
- 4.41category median 4.63
- Access
- Medium54 of 100
JSON Formatter alternatives
Closest by what they do · users as the store shows them · bars on a log scaleIs JSON Formatter safe?
JSON Formatter asks for 2 permissions and access to every website. One of them gives wide access.
Permissions show what it could do, not what it does. See the full permission list.
<all_urls>Read and change data on every website
Every permission JSON Formatter asks for
2 permissions + every website · 1 sensitive · Medium access overallSites
- Read and change data on every website
*://*/*
Browser permissions · 2
- Save its own settings
storage - Store large amounts of its own data
unlimitedStorage
Sensitive marks access that reaches your data or other sites. The access level is a 0 to 100 score of all of it: under 25 is Low, 60 and up is High.
JSON Formatter not working?
What recent reviews say
Store reviews from the last 90 daysNo new reviews were posted in the last 90 days, so there are no fresh complaint signals.
Common fixes
Try them in this order- 1Update Chrome and the extension
- 2Turn it off and on in chrome://extensions
- 3Reload the page
- 4Turn other extensions off in case two clash
Still stuck? Contact the maker or try an alternative.
Know when a listing changes
Track any extension on Radar: users, rating, permissions and store text, with one email when something moves.