JSON Editor Plugin

Add this URL to your Eclipse Installation to reach this solution's update site.

2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)


Juno (4.2, 3.8), Previous to Juno (<=4.1)


Learn more...
Solution Description

The JSON Editor is a simple plugin for the Eclipse IDE that

  • Supports every eclipse flavor (JavaEE, CDT, RCP, you name it!)
  • Supports eclipse version 3.7 - 4.11.0 and most probably later versions
  • Conforms to the JSON standard as defined in the RFC 4627 by D. Crockford
  • Deep Integration (File wizards, tree outline, preference pages)
  • Quick Outline with reg-ex support (CTRL + O)
  • Highly configurable code formatting (CTRL + SHIFT + F)
  • Custom syntax highlighting
  • Text folding and range
  • Detects duplicate keys
  • Reliable, resilient and fast syntax tree parsing and validation through ANTLR 4
  • Synchronized tree view and text editor
  • Available for free - that's a feature, isn't it?

Please report issues on our GitHub page: https://github.com/boothen/Json-Eclipse-Plugin

Categories: Editor

Additional Details

Eclipse Versions: 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19), Juno (4.2, 3.8), Previous to Juno (<=4.1)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Boothen Technology

Development Status: Production/Stable

Date Created: Wednesday, June 3, 2009 - 11:17

License: EPL

Date Updated: Wednesday, December 14, 2022 - 09:46

Submitted by: Boothen Technology

Date Ranking Installs Clickthroughs
July 2024 25/645 821 13
June 2024 27/681 1451 28
May 2024 29/682 1487 15
April 2024 30/687 1496 14
March 2024 27/694 1733 16
February 2024 26/687 1647 18
January 2024 26/691 1807 18
December 2023 27/671 1479 13
November 2023 28/686 1709 21
October 2023 28/673 1832 21
September 2023 28/663 1823 13
August 2023 28/673 1884 17
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 4

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for JSON Editor Plugin.

HTML Code:

Markdown Syntax:


Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

I've tried a bit but uninstalled it:

- When you open a JSON file, each time you need to press Ctrl+Shift+F to have the JSON formatting

- A bit slow to open for my taste.

I've installed HiJSON and for the moment it suits my needs better (only still testing it)

I'm trying to edit a json file containing values that use japanese alphabet but in the view it shows the wrong characters, it's not using the right encoding. Screenshot: files.catbox.moe/a8ztcu.png

Is there any way to fix it or have to wait for an update? while I'm at it I'd like to make a feature request, is it possible to add a "Design" view in the future? like the XML Editor plugin, so I don't accidently edit out a parenthesis or other json delimeters.

In reply to by Bw 3d

Thanks for the hint. Can you please help me with the right encoding? What is it supposed to look like? Can you upload some example text maybe? Ideally create a new issue here: https://github.com/boothen/Json-Eclipse-Plugin/

The JSON designer is a good idea, imho. But to be honest, I currently don't have the time to actively work on new features - I'd be happy to help or review though.


i know that json is not intended to support comments, but parser like jackson do support this.

sometimes it is really very handy to have some comments in json-files.

is there any change of getting comment-support (there is already color-support for comments ;-) for the plugin?

How would you use this in eclipse?

Does it replace other editors?

Are there specific key board shortcuts for navigation, editing, creation etc?

Hello and greetings! Thanks for this nice plugin! Would it be possible to include a "disable code folding" option in the preferences of the editor in some future release?

Outline mine is a bit useless when you can't click a segment and relate it to the actual file, or even edit inside outline mode. Not sure why it's there other than looks pretty. End up having to CTRL-F to find the place in the file, and the menu for view options is completely lacking anything. 

In reply to by Alex Summers

The linkage from the code view to the tree outline is active and functional. The other direction is currently disabled. So yes, you're right, clicking on the tree doesn't make the cursor jump to the right spot in the file.

This (small?) part still needs to be implemented so it works reliably and without infinite cycles between the two views. Should be doable, I'm just lacking the time for it, atm.

Freezes Eclipse for a couple of seconds every time you try to close the Eclipse Preferences pane.
I've switched to Json Tools which seems better.

There seems to be a major bug with the formatter when handling nested data structure like this:


After formatting (ctrl + shift + F), it looked like this:

    "foo": {
        "this": "that"

This is completely wrong because the dictionary "foo" is now having another dictionary within instead of a list. I observed this issue with whichever the version that came with Eclipse Neon.1a Release (4.6.1).

Decent plugin. It does basic json formatting and syntax highlighting, however it has one "feature" which renders it un-usable. It will randomly, seemingly without a pattern highlight entire blocks of json. So if you're typing this means that the entire block is replaced. Not an acceptable thing for a code editor to do!

When using Dark Theme in Eclipse Neon there is a problem with some of the texts not been readables.

imgur . com/a/eTuIu

The blue hard to read, and the black, not the best option neither. I couldnt find any way to fix that in Eclipse itself.

i am using eclipse neon with this plugin and it works perfectly. I know, Eclipse neon has a JSON editor but it is very very basic, it does not sync with the Outline in huge JSON files. Thanks guys!

I just downloaded this editor, and can already tell it will help a great deal. However, I'm running into a fairly substantial usability problem. Whenever I'm typing, and pause for even a short amount of time (< 1 sec), the editor will select either the line I'm typing on, or the entire JSON object. Then, when I resume typing, it of course replaces the entire contents of the selection. Constantly finding myself executing an undo, and placing the cursor back at the position where I paused typing.

Is there any way to disable this autoselection?

Here's my env:

Eclipse Java EE IDE for Web Developers.
Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600

Mac OS X Version 10.11.5

Java 1.8.0_92

This plugin is so good, thank you very much for your excellent work!
But I have a little problem, when the size of JSON file getting bigger, it is so difficult to type contents to the file, it will be stuck for validation work, is it possible to add an optional validation feature? or a switch to turn off the validation. Thank you.

Every time I type JSON it freezes the complete editor for ~10 seconds (or never returns from freezing state). Maybe stuck with validation?! I had to uninstall it :(

In this JSON Editor Plugin, the following things are not good:

* Pressing Ctrl+Shift+F doesn’t format the JSON data
* Editing text is very slow, even for JSON data that is only 23kB in size
* The outline view shows “Error” when the JSON is well-formed

In STS i create a file name test.json but when i am trying to save it raising exception like "Save Failed
java.lang.NullPointerException". what i supposed to do??

I'm using it on Eclipse Standard Keppler R2.
No matter what content I try to validate, it spams an OK message.
Does it happens only to me?

I am using Ubuntu 13.04 (Kernel 3.5.44) Unfortunately, this plug in starts acting up and does not allow the json file to be saved with a NullPointerException (no further info provided by Eclipse). It hampered my delivery efforts.

Be very careful, if you are using Ubuntu. I was able to isolate the problem as it was only json files that were showing "dirty flag" with an asterisk where it shows the file name in a tab above.

Was worried about trying the plugin given the earlier feedback.

However, after installing it, it works and didn't give any issues.

Good Job

In my system, with

Win XP SP3

Java JDK 1.6

Eclipse Helios 3.6

the JSON editor plugin 0.9.4 led to instability that crashed Eclipse often. I wasn't easily able to diagnose it, but this has been a less stable version of Eclipse all around than my last one.

This plugin is completey flawed!
I tried it on Eclipse 3.4.2 and after a few seconds eclipse's windows went white, all the menus disappeared and I couldn't even close it down.
Don't use it!