Notepad + + install JSON format plug-in

Download the corresponding version of the JsonViewer plug-in zip:
64: https://github.com/zbeboy/Jsonviewer2/releases
32: https://sourceforge.net/projects/nppjsonviewer/?source=typ_redirect
Unzip the package, copy the jsonviewer2.dll (64-bit) or nppjsonviewer.dll (32-bit) file to the plugins directory under the notepad++ installation directory, and then restart notepad++

Paste the data you want to format into notepad++, then click on the top plugin -> JSON Viewer—> Format JSON allows you to Format JSON data

Read More: