OK JSON - Viewer & Formatter 3.1.1 — Mac
Start with the text view. It is the part of OK JSON most people will meet first, and it sets the tone: this is a native JSON formatter for macOS, not another web page in a window. The tree view gives you the structure at a glance, but the text view is where the real work happens, especially now that version 3.0 has a redesigned editor with syntax highlighting across the viewer, History, and Quick Look.
- Built-in JSONPath support, with saved queries that persist between sessions.
- Saved jq filters for repeatable transformations on JSON data.
- Opens JSON Lines (NDJSON) files directly, useful for log analysis.
- Quick Look extension for previewing JSON files in Finder without opening the app.
- Official Raycast extension for quick access, and URL schemes for deeper integration.
- History stored in a local database, so you can return to earlier documents.
It fits next to the tools you already have. The Quick Look extension means a single press of the space bar gives you formatted JSON in Finder. The Raycast extension puts it a keystroke away. And the JavaScriptCore-based scripting lets you process JSON strings with custom scripts, which is handy for small transformations without leaving the app.
Working with JSONPath queries from start to finish
One of the more practical additions in version 3.0 is the ability to save JSONPath queries, so a typical session with OK JSON might begin with a dropped file and end with a specific filtered result. Open a JSON file by dragging it onto the window, and the tree view renders the structure immediately. Switch to the text view to see the raw content with the redesigned syntax highlighting — it makes nested objects far easier to read at a glance.
To extract only the data you need, open the JSONPath panel and type a query like $.store.books[*].title. The result appears in a separate pane, and you can save that query with a name of your choice. Next time you open a similar file, the saved query is available from a dropdown, so you do not have to remember the path or retype it. The same approach works for jq filters: version 3.0 lets you save frequently used filters and reuse them across sessions. For someone who inspects API responses daily, that small persistence saves real time.
Combining views for quick comparison
When you need to compare two JSON responses — before and after a transformation, for instance — open each file in a separate tab. The tree view on one side and the text view on the other gives you both perspectives without switching panels. The local history database also helps here: if you close a file and reopen it later, the app remembers that you had it open, which is useful when you are working through a stack of log files.
Redesigned text editor with syntax highlighting in History
Version 3.0 brought a handful of changes that affect how the app feels day to day. The redesigned text editor is the most visible one: syntax highlighting now appears not only in the main viewer but also in the History panel and Quick Look previews. That means a file you opened three days ago still shows coloured keys and values when you browse back through history. The highlighting itself is clean — strings in one colour, numbers in another, keys in a third — and respects Dark Mode without needing to toggle anything.
Documents open faster than before, and the app uses less memory for large files. For anyone working with JSON exports in the megabyte range, that difference is noticeable when flipping between tabs or reopening the app after a break. The addition of saved jq filters and JSONPath queries (mentioned above) also changes the workflow: you no longer have to keep a separate text file of useful queries. They live inside the app, tied to no particular document, and are available from the toolbar.
Three new interface languages arrived in 3.0: Dutch, Italian, and Russian. That brings the total to nine, and the language selection follows the system setting without a separate preference pane. The app also gained full support for plist files, which is a small but welcome addition for anyone who works with macOS configuration files alongside JSON data.
Fully offline operation with no phone-home formatting
A few questions come up regularly when someone considers adding OK JSON to their toolset. The answers below cover the most common ones.
Does it work offline? Yes, the app is fully offline. It does not phone home to format or validate JSON; everything happens locally. That also means there is no delay when you paste a large block of text or open a dropped file — the tree view appears immediately.
Can I open JSON Lines files? Yes. OK JSON opens both JSON Lines and NDJSON files directly. Each line is treated as a separate JSON object, and you can browse them in the tree view or run queries across the entire file. This is useful for log analysis or streaming data exports where each line is a self-contained record.
How does the Quick Look extension work? Once OK JSON is installed, select any JSON file in Finder and press the space bar. The Quick Look preview shows the formatted content with syntax highlighting, just as it appears inside the app. You do not need to launch OK JSON to get a readable preview — the extension handles it.
Is there a way to access it from the keyboard? The official Raycast extension gives you a command palette for opening files, running queries, and viewing history. URL schemes also let you trigger actions from other apps or scripts, which is useful if you want to open a specific file from a terminal or an automation tool.
Does it handle very large JSON files? Version 3.0 improved memory usage for large documents, and the app opens them faster than before. The tree view remains responsive because it only renders the visible portion of the structure, and the text view scrolls through the raw content without noticeable lag for files up to several dozen megabytes.
What macOS versions are supported? OK JSON requires macOS 15 or later and runs on both Apple Silicon and Intel-based Macs. If you are on an older system, the app will not install — the minimum requirement is strict.
Clara Jensen, Copenhagen. Architect. I keep the note next to the build so the version is not a rumour.
- Redesigned text editor and syntax highlighting across the viewer, History, and Quick Look.
- Saved jq filters and JSONPath queries.
- Added Dutch, Italian, and Russian localisations.
- macOS 15 or later
- Universal binary (Apple Silicon and Intel)
Setting it up on the Mac
- Mount the downloaded disk image.
- Drag the app to the Applications folder.
- After copying finishes, launch OK JSON from Launchpad.
Comments from practice
Sign in or register for an account to add a note.
No comments from practice yet. If you have issued a drawing from this build, say what the install actually did.