JSONView
JSONView is a Firefox extension that helps you view JSON documents in the browser.
Normally when encountering a JSON document (content type "application/json"), Firefox simply prompts you to download the view. With the JSONView extension, JSON documents are shown in the browser similar to how XML documents are shown. The document is formatted, highlighted, and arrays and objects can be collapsed. Even if the JSON document contains errors, JSONView will still show the raw text.
Once you've got JSONView installed, check out this example JSON file to see the extension in action!
CouchDB users and others who need to have "application/json" sent in the HTTP Accept header to serve JSON properly should set that option in JSONView's options panel. Be aware that telling sites that you accept JSON can mess up some sites that don't expect it.
If you'd like to contribute to JSONView but don't want to code, consider contributing a translation. Just go to BabelZilla and register as a translator for the JSONView extension. There's not much there to translate!
Reporting Issues
Use the GitHub Issue tracker for JSONView to file issues. Pull requests are especially welcome.
Building JSONView
- Install ant
- Run
antto produce an XPI
Developing JSONView
- Set up your Firefox addon development environment
- Open your Firefox profile folder
- Open 'extensions' subfolder
- Create a file called
jsonview@brh.numbera.comand put the path to your checked out JSONView'ssrcfolder into it. - Run Firefox. You can now restart Firefox to pick up changes to JSONView in source.
Unofficial Ports
Common Issues
- JSONView isn't displaying my file as JSON: You are probably not serving the JSON with the "application/json" MIME type.
- JSONView is mangling large numbers: Here's the explanation.
JSONView is open source software under the MIT licence.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
