KeenKit JSON Viewer

How to search in a JSON file

If you have a JSON file, open it in a text editor and use Find. If you have a JSON response open in a browser tab, a tree search can show the parent object and array position for each match.

Search the source of a local file

  1. Open the file in a text editor. Press Ctrl+F or Command+F and search for a field such as "status". The quotes help distinguish a complete field name or string from a longer word.
  2. Look just after the match. A colon marks a key. A comma, a closing brace or a closing bracket can follow a value. Searching for the quoted text alone may find both.
  3. For a minified document, use the editor’s JSON formatting if available, or paste valid JSON into the local KeenKit formatter and choose Format for an indented view.

For a background API call in Chrome, use the search control in the Network panel to search captured headers and response bodies. Chrome’s Network search instructions

Search keys and values in a response tab

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

Open the JSON response directly in a tab with KeenKit JSON Viewer installed. Type status without quotes into Search keys and values. Use Next match or press Enter to visit each match. The tree opens the matching branch so you can see which record contains it.

The search is case-insensitive and matches parts of keys and scalar values. It shows up to the first 1,000 matches and skips long keys and values. If you’re looking for text inside a very long string, try searching the original response text. KeenKit receives no JSON or search terms.

The source code is public under the MIT license: github.com/keenkit/json-viewer. JSON Viewer privacy policy