Skip to content
Interactive JSON Editor
Go Shell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/jd first commit Dec 9, 2016
vendor/ first commit Dec 9, 2016
LICENSE first commit Dec 9, 2016
Makefile first commit Dec 9, 2016 Update Dec 9, 2016 first commit Dec 9, 2016
editor.go first commit Dec 9, 2016
pretty.go first commit Dec 9, 2016

JD - Interactive JSON Editor

It's an experimental tool for querying and editing JSON documents. It's basically a playground to show off the path syntax of GJSON.


It's possible to add, delete, and edit any JSON value type.



# Read from Stdin
echo '{"id":9851,"name":{"first":"Tom","last":"Anderson"},"friends":["Sandy","Duke","Sam"]}' | jd

# Read from cURL
curl -s | jd

# Read from a file
jd user.json


There're pre-built binaries for Mac, Linux, FreeBSD and Windows on the releases page.

Mac (Homebrew)

brew tap tidwall/jd
brew install jd


go get -u

For a very fast JSON stream editor, check out jsoned.


Josh Baker @tidwall


JD source code is available under the MIT License.

You can’t perform that action at this time.