I am looking for a text editor that will format / pretty print JSON.

I have been using Atom with Pretty JSON, but the performance is terrible since I switched to to a laptop without SSD.

I know EMACS and VI will probably do but I would prefer something that doesn't require a steep learning curve.

  • 1
    I use Notepad++ with JSON viewer plugin. It's pretty fast and easy to use. Nov 22 '17 at 12:04
  • Forgot to specify that it should be for Linux. Nov 22 '17 at 12:50

Sublime Text is a cross-platform proprietary editor that similar to Atom but with better performance. Plugin are written in Python instead of JavaScript. There is also a plug-in called Pretty JSON, but I'm not sure about its relationship with the Atom plugin.


Visual Studio Code (https://code.visualstudio.com/) is lighter than Atom and provides similar amount of plugins.

  • A collogue already suggested that. Is it lightweight? I assumed it would be quite big. Nov 23 '17 at 8:25
  • @wobbily_col The size is far from Visual Studio, although the name sounds alike. I wouldn't say the amount of plugins is "similar", but I believe there is at least one for JSON formatting. Nov 23 '17 at 15:59
  • 1
    It's based on Electron too, so not lite.
    – RProgram
    Nov 23 '17 at 19:08

CudaText is lite, and has "JS Format" plugin (and several other "Format***" plugins). On Windows, you need also to unpack Python ZIP files to CudaText folder, from its Sourceforge site.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.