Power JSON Editor
The JSON editor for Mac developers.
A JSON editor for developers with a visual tree view and plugins such as Array Table Editor, jq Processor and format converters.

Power JSON Editor lets you edit JSON in WYSIWYG mode, inspect the JSON hierarchy in a tree view, search with JSONPath and move nodes around with a few keystrokes.
It also ships with plugins for many JSON-related jobs, and its format converter plugins turn files into and out of JSON, Plist, YAML and TOML.
Highlights
What it does

Tree view with a clear hierarchy
- View and edit JSON in a tree view
- Change a node’s level with Cmd+[ and Cmd+]
- Edit and add nodes directly in the tree
- Drag and drop supported

Convenient node editor
- Separate node editor panel
- Comfortable editing of large text nodes
- Switch boolean values with one click

Plugins
- Web Server: serve the open files as an HTTP API
- Not Well-formed JSON Parser: parse JavaScript code into JSON
- Scripts: process JSON with your own JavaScript
- Array Table Editor, jq Processor, quicktype and format converters

Powerful search
- Search with node paths and JSONPath
- Matched nodes are highlighted
- Search keys and values
Screenshots
Take a look
More about Power JSON Editor
You can edit a JSON file in the raw text view or in the tree view. The two panels stay in sync: a change in one shows up in the other right away.
The text editor has syntax highlighting, formatting and a parse error indicator. Plugins add more: the Local Web Server plugin serves the files you are editing over HTTP so other apps can fetch them, which works like an API mock server, and the Scripts plugin runs any JavaScript file against your JSON.
More editor features:
- Parse error messages that help you debug invalid JSON
- One-click beautify and compact
- Convert a node between string, number, boolean and null
- Duplicate, cut, copy and paste nodes
- Change a node’s parent with Command+] or Command+[
- Wrap a node in an object or array
- Drag and drop JSON between documents or other editors
Need a JSON editor on Windows? Try Quick JSON Editor.
JSONPath support
Power JSON Editor can filter nodes with JSONPath since version 1.3.0. Script expressions such as (@.length-1) are not supported.
Filter expressions
Filter expressions look like ?(price < 10).
| Operator type | Operators |
|---|---|
| String comparison | =, contains |
| Number comparison | =, <, >, <=, >= |
| Collection | field in {value1, value2} |
| Logic | and, or |
Examples
- All books cheaper than 10:
$..book[?(price<10)] - All books whose title contains “of”:
$..book[?(title contains 'of')] - All books priced 8.95 or 8.99:
$..book[?(price in {8.95, 8.99})]
Render template example
The JSON Template Render plugin renders your data with a Jade template:
- each item in data
h2= item.title
p= item.text
Scripts plugin example
/**
A Sample Power JSON Editor Script Plugin
*/
PJEPlugIn = {
// Name of this plugin, will show in submenu of Scripts plugin menu
name: "Sample: Parse JSON with Comments",
/**
JSON processing function, will take two arguments
@param json JSON object from editor, maybe null for inform JSON
@param jsonStr JSON text from editor
@return Return value can be any valid JavaScript object, string will be treated as JSON text
*/
func: function(json, jsonStr) {
return eval('(' + jsonStr + ')');
}
};
Changelog
Release history
Power JSON Editor v2.19.0
Add JSONL format converter plugin
Power JSON Editor v2.18.0
Added CSV format converter plugin
Power JSON Editor v2.17.1
Fixed Scripts plugin
Power JSON Editor v2.17.0
Now you can export Array Node as CSV in Array Table Editor plugin
Power JSON Editor v2.15.0
New quicktype plugin: You can now generate model code files directly from JSON.
Older versions: full release notes for v1.0 to v2.0.
Get Power JSON Editor
A JSON editor for developers with a visual tree view and plugins such as Array Table Editor, jq Processor and format converters.
Related
