Mozzarella

Home

JSON Formatter

JSON Formatter automatically formats and prettifies JSON in Firefox. 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.

Note: This extension requires additional configuration to work.
As Firefox already has an inbuilt JSON Formatter, you need to disable it for this extension to work.
to do so, go open "about:config", search "devtools.jsonview.enabled", make it "false" to disable the default JSON Formatter and you are ready to go. For more info Check out Disabling JSON Viewer in Firefox


You can toggle between modes using shortcut keys:

Parsed Mode: P key
Formatted Raw Mode: Shift + R key
Raw Mode: R key
Toggle Dark Mode: D key
Toggle Toolbar: T key

Features:


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=dc-tokens
https://anapioficeandfire.com/api/houses/1

Created By:
Arnav Kumar,
GitHub: @arnav-kr
Twitter: @arnavkr_

Source code:
github.com/arnav-kr/json-formatter/tree/firefox

Bug reports and suggestions:
github.com/arnav-kr/json-formatter/issues

Changelog:
github.com/arnav-kr/json-formatter/blob/main/CHANGELOG.md

Install
Selecting Themes Themes Preview Clickable Links Different Formatting Modes Light Mode