Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
Log in
Preview of Brace Lens

Brace Lens by Matheus Mello

Turns raw JSON and JSON Lines into a fast, searchable tree. Copy exact paths. Free, private and entirely on your device.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Raw JSON as a calm, collapsible treeFilter keys and values, jump between matches50 MB files stay responsivePaste, drop or open JSON and JSON LinesInvalid JSON points to the exact character
About this extension
Raw JSON, made readable.

Open a supported raw JSON response and Brace Lens shows it as a calm, collapsible tree instead of a wall of text. Everything happens in your browser. Documents are never uploaded, tracked or saved by the extension; only two preferences are stored.

Automatic viewing requires a displayed raw document and the browser's site-access permission. Browser internal pages and add-on stores cannot be changed. Chrome and Edge require the extension's “Allow access to file URLs” switch for local file pages. Firefox has no equivalent switch. Its protected native viewer for local JSON files is outside the HTTP(S) header hook. Open those files in the paste workspace. Chrome and Edge also download some JSON Lines responses instead of displaying them; open those files in the paste workspace. For HTTP(S) JSON, Firefox works with its default JSON viewer enabled: Brace Lens adjusts only the Content-Type of eligible top-level navigation responses so its detector can run. No browser preference is changed. Switching automatic viewing off leaves headers untouched on subsequent navigations; if reading that preference fails, the Firefox hook also makes no header changes. A successful read with no saved preference defaults to on.

For undeclared plain text, automatic viewing requires an opening object or array ({ or [). Detection checks up to 256 characters in each of the first four text nodes; responses with longer leading whitespace can be opened in the paste workspace. Scalar JSON values work on declared JSON pages and in the paste workspace.

Explore
• Collapse and expand any object or array, or everything at once, with indent guides that keep deep structures readable.
• Strings, numbers, booleans and null each have their own colour. Folded rows preview their first few values.
• Web addresses inside strings become links. Only http and https addresses, and only when you click them.
• Switch to Raw to see the original text exactly as it arrived.

Find
• Type to filter keys and values. Matches are highlighted and shown with their parent objects.
• Press Enter and Shift+Enter, or use the arrows, to move between matches. Escape clears the filter and keeps your place.

Copy
• Copy the JSONPath of any value (for example $.items[3].id) or the value itself, with a click or from the keyboard.
• Large integers and very precise decimals are shown and copied exactly as written, never rounded.

Large, deep and unusual input
• Large file mode keeps 50 MB documents and millions of values responsive with a virtual tree, and shows the size and node count.
• Deeply nested documents open without crashing (tested at 100,000 levels).
• JSON Lines (NDJSON) is read record by record.
• Invalid JSON shows the line, column and the exact character where parsing stopped.
• Hidden control and text-direction characters in tree keys and string previews are shown as visible escapes. Raw view and copied text preserve the original characters.

Work your way
• Paste workspace: paste, drop or open a JSON or JSON Lines file, such as a download, and explore it with the same tree.
• Light, dark or system theme.
• Full keyboard support: arrow keys, Home and End, Space to fold, Enter to copy a path, / to filter.
• Inspect the parsed value in DevTools as braceLens. This console value uses native JavaScript numbers, so large integers and very precise decimals can round there; the tree and its copy actions keep their exact digits.

Private by design
• No account, analytics, ads, affiliate links or remote code.
• The extension makes zero network requests.
• Documents are never saved. Only your theme and the automatic-viewing switch are stored, on this device.
• Ordinary web pages are never changed. Plain text that only looks like JSON is left as it is.

Free, with every feature included.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access your data for all websites

Optional permissions:

  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.0.0
Size
68.48 KB
Last updated
11 days ago (Nov 8, 2026)
Related Categories
  • Web Development
License
MIT License
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Tags
  • dark mode
  • download
  • search
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.