JSON Viewer Plugin for Notepad++ – Features, Download and How to Install

JSON which stands for JavaScript Object Notation is a lightweight data-interchange format. Mostly you would have used it in webservice to send and receive payloads. JSON is based on collection of name/value pairs and ordered list of values.

You can use any text editor even Notepad to create and modify JSON. Smaller files are easy to read and understand. You need a tool for the large and complex one to quickly format and compress JSON.

In this article, I am going to cover JSON Plugin for Notepad++ which you can use to view, format and compress JSON.

Notepad++ JSON Viewer Plugin

JSONViewer is a plugin for your favorite text editor Notepad++  which helps you to view JSON in Tree view Format. You can quickly format and even compress JSON using this plugin. It also highlights parsing errors as well.

Developer – Kapil Ratnani

Github Repository – JSON-Viewer

Install JSON Viewer Plugin in Notepad++

You can use Plugin Admin or Plugin Manager to easily install this plugin. These are the steps.

Open Notepad++ and Go to Plugins -> Plugin Admin… and Search for JSON Viewer plugin and click Install button to install JSON Viewer plugin in Notepad++.

install JSONViewer Plugin using Plugin Admin

Sometimes this may not give you the latest plugin version. In that case, install the plugin manually using the steps given below.

Manual Installation Steps,

  1. Close Notepad++
  2. Download the latest version JSONViewer plugin and extract NPPJSONViewer.dll file.
  3. Create NPPJSONViewer subfolder in npp plugins folder.
  4. Copy NPPJSONViewer.dll to the above folder.
  5. Restart Notepad++

That’s it. You have successfully installed the plugin.

The plugin should be available under plugin Menu in the toolbar as shown in the below image.

JSON Viewer Plugin to View, Format and Compress JSON

Now let’s see how to use the JSON viewer plugin. We are going to take a sample JSON and show you how it works. You can download the sample JSON from this link.

Show JSON Viewer

Go to Plugins -> JSON Viewer -> Show JSON Viewer. This opens a frame on the left-hand side which shows the TreeView. You can select individual nodes to navigate to the child node.

show jsonviewer

One thing I observed that when we select any node it does not highlight the same in the Notepad++ document.

Format JSON

Formatting JSON in Notepad++ is also very easy using this plugin. Just select Format JSON options and the plugin format it for you. If there are any parsing error, it will give you an error message saying parsing error.

formatted JSON

Compress JSON

The compress JSON option is useful when you want to use JSON as the Web Service Payload and want to reduce the size. Just click that option and your JSON will be compressed by removing spaces.

compressed JSON


Formatting and Compressing JSON in Notepad++ is very easy, thanks to this plugin. I hope you found this article useful. Please share and subscribe.