Format JSON in Notepad++ using the JSON Viewer plugin

Install Notepad++'s built‑in JSON Viewer plugin, paste your JSON, then use the plugin shortcut to format it for easy reading.

What the video covers

Show how to install Notepad++'s JSON Viewer plugin and use its keyboard shortcut to pretty-print JSON content inside Notepad++ on Windows.

Watch the video on YouTube

Step-by-step instructions

  1. Open Plugins admin
    In Notepad++, open the top menu and click the Plugins tab, then select Plugins admin.
  2. Install JSON Viewer
    In the Plugins admin list use the search box to find "JSON Viewer", check its box, and click Install. Notepad++ will restart to complete installation.
  3. Paste your JSON
    Open or paste the JSON text into a Notepad++ tab so the content you want to format is visible.
  4. Format the JSON
    With the JSON content open (and selected if desired), press Ctrl+Alt+Shift+M to have the plugin format (pretty-print) the JSON.
  5. Verify output
    Confirm the JSON is now indented and broken into readable lines and nested blocks. If not, check for JSON syntax errors or repeat the formatting step.

Watch the video

Video thumbnail for Format JSON in Notepad++ using the JSON Viewer plugin Play tutorial

Watch on YouTube

Why it matters

Raw JSON can be hard to read. Notepad++ includes a plugin that formats (pretty-prints) JSON so you can inspect and edit it more easily without a separate JSON viewer app.

Check your result

After formatting, the JSON should be indented and organized into lines and nested blocks rather than appearing as one long line.

Troubleshooting

If the shortcut does nothing, confirm the JSON Viewer plugin installed successfully and Notepad++ has restarted. Also verify your selection contains valid JSON—malformed JSON may fail to format.