Skip to content
86% off$349 $48.86code BF2026

Best apps

Best JSON Viewer for Mac in 2026 (Free and Paid)

Compare Mac JSON viewers for broken JSON repair, big files, tree browsing, jq and Finder previews, including free options like jq and VS Code.

Best appsUpdated 12 min read

On this page

The best JSON viewer for Mac depends on how often you open JSON. If it's now and then, you don't need to buy anything: jq in Terminal pretty-prints and queries JSON, and the code editor you already use opens any .json file.

If JSON fills your day, OK JSON is the most JSON-focused Mac app here. Bytepliers suits you if you want each repair to broken JSON listed by line and column, plus 40 other developer tools (JWT, Base64, timestamps, SQL and more) in the same window.

Quick picks by need

  • jq or Visual Studio Code (free): best if you format JSON occasionally, work in Terminal scripts, or already have VS Code open all day.
  • OK JSON: best dedicated JSON app, with a navigator tree, an editor and AppleScript support.
  • Bytepliers: best if you want a list of every fix made to broken JSON, jq and JSONPath filters, JSON Patch and Finder previews, with 40 other developer tools in the same app.
  • DevToys: best free toolbox if you also work on Windows or Linux.
  • DevUtils: best for a broad Mac developer toolbox at a low one-time price, with code folding.

We make Bytepliers, so weigh our view accordingly. We've tried to be fair to every app here, including where Bytepliers falls short.

What should a Mac JSON viewer handle?

These are the jobs that separate a useful JSON viewer from a plain text editor. We compared each option against them.

  • Broken JSON. JSON copied from logs, config files or JavaScript often has comments, trailing commas or single quotes. A good viewer either repairs it and tells you what it changed, or points to the exact line and column of the error.
  • Big files. API dumps and exports can run to tens of megabytes. Check the stated limits, then open your largest real file during a trial.
  • Tree browsing. Collapsing levels, finding a key and copying the path to a value ($.items[3].id) saves a lot of scrolling.
  • Querying. jq or JSONPath pulls one field out of thousands of records.
  • Finder previews. A Quick Look extension shows formatted JSON when you press Space on a file, without opening an app.
  • Privacy. Tokens and customer data shouldn't go to a website you don't control. An offline app or a Terminal tool keeps the data on your Mac.
  • Price model. Free, one-time purchase, or one-time with paid updates later.

Our comparison uses each maker's published information as of November 2026, plus the documented limits of Bytepliers. Where we couldn't confirm a feature, the tables say "Not verified" instead of guessing.

Summary table

AppBest forPrice (as of November 2026)Free optionStandout limit
jqTerminal users, scriptsFreeFreeStops on broken JSON; text output only
Visual Studio CodeEditing JSON in an editor you already useFreeFreeA general editor, not a JSON toolkit
FirefoxLooking at what an API URL returnsFreeFreeA browser, not a JSON toolkit
DevToysFree toolbox on Mac, Windows and LinuxFree (MIT license)FreeNo jq filter or JSON Patch; no Services, Quick Look or Shortcuts integration
OK JSONWorking in JSON all day$24.99 (Mac App Store) or $29.49 direct for five Macs, one-time14-day trial (Mac App Store version)JSON only, no other developer tools
BytepliersRepairing, querying and previewing JSON, plus other dev tools$349 one-time for MacSuite (every MacSuite app, up to three Macs)7-day trialNo editing in the tree, no code folding, not sold alone
DevUtilsBroad Mac dev toolbox at a low price$29 (one Mac) or $39 (two Macs), one-time with one year of updates30-day refundNo jq filter, JSON Patch or Quick Look extension

The sections below start with the free options, because many readers can stop there. Then come the two JSON-heavy apps (OK JSON and Bytepliers), then the general toolboxes where JSON is one tool among many.

Free options: jq, VS Code and Firefox

jq in Terminal

jq is a command-line JSON processor. It's the fastest way to make a minified file readable or pull out one field, and it fits into shell scripts.

Check whether it's installed:

bash
jq --version

This prints the jq version. If you see "command not found" and you use Homebrew, install it with brew install jq.

Pretty-print a file:

bash
jq . data.json

This prints data.json with indentation. It doesn't change the file.

Format whatever JSON is on your clipboard:

bash
pbpaste | jq .

pbpaste sends the clipboard to jq, which prints the formatted result in Terminal.

Pull out one field from every item in an array:

bash
jq '.items[].name' data.json

This prints the name value of each element in the items array. Add -r to print the strings without quotes.

To replace the clipboard with the formatted version, pipe the result back to pbcopy. If jq can't parse the clipboard, this leaves your clipboard empty, because pbcopy receives no output. Copy the original JSON again if that happens.

bash
pbpaste | jq . | pbcopy

What jq can't do: it doesn't repair broken JSON. A trailing comma or single quotes stop it with a parse error. It has no tree view and no Finder preview.

Visual Studio Code

Visual Studio Code is Microsoft's free code editor. It runs on macOS (with Universal, Intel and Apple silicon downloads), Windows and Linux, and it supports extensions. New versions come out often: 1.146 was released on November 11, 2026.

If VS Code is already open all day, opening a .json file there is often enough, and you can edit the file directly. It is a general editor, though, not a set of JSON utilities, and recent releases focus heavily on AI agent features. We haven't verified which JSON features it has without extensions, so check an extension's own page before relying on it for repair, querying or big files.

Firefox

Firefox is free and runs natively on Apple silicon and Intel Macs. For a plain GET request that needs no auth headers, any browser lets you open an API URL and see what it returns without installing anything. Beyond that, Firefox is a browser, not a JSON toolkit.

If you paste JSON into a website formatter instead, whether your data stays on your Mac depends entirely on that site. Don't paste tokens, keys or customer data into a site you haven't checked.

OK JSON

OK JSON is a Mac app built only for JSON, and it covers the most JSON-specific ground of any app here.

Good at:

  • A navigator tree next to an editor.
  • Repair mode for broken JSON.
  • jq, JSONPath and JSON Patch.
  • A path bar where clicking or modifier-clicking copies a path, value or key, plus ⌘B to zoom into a node.
  • Quick Look of individual values, and a Quick Look extension for Finder.
  • History with folders.
  • JavaScript scripts from ⌘K.
  • AppleScript, URL schemes and Raycast support.
  • Opening JSONL/NDJSON and plist files, and loading JSON from a URL or cURL command.

Lacks: it's a JSON app, not a general toolbox. If you also decode JWTs, convert timestamps or format SQL, you'll need another tool for those.

Price (as of November 2026): $24.99 on the Mac App Store, with a 14-day trial, or $29.49 direct for five Macs. Both are one-time purchases with free updates.

Pick it if JSON is most of your work, you want a dedicated JSON editor next to a navigator tree, or you automate with AppleScript.

Bytepliers

Bytepliers is our developer utilities app: 122 tools in one native Mac window. The JSON Formatter is its first tool (⌘1), and a separate JSON Compare tool and a JSONPath tool sit alongside it.

JSON Formatter Tree view of an orders response filtered by a jq select on paid orders, with the path bar showing $ › (0) › total
The tree shows the filtered result; the path bar shows the selected row.

