If you want to format or prettify an XML file using a text editor than Notepad++ is a good tool for doing it,
Notepad++ pretty print xml
- You need to have XML Tools Plugin installed if you do not have it follow the below steps, or skip to point number 2.
- Go to Menu: Plugins → Plugin Admin..
- Search: XML Tools
- Check the box and click on Intsall button
- Your Notepad++ would get re-started.
- Open your XML file
- Go to: Plugins → XML Tools
- Select pretty print
- You should now have your XML file formatted with proper indentation.
<xml><details><name>John L</name><age>24</age>
<location>Sweden</location></details></xml>
After Pretty print:
<xml>
<details>
<name>John L</name>
<age>24</age>
<location>Sweden</location>
</details>
</xml>
Note: ⚡️ You can also use Keyboard Shortcut: Ctrl + Alt + Shift + B
This is really useful are you can securely prettify your XML fine offline on your local system without using any online website or tool.
More Posts related to NotepadPlusPlus,
- Add Custom header and footer to Windows Notepad file
- Enabling Notepad++ Dark Theme
- Notepad++ is about to exit prompt message
- Go to Line Number option in Windows Notepad
- How to Convert CSV file to SQL Script using Notepad++
- How to un-hide tab bar in notepad++
- Notepad++ display files on tab bar as horizontal instead of vertical
- Compare two text files in Notepad++
- Column Mode Editing in Notepad++
- Convert SQL to CSV in Notepad++
- List of Programming Languages Supported by Notepad++
- Keyboard shortcut to close tab in Notepad++
- How to open a new tab in Notepad++
- How to Enable spellcheck Notepad++
- Prettify JSON in Notepad++
- Word count in Notepad++
- How to create MD5 digest in Notepad++
- Notepad++ delete lines above or below
- Unable to edit file in Notepad++
- Word wrap text in Notepad++
- Notepad++ Editor alternatives for Mac OS X
- Launch Notepad++ html document in any web browser
- Convert text to random case using Notepad++
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar
- 97 Useful Notepad++ Keyboard Shortcuts
- Base 64 Encoding Decoding In Notepad++
- Where are Notepad++ temp unsaved files stored?
- How to add Date and Time to Windows Notepad File
- How to Apply Themes to Notepad++
- Multiple line editing in Notepad++
- Add comma or semicolon at end of each line Notepad++
- How to know Notepad++ is 32-bit or 64-bit Version
- Notepad++ do not show CRLF characters
- Notepad++ select all above or below lines
- Change default language highlighting in Notepad++
- How to check about details of Notepad++ text editor
- Setting up Cloud feature with Notepad++
- Add Blank Lines Between Each Lines in Notepad++
- How to zoom-in or zoom-out in Windows Notepad
- Replace tabs by spaces or comma Notepad++
- [Nopepad++] How to add text at end of each line
- Using Document Map in Notepad++
- Notepad++ insert a blank line above or below the current line example
- Portable Notepad++ for windows
- How to format or prettify XML in Notepad++
More Posts:
- Android Studio SDK Build-tools 23 rc2 not getting installed - Android-Studio
- BeanDefinitionStoreException IOException parsing XML document from class path resource [spring.xml] - Java
- Base64 Encoding Decoding In Notepad++ - NotepadPlusPlus
- Your JBoss Application Server 7 is running However you have not yet added any users to be able to access the admin console - Java
- error CAML Query containing special characters - SharePoint
- [javaScript] Convert text case to lowercase - JavaScript
- Disabling Spell Check in Android Studio - Android-Studio
- Disable Chrome Notification bell from Mac OS X menu bar - Mac-OS-X
- How to Undo-Revert Sent Email in Google Gmail - Google
- List of jars required for Struts2 project - Java
- Error : Facebook SDK AndroidRuntime﹕FATAL EXCEPTION: main - Android
- Fail to connect to camera service Android java RuntimeException - Android
- Eclipse Error : The Eclipse executable launcher was unable to locate its companion shared library. - Eclipse
- JavaScript : Get current page address - JavaScript
- Make Android View Scrollable both Horizontally and Vertically - Android