Notepad++ can format JSON into readable, indented lines with the JsonTools plugin. Install it through Plugins Admin, open the JSON file, and choose Pretty-print current JSON file.
Windows Notepad is a different app and doesn't use Notepad++ plugins, so check the app's name before looking for that command.
In this guide
Open a copy in the right editor
Start Notepad++, then choose File > Open and select your JSON file. Keep the original unchanged if another program depends on it. Working on a copy gives you a clean way back if formatting changes something you meant to preserve.
A long line of JSON can be valid even when it's difficult to read. Pretty-printing adds line breaks and indents each level, making it easier to follow objects and lists inside other objects.
It won't fill in missing data or decide what a setting should mean.

Confirm that the file contains JSON rather than a web error page or a log with JSON embedded in it. An opening brace or bracket can be useful, but read the content too. Renaming any text file to .json doesn't convert its contents.
If double-clicking the file opens Windows Notepad, use File > Open inside Notepad++ instead. That's enough for this task. Changing the default app is optional and affects future double-clicks, not whether formatting works now.
Microsoft says the default app settings let you choose which editor opens .json files. Choose the file extension carefully so you don't change unrelated document types.
Install JsonTools through Plugins Admin
- Open Plugins > Plugins Admin in Notepad++.
- On Available, find JsonTools.
- Tick the checkbox beside its name. Highlighting the name alone doesn't select it for installation.
- Click Install and let the plugin install and Notepad++ restart.
- Reopen Plugins and look for JsonTools.
An unchecked plugin row can show information while leaving Install disabled. Check the selection before changing folders or permissions.
Save any other open work before accepting the restart. Once the plugin menu appears, the installation step is finished. Installing it again won't fix errors in the JSON itself.
If JsonTools isn't listed, check the editor's version and plugin availability with your administrator or the plugin's official project. Your workplace or school may block plugin installation on its computers.
Use the supported plugin package for your editor rather than a DLL from a download mirror.
If Plugins itself is missing, check the title bar again. Windows Notepad and Notepad++ are separate programs. A different app needs its own commands; the font and wrapping controls in ordinary Notepad don't install a JSON formatter.
Run the pretty-print command on the current file
With the JSON document active, choose Plugins > JsonTools > Pretty-print current JSON file. The documented shortcut is Ctrl + Alt + Shift + P. Use the menu first if another program intercepts the keys.
Objects and arrays (lists of values) should spread across indented lines instead of staying in one compressed block. Check the active tab before saving, especially if several documents are open. The command formats only the active document.

The JsonTools command documentation also lists Compress current JSON file, with Ctrl + Alt + Shift + C. That command removes formatting space, so it does the reverse of the readable layout wanted here.
I'd format a copy before editing a complicated configuration file. With each level indented, you can see which object contains your setting, even when a key appears several times on one long line.
When the result looks right, use File > Save As to keep the formatted copy under a clear filename. Preserve the .json extension if the receiving program expects it.
Don't overwrite the working configuration until you're ready to use the new file.
Read a parsing error before changing the text
If formatting stops with an error, read the reported position and nearby text. Common problems include a missing comma between items, a missing closing brace, or text that wasn't JSON in the first place.
Strict JSON uses double quotes around property names and string values. An apostrophe isn't a substitute for a double quote.
Don't replace all punctuation blindly, because quoted strings can contain characters that are part of the actual data.
JsonTools accepts some variations from strict JSON and can recover from some errors. A successful display in the plugin doesn't mean every app will accept the result. Check the format expected by the program that will read the saved file.
For a configuration file, correct a single error and run the formatter again. If the error moves, read the new location.
If the content is an HTML sign-in or access-denied page, get the intended JSON file instead of repairing that page.
Don't use the pretty-print command on a .jsonl file without checking the warning. JSON Lines stores separate records on separate lines; spreading each record across several lines can break the format expected by the receiving tool.
Fix readability without confusing it with formatting
Word wrap only changes how a long line fits in the editor window. It doesn't add JSON indentation. A file can look wrapped while still containing one long line when another program opens it.
Changing the text size can also make reading easier, but it doesn't rearrange objects or arrays. Use the formatter for the document layout, then adjust the editor's display if the text is still uncomfortable to read.
The guide to changing Notepad's font covers the Windows editor's display controls. It applies to ordinary Notepad, so don't expect those menu paths to match Notepad++.
If an edit goes wrong in the Windows editor, Notepad's undo controls explain its recovery options. Keeping the original file is still the safest way to compare a configuration before and after a change.
If JsonTools fails on a small valid example too, report it to the official project's issue tracker.
Include your Notepad++ and JsonTools versions, the error text, and a short example with private data removed that shows the problem.
The Short Version
Use Notepad++ with JsonTools, then choose Pretty-print current JSON file. Plugins Admin installs the plugin; selecting JSON coloring or word wrap doesn't format the document.
Keep a copy and check parsing errors before saving a configuration.
Checked December 5, 2026.







