KeenKit JSON Viewer

How to pretty-print a JSON response in Chrome

Open the request’s Preview tab in Chrome DevTools to read its JSON as a tree. If you already have the JSON text, paste it into the in-tab JSON formatter and select Format.

Read JSON in DevTools without an extension

  1. Open Chrome DevTools and select Network. Reload the page or repeat the action that requests the data.
  2. Select the request in the list and open Preview. Expand objects and arrays to find the data you need.
  3. If the preview is empty or shows plain text, check Response for the body. If it contains JSON, copy it into the formatter and select Format or Validate. The input stays in that tab.

Chrome DevTools response previews

Open a JSON URL in a searchable tree

KeenKit JSON Viewer is available from the Chrome Web Store, Microsoft Edge Add-ons, and Firefox Add-ons. Add to Chrome Get it for Edge Get it for Firefox

  1. With KeenKit JSON Viewer installed, open or reload the URL that serves the JSON directly in a Chrome tab.
  2. Expand the tree or search for a key or value. Select a row to copy a value or its path. Switch to the raw view when you need the original text.

The extension checks top-level HTTP and HTTPS pages for JSON and eligible plain text. Very large responses can open as raw text. For a request made in the background by a web app, use the Network panel steps above. The source code is public under the MIT license: github.com/keenkit/json-viewer. Site access and data handling