Prettify JSON in Notepad++
To format a JSON file offline in Notepad++ text editor, you need to install a plug-in called as JSTOOL, follow the below steps to get the plugin.
- Goto Menu → Plugins → Plugin Admin..
- Look for JSTOOL.
- Tick the checkbox and click Install.
- Click OK and Notepad++ should reboot.
Once the plugin is installed, open the JSON file in a tab, goto Plugins → JSTOOL → JSFORMAT to format/pretty print.
JSON before Prettify
{"details": {"name": "John L","age": "24",
"location": "Sweden"
}
}
JSON after Prettify
{
"details": {
"name": "John L",
"age": "24",
"location": "Sweden"
}
}
⛏️ You can also use Keyboard shortcut: Ctrl + Alt + M to format.
Comments:
- this is what I was looking for.... thank you!
anon 23 Aug 2020 05:04:14 GMT
- Thank you very very much for this article, short and sweet, I was looking for ways to format a JSON file locally on my system using Notepad and this works well.
mkiki 22 Aug 2020 10:08:25 GMT
- Further comments disabled!
More Posts related to NotepadPlusPlus,
- [Solution] Notepad++ Compare option unavailable
- How to delete all text after a character or string in Notepad++
- Notepad++ hex editor Examples
- Add Custom header and footer to Windows Notepad file
- Unable to edit file in Notepad++
- Locate Notepad++ unsaved files backup location
- Add Text at Start and End of Each Line Notepad++
- [Tutorial] How to Customize Notepad++ Toolbar
- How to hide lines in Notepad++
- How to close all tabs of Notepad++?
- Notepad++ Save Failed - Please check if this file is opened in another program.
- How to connect to an FTP or SFTP location using Notepad++
- How to add or remove bookmark on a line in Notepad++
- Enabling Notepad++ Dark Theme
- Notepad++ Reload - This file has been modified by another program. Do you want to reload it?
- Prettify JSON in Notepad++
- Portable Notepad++ for windows
- Alternatives for Notepad++ on Mac in 2021
- Indent XML Formatting In Notepad++
- Go to Line Number option in Windows Notepad
- Word count in Notepad++
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar
- [Nopepad++] How to add text at end of each line
- How to open a new tab in Notepad++
- How to open Notepad?
More Posts:
- Word wrap text in Notepad++ - NotepadPlusPlus
- ls: .: Operation not permitted - Mac Big Sur Terminal Zsh Error - MacOS
- Android Images with Rounded Corners : ImageView - Android
- How to Download Jira App for Mac - Jira
- Android Disable back button programatically - Android
- How to enable Dark Mode in Windows 11 - Windows-11
- Check Bluetooth is turned on or off on Android device programmatically [Java Code] - Android
- How to know docker Engine details - Docker