JSON Formatter CRX
Version 2.1.8 Beta
json-formatter.js.org

Formats JSON automatically! Open Source, Available with 60+ Themes, Syntax Highlighting, automatically linkifies links and more.

Latest Version

Version
Version 2.1.8 Beta
Update
December 8, 2024
Size
102KiB
Developer
json-formatter.js.org
Category
Users
40,000+
Rating
4.48485 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
UnlimitedStorage
See more

JSON Formatter Extension

JSON 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
● 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://type.fit/api/quotes
https://api.github.com/users
https://api.github.com/users/arnav-kr
https://api.github.com/repos/arnav-kr/arnav-kr/readme
https://api.npms.io/v2/search?q=soloalert
https://anapioficeandfire.com/api/houses/1

Created By:
Arnav Kumar,
GitHub: https://github.com/arnav-kr
Twitter: https://twitter.com/arnavkr_

Sponsor me:
https://github.com/sponsors/arnav-kr

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "JSON Formatter", "short_name": "JSON Formatter", "version": "2.1.8", "version_name": "Version 2.1.8 Beta", "manifest_version": 3, "description": "Formats JSON automatically! Open Source, Available with 60+ Themes, Syntax Highlighting, automatically linkifies links and more.", "author": "Arnav", "homepage_url": "https://github.com/arnav-kr/json-formatter", "minimum_chrome_version": "88", "offline_enabled": true, "options_ui": { "page": "options.html", "open_in_tab": false }, "action": { "default_icon": { "16": "images/icons/icon_round_16.png", "32": "images/icons/icon_round_32.png", "48": "images/icons/icon_round_48.png", "64": "images/icons/icon_round_64.png", "72": "images/icons/icon_round_72.png", "128": "images/icons/icon_round_128.png", "256": "images/icons/icon_round_256.png", "384": "images/icons/icon_round_384.png", "512": "images/icons/icon_round_512.png", "1024": "images/icons/icon_round_1024.png" }, "default_title": "JSON Formatter - Edit Preferences", "default_popup": "options.html" }, "icons": { "16": "images/icons/icon_round_16.png", "32": "images/icons/icon_round_32.png", "48": "images/icons/icon_round_48.png", "64": "images/icons/icon_round_64.png", "72": "images/icons/icon_round_72.png", "128": "images/icons/icon_round_128.png", "256": "images/icons/icon_round_256.png", "384": "images/icons/icon_round_384.png", "512": "images/icons/icon_round_512.png", "1024": "images/icons/icon_round_1024.png" }, "content_scripts": [ { "matches": [ "" ], "js": [ "js/globals.js", "js/utils.js", "js/content.js" ], "css": [ "css/content.css" ], "run_at": "document_start", "all_frames": true, "match_origin_as_fallback": true } ], "host_permissions": [ "*://*/*", "" ], "permissions": [ "storage", "unlimitedStorage" ], "web_accessible_resources": [ { "resources": [ "images/*", "js/*", "css/*", "*.html" ], "matches": [ "" ] } ]}
Read more