Use JSTool

As of Notepad++ v7.6, you can use the Plugin Admin option in Notepad++ to install JSTool.

Manual Install

  1. Download it from https://www.sunjw.us/jstool/npp/#download
  2. Copy JSMinNpp.dll to the plugin directory of Notepad++. You may need to create a directory named "JSMinNPP" in the plugin directory after version 7.6.3

Here's an example of JSON that's been formatted using the tool:

{
  "menu" : {
    "id" : "file",
    "value" : "File",
    "popup" : {
      "menuitem" : [{
      "value" : "New",
          "onclick" : "CreateNewDoc()"
        }, {
          "value" : "Open",
          "onclick" : "OpenDoc()"
        }, {
          "value" : "Close",
          "onclick" : "CloseDoc()"
        }
      ]
    }
  }
}

Tip: Select the code you want to reformat, then Plugins | JSTool | JSFormat.

Answer from Dan on Stack Overflow
🌐
GitHub
github.com › molsonkiko › JsonToolsNppPlugin
GitHub - molsonkiko/JsonToolsNppPlugin: A Notepad++ plugin providing tools for JSON like linting, querying, a tree view, and CSV conversion. · GitHub
A Notepad++ plugin providing tools for JSON like linting, querying, a tree view, and CSV conversion. - molsonkiko/JsonToolsNppPlugin
Starred by 155 users
Forked by 17 users
Languages   C# 97.5% | Python 2.1%
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 25251 › json-tools-for-viewing-and-editing
JSON tools for viewing and editing | Notepad++ Community
December 16, 2023 - So if you get something that starts "{\"..., you can paste that into Notepad++, use the Plugins > JSON Tools > Dump JSON string(s) as raw text, which will open it in a new tab, and that new tab should be reasonable JSON for you to work with and see in the JSON Tools TreeView panel.
🌐
SourceForge
sourceforge.net › projects › jsminnpp
JSToolNpp download | SourceForge.net
Download JSToolNpp for free. A JavaScript tool for Notepad++ and Visual Studio Code. A JavaScript (JSON) tool for Notepad++ (formerly JSMinNpp) and Visual Studio Code. * Douglas Crockford's JSMin algorithm to minimize JavaScript code.
Rating: 4.9 ​ - ​ 14 votes
🌐
GitHub
github.com › NPP-JSONViewer › JSON-Viewer
GitHub - NPP-JSONViewer/JSON-Viewer: A JSON viewer plugin for Notepad++. Displays the selected JSON string in a tree view. · GitHub
A JSON viewer plugin for Notepad++. Displays the selected JSON string in a tree view. - NPP-JSONViewer/JSON-Viewer
Starred by 846 users
Forked by 163 users
Languages   C++ 97.9% | C 2.1%
🌐
SourceForge
sourceforge.net › projects › nppjsonviewer
JSONViewer Notepad++ plugin download | SourceForge.net
Download JSONViewer Notepad++ plugin for free. A JSON viewer plugin for notepad++ A JSON viewer plugin for notepad++. Displays the selected JSON string in a tree view.
Rating: 3.2 ​ - ​ 22 votes
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 24819 › jsontools-v5-5-is-live
JsonTools v5.5. is live! | Notepad++ Community
July 30, 2025 - Improve JSON from files and APIs ... replace JSON in files with RemesPath queries ... Any other ideas! ... Next release will have support for comment-preserving pretty-printing and compressing! ... Release 5.8 is live, with support for INI files, including reformatting them querying/viewing/editing them with the tree view. ... @Mark-Olson Interesting functionality, thank you! Maybe it’s just me - but 4 toolbar buttons look ...
Find elsewhere
🌐
Sunjw
sunjw.us › jstool › npp
JSTool - A JavaScript tool for Notepad++
Open you JavaScript or JSON source code file in Notepad++. Press "Ctrl"+"Alt"+"J". Or open menu: "Plugins" - "JSTool" then click "JSON Viewer". Or click on toolbar.
🌐
GitHub
github.com › molsonkiko › JsonToolsNppPlugin › blob › main › docs › README.md
JsonToolsNppPlugin/docs/README.md at main · molsonkiko/JsonToolsNppPlugin
A Notepad++ plugin providing tools for JSON like linting, querying, a tree view, and CSV conversion. - JsonToolsNppPlugin/docs/README.md at main · molsonkiko/JsonToolsNppPlugin
Author   molsonkiko
🌐
GitHub
github.com › sunjw › jstoolnpp
GitHub - sunjw/jstoolnpp: A JavaScript (JSON) tool for Notepad++ (formerly JSMinNpp) and Visual Studio Code. · GitHub
A JavaScript (JSON) tool for Notepad++ (formerly JSMinNpp) and Visual Studio Code. - sunjw/jstoolnpp
Starred by 306 users
Forked by 28 users
Languages   JavaScript 98.8% | C++ 0.7% | C 0.3% | PHP 0.1% | Python 0.1% | CSS 0.0%
🌐
JSON Formatter
jsonformatter.org
Best JSON Formatter and JSON Validator: Online JSON Formatter
Download JSON, once it's created or modified and it can be opened in Notepad++, Sublime, or VSCode alternative. JSON Format Checker helps to fix the missing quotes, click the setting icon which looks like a screwdriver on the left side of the editor to fix the format. ... JSON Example with all data types including JSON Array. ... Online JSON Formatter and Online JSON Validator provide JSON converter tools to convert JSON to XML, JSON to CSV, and JSON to YAML also JSON Editor, JSONLint, JSON Checker, and JSON Cleaner.
🌐
MiniTool Partition Wizard
partitionwizard.com › home › partition manager › how to format json in notepad++ properly? [2 ways]
How to Format JSON in Notepad++ Properly? [2 Ways]
November 28, 2024 - JSON Viewer is an online web-based plugin that can help you view, analyze, and format JSON data. With this plugin installed in Notepad++, you can quickly format and even compress JSON data, and highlight parsing errors too.
🌐
4sysops
4sysops.com › home › blog › articles › edit json config files with free json editors or notepad++
Edit JSON config files with free JSON editors or Notepad++ – 4sysops
February 15, 2024 - The JSON/XML Editor is much more straightforward but does what it's supposed to in our context. It is limited to a tree view, and the absence of text representation avoids errors.
🌐
Codemia
codemia.io › knowledge-hub › path › how_to_reformat_json_in_notepad
How to reformat JSON in Notepad++
Enhance your system design skills with over 120 practice problems, detailed solutions, and hands-on exercises
🌐
GitHub
github.com › Lichtenshtein › NppJsonTools
GitHub - Lichtenshtein/NppJsonTools: A Notepad++ plugin providing tools for JSON like linting, querying, a tree view, and CSV conversion.
Miscellaneous tools for working with JSON in Notepad++. Includes a general-purpose tree view with powerful search capabilities.
Author   Lichtenshtein
🌐
Techtown
atechtown.com › home › text editors › notepad++ json formatter plugin (jsonviewer) – (how) download, install and use
Notepad++ JSON formatter Plugin (JSONViewer) - (How) Download, Install and Use - Techtown
June 2, 2023 - JSON Viewer Plugin is a helpful plugin that displays, compresses, and formats JSON. This plugin can be very useful if you want to quickly view or edit your JSON document in Notepad++without the need for any other software.
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 26021 › help-for-a-json-formatting
Help for a JSON formatting. | Notepad++ Community
October 25, 2025 - That JSON snippet looks fine — it’s just not indented properly, so it’s hard to read. And has syntax errors, since there are four arrays and two objects which are not properly terminated. ... In Notepad++, install the JSON Viewer plugin (as ...