A fast, lightweight, native macOS application recreating and elevating the classic online JSON Viewer and Formatter (jsonviewer.stack.hu).
Experience real-time JSON editing and hierarchical exploration side-by-side:
Split Mode: Monospace Editor (left), Tree Hierarchy with full-width expanded text (center), and Interactive Property Inspector with jump navigation (right).
Explore deep JSON structures with collapsible nodes, color-coded type badges, and dynamic full-width multi-line textareas for large text fields:
jsonviewer.stack.hu:
key : "value")key : 123)key : true)key : null)key {N} / key [N])[ ▾ expand ] and text.badge.plus icon..textSelection(.enabled)).$.users[0].address.city), or Copy Subtree as JSON.Inspect element properties in a 2-column table with click-to-jump tree synchronization:
23 or name) instantly jumps to, selects, and scrolls to that element in the tree.[ < Parent ] allows easy navigation back up the object tree.[ ▾ more ] / [ ▴ less ] toggles for long values within grid cells.A full-featured code editor with instant syntax feedback and rich serialization tools:
\/) and quote escaping (\").\/, \", \\, \n) back into clean formatted JSON.Cmd+O) and Save (Cmd+S) .json files.Copy your JSON in whatever format you need directly from the Viewer toolbar, Text Editor, or context menus:
\") and forward slashes (\/).True, False, None, and single-quoted strings.{'key': 'value', 'flag': True, 'empty': None}) and it is automatically converted into valid, formatted JSON.⌘,): Configure indentation (2 spaces, 4 spaces, tabs), forward slash escaping (\/), alphabetical key sorting, auto-unwrapping of stringified JSON, editor font size, and word wrapping.?): Press ? anytime outside text fields or ⌘ ? anywhere to open a beautiful categorized shortcuts overlay with instant search.JSONViewer-macOS.zip from the GitHub Releases..zip file to extract JSONViewer.app.JSONViewer.app into your /Applications folder.[!NOTE] First-time Opening on macOS (Gatekeeper): Since this is an open-source application without an Apple Developer ID certificate:
- Right-click (or Control-click)
JSONViewer.appand select Open, then click Open in the prompt.- Alternatively, run this command once in Terminal:
xattr -cr /Applications/JSONViewer.app
xcode-select --install)swift run
/Applications./build_app.sh install
This compiles the release binary, creates the iconset, code-signs the app, installs it to /Applications/JSONViewer.app, and launches it.
./build_app.sh run
This builds build.noindex/JSONViewer.app and launches it.
swift run JSONViewerTests
| Shortcut | Action |
|---|---|
| ? or ⌘ ? | Show Keyboard Shortcuts Cheatsheet Modal |
| / | Focus Search Bar (Quick Jump) |
| ⌘ F | Find in JSON / Focus Search Bar |
| Enter | Find Next Match (in Search Field) |
| ⇧ Enter | Find Previous Match / Reverse (in Search Field) |
| ⌘ G | Find Next Match (Global) |
| ⌘ ⇧ G | Find Previous Match (Global) |
| ⌘ , | Open Settings / Preferences Dialog |
| ⌘ 1 | Switch to Viewer Tab |
| ⌘ 2 | Switch to Text Editor Tab |
| ⌘ 3 | Switch to Split View Tab |
| ⌘ ⌥ P | Toggle Properties Panel (Show / Hide) |
| ⌘ K | Clear Editor |
| ⌘ ⌥ C | Copy as Python Dictionary |
| ⌘ E | Expand All Tree Nodes |
| ⌘ ⇧ E | Collapse All Tree Nodes |
| ⌘ + | Zoom In Font Size |
| ⌘ - | Zoom Out Font Size |
| ⌘ 0 | Reset Font Size to Default (12pt) |
| ⌘ O | Open JSON File |
| ⌘ S | Save JSON File |
| Esc | Dismiss Shortcuts / Search Bar |
Inspired by the original online JSON Viewer and Formatter by Gabor Turi.
Rebuilt natively for macOS in modern Swift.
Rust
63.8%
Swift
35.4%
A fast, lightweight, native macOS application recreating and elevating the classic online JSON Viewer and Formatter (jsonviewer.stack.hu).
Experience real-time JSON editing and hierarchical exploration side-by-side:
Split Mode: Monospace Editor (left), Tree Hierarchy with full-width expanded text (center), and Interactive Property Inspector with jump navigation (right).
Explore deep JSON structures with collapsible nodes, color-coded type badges, and dynamic full-width multi-line textareas for large text fields:
jsonviewer.stack.hu:
key : "value")key : 123)key : true)key : null)key {N} / key [N])[ ▾ expand ] and text.badge.plus icon..textSelection(.enabled)).$.users[0].address.city), or Copy Subtree as JSON.Inspect element properties in a 2-column table with click-to-jump tree synchronization:
23 or name) instantly jumps to, selects, and scrolls to that element in the tree.[ < Parent ] allows easy navigation back up the object tree.[ ▾ more ] / [ ▴ less ] toggles for long values within grid cells.A full-featured code editor with instant syntax feedback and rich serialization tools:
\/) and quote escaping (\").\/, \", \\, \n) back into clean formatted JSON.Cmd+O) and Save (Cmd+S) .json files.Copy your JSON in whatever format you need directly from the Viewer toolbar, Text Editor, or context menus:
\") and forward slashes (\/).True, False, None, and single-quoted strings.{'key': 'value', 'flag': True, 'empty': None}) and it is automatically converted into valid, formatted JSON.⌘,): Configure indentation (2 spaces, 4 spaces, tabs), forward slash escaping (\/), alphabetical key sorting, auto-unwrapping of stringified JSON, editor font size, and word wrapping.?): Press ? anytime outside text fields or ⌘ ? anywhere to open a beautiful categorized shortcuts overlay with instant search.JSONViewer-macOS.zip from the GitHub Releases..zip file to extract JSONViewer.app.JSONViewer.app into your /Applications folder.[!NOTE] First-time Opening on macOS (Gatekeeper): Since this is an open-source application without an Apple Developer ID certificate:
- Right-click (or Control-click)
JSONViewer.appand select Open, then click Open in the prompt.- Alternatively, run this command once in Terminal:
xattr -cr /Applications/JSONViewer.app
xcode-select --install)swift run
/Applications./build_app.sh install
This compiles the release binary, creates the iconset, code-signs the app, installs it to /Applications/JSONViewer.app, and launches it.
./build_app.sh run
This builds build.noindex/JSONViewer.app and launches it.
swift run JSONViewerTests
| Shortcut | Action |
|---|---|
| ? or ⌘ ? | Show Keyboard Shortcuts Cheatsheet Modal |
| / | Focus Search Bar (Quick Jump) |
| ⌘ F | Find in JSON / Focus Search Bar |
| Enter | Find Next Match (in Search Field) |
| ⇧ Enter | Find Previous Match / Reverse (in Search Field) |
| ⌘ G | Find Next Match (Global) |
| ⌘ ⇧ G | Find Previous Match (Global) |
| ⌘ , | Open Settings / Preferences Dialog |
| ⌘ 1 | Switch to Viewer Tab |
| ⌘ 2 | Switch to Text Editor Tab |
| ⌘ 3 | Switch to Split View Tab |
| ⌘ ⌥ P | Toggle Properties Panel (Show / Hide) |
| ⌘ K | Clear Editor |
| ⌘ ⌥ C | Copy as Python Dictionary |
| ⌘ E | Expand All Tree Nodes |
| ⌘ ⇧ E | Collapse All Tree Nodes |
| ⌘ + | Zoom In Font Size |
| ⌘ - | Zoom Out Font Size |
| ⌘ 0 | Reset Font Size to Default (12pt) |
| ⌘ O | Open JSON File |
| ⌘ S | Save JSON File |
| Esc | Dismiss Shortcuts / Search Bar |
Inspired by the original online JSON Viewer and Formatter by Gabor Turi.
Rebuilt natively for macOS in modern Swift.
Rust
63.8%
Swift
35.4%