Good at:

  • Broken JSON, with a record of what changed. Lenient parsing is the default. It repairs:

    • comments and trailing commas
    • single quotes, smart quotes and unquoted keys
    • True/False/None, undefined, NaN and Infinity
    • documents wrapped in a string or backslash-escaped
    • raw control characters

    Bytepliers then shows Repaired N issues, with a popover listing each fix by line and column, and the output is strict JSON. Number literals and key order stay exactly as written. Switch the parsing menu to Strict (RFC 8259 only) when you need to know whether the original is valid. Errors show a red line tint and a badge such as "Ln 3:7".

  • Tree browsing. The Tree output shows Key, Value and Type columns, and the first two levels expand automatically. With the tree focused, ⌘F finds keys and values, ⌘B zooms into a node and ⌘Z zooms back out. The path bar copies paths in JSONPath, dot, JavaScript or jq notation. Press Space or ⌘Y on a leaf to preview it: an epoch number shows as a date, a Base64 image as a picture, and a JWT as its decoded header and payload.

  • Querying. A filter bar under the output runs jq (default) or JSONPath live. A Raw toggle prints strings without quotes, like jq -r, and you can save up to 30 filters.

  • NDJSON. Several documents on separate lines can be shown One per line or with Wrap as array.

  • Comparing documents. JSON Compare ignores key order, whitespace and number spelling. It outputs a change list, a JSON Patch (RFC 6902) or a Merge Patch (RFC 7386), and it can apply a patch to a document.

  • Fetching. Open URL or cURL (⌘U) loads a response straight into the formatter. The first request to each host asks for confirmation, and nothing is sent until you click Send.

  • Finder previews. The Quick Look extension pretty-prints and colours .json and .geojson files when you press Space. It pretty-prints each record of .jsonl/.ndjson files, and invalid JSON appears as raw text with a red line-and-column strip. It also previews YAML, certificates and .jwt files.

  • Getting JSON in. Use Finder's Open With ▸ Bytepliers or drop a file on the Dock icon; .json, .jsonl, .ndjson and .geojson files open in the JSON Formatter. From any app, the Quick Panel (⌥⌘B, Option-Command-B) shows the JSON on your clipboard pretty-printed, and ⏎ copies it.

  • Privacy. Apart from Open URL or cURL, which only connects when you click Send, the tools work offline, and the app has no analytics or telemetry. By default, history skips text that looks like a secret, such as JWTs, API keys and bearer tokens.

Popover listing each Lenient-mode fix with its line and column: unquoted keys, single quotes and trailing commas
Each fix is listed with its line and column.

Where it falls short:

  • The tree is a viewer. You can't edit values in the tree. You edit the text in the input pane instead.
  • No code folding in the editors, and no JSON Schema validation.
  • Size limits. The JSON Formatter accepts input up to 64 MB, and files over 50 MB ask before opening. Nesting deeper than 100 levels stops with "Nesting too deep". Expand All is disabled above 60,000 values. Syntax colouring switches off for very large documents (above 400,000 UTF-16 units).
  • jq is a subset. There's no def, no match/capture/scan, no input/inputs, no date functions and no streaming. Filters stop after 2 seconds.
  • JSONPath has no function extensions such as length() or count().
  • Quick Look previews are truncated for files over 5 MB, which show only the first 256 KB, with an Open in Bytepliers button.
  • The Quick Panel's Format JSON uses the strict parser. For broken JSON, open the main window, where Lenient mode applies.
  • Fewer JSON extras than OK JSON. There's no AppleScript, and history has pins but no folders.

Price (as of November 2026): Bytepliers isn't sold on its own. It comes with MacSuite at $349, a one-time purchase whose license key unlocks every MacSuite app on up to three Macs. Each app has a 7-day free trial on each Mac.

Pick it if you regularly get broken JSON from logs or configs and want to see exactly what was fixed, if you query and compare JSON, or if you'd use the other tools (JWT, Base64, timestamps, SQL, YAML) and other MacSuite apps. The JSON Formatter documentation covers every option, and Quick Look previews explains the Finder side.

DevUtils

DevUtils is a toolbox of 47+ native, offline developer tools for Mac. As in Bytepliers, JSON is one job among many.

Good at:

  • Smart detection from the status bar icon.
  • ⌥-click instant copy and Instant Replace (⇧⌘R).
  • A Services item, "Inspect with DevUtils", with a default shortcut.
  • Raycast, Alfred and URL scheme support.
  • Code folding.
  • ⌘+/⌘− font sizing.
  • Tool groups with a Frequently Used list.

It's also available on the Mac App Store and Setapp, and through brew install devutils.

Lacks: as of November 2026, the information we have shows no jq filter bar, no JSON Patch or structural JSON compare, no Quick Look extension, and no report listing the fixes made to broken JSON.

Price (as of November 2026): Basic $29 (one Mac), Personal $39 (two Macs), Team $24 per device (three or more). Each is one-time with one year of updates, and renewal is 40% off. There's a 30-day refund window.

Pick it if you want many developer tools for one Mac at the lowest one-time price, code folding matters to you, and you don't need jq or Finder previews. Our Bytepliers vs DevUtils comparison goes further, and DevUtils alternatives lists other options.

DevToys

DevToys is a free, open-source (MIT) toolbox with 30 built-in tools, plus extensions through NuGet and an SDK for writing your own.

Good at:

  • It's free.
  • It runs on Windows, macOS and Linux.
  • Smart detection pastes automatically when only one tool matches.
  • A Compact Overlay, multiple instances and a separate DevToys CLI.

Lacks: as of November 2026, no jq filter and no JSON Patch. It also doesn't tie into Mac features such as Services, Quick Look, Shortcuts, the menu bar or global hotkeys.

Price (as of November 2026): free.

Pick it if you want a free graphical toolbox, or you move between Mac, Windows and Linux and want the same tool on each. See native Mac alternatives to DevToys if you want something more tied into macOS.

Which JSON viewer handles which job

As of November 2026. "Not verified" means we couldn't confirm it from the maker's published information.

Repair broken JSONTree browsingjqJSONPathJSON diff / PatchFinder Quick LookEdit the JSONPlatforms
BytepliersYes, lists each fixYes, view onlyYes (subset)Yes (subset)YesYesIn the text paneMac
OK JSONYes (repair mode)YesYesYesJSON PatchYesYes (editor)Mac
DevUtilsNo fix reportNot verifiedNoNot verifiedNoNoNot verifiedMac
DevToysNot verifiedNot verifiedNoNot verifiedNoNoNot verifiedMac, Windows, Linux
VS CodeNot verifiedNot verifiedNot verifiedNot verifiedNot verifiedNot verifiedYes (text editor)Mac, Windows, Linux
jqNo, stops on errorsNo (text output)YesNoNoNoNo (transforms output only)Terminal

On big files: the only published limits we have are Bytepliers' (64 MB in the JSON Formatter, 5 MB before Quick Look truncates). For any app, open your largest real file during the trial or refund window before you commit.

Which one should you choose?

  • You format JSON a few times a week and live in Terminal: use jq.
  • VS Code is already open all day: open the file there and only add a tool if you hit a job it doesn't handle.
  • You want a free graphical toolbox, or need it on Windows and Linux too: pick DevToys.
  • JSON is most of your work, and you want a dedicated JSON editor or AppleScript: pick OK JSON.
  • You get broken JSON and want a list of every fix, plus jq, JSON Patch and Finder previews: pick Bytepliers. The same goes if you'd use other MacSuite apps.
  • You want lots of developer tools on one Mac at the lowest one-time price, with code folding: pick DevUtils.

Bytepliers is part of MacSuite; you can try it free for 7 days.

FAQ

Does macOS have a built-in JSON viewer?

Not a dedicated app. TextEdit can open a .json file as plain text, and you can run jq --version in Terminal to see whether jq is available on your Mac.

Can Bytepliers become the default app for .json files?

No. It registers as an alternate viewer, so it never replaces your default app. Use Open With ▸ Bytepliers, drop the file on the Dock icon, or press Space in Finder for the Quick Look preview.

Is it safe to paste JSON into an online formatter?

That depends on the site, and you can't easily check what it does with your data. If the JSON contains tokens, keys or customer records, use an offline app or jq instead.

What's the largest JSON file Bytepliers can open?

The JSON Formatter accepts up to 64 MB and asks before opening files over 50 MB. Finder's Quick Look preview shows only the first 256 KB of files over 5 MB.

For step-by-step methods with each tool, see how to format JSON on Mac.

Every app.
One purchase.