Notepad + + install JSON format plug-in

Download the corresponding version of the JsonViewer plug-in zip:
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: