Search for JSON Viewer plugin
In the toolbar of Notepad++: open " Plug-ins " --> " Plug-in Management " --> " Available " search box, search for " JSON Viewer " and find the JSON Viewer plug-in.
Install JSON Viewer plug-in
Check the found JSON Viewer and install it online. After the installation is complete, restart NotePad++ and you will see the JSON Viewer plug-in in the " Plugins " list.
Using the JSON Viewer plugin
Select Format JSON in the JSON Viewer , or use the shortcut keys ( Ctrl + Alt + Shift + M ) to format JSON.
For example, format the following JSON string:
{
"name":"Miracle Luna", "age":"XX", "country":"China","language":"Chinese"}
Before formatting
After formatting