XML files are really hard to read if not in proper indentations. An easy way to do so is by using text editors like sublime and notepad++.
If you have an XML file with data unformatted, notepad++ is a great tool to format (indent or prettify) your XML file contents.
But the XML formatting plugin is not added to notepad++ by default. So you need to download libXML2-based plugin called XML tools
Downloading XML tools plugin:
- Go to notepad++ menu, under Plugins -> Plugin Manager -> Show plugin Manager.
- Now look for XML tools and tick the respective check-box, and Download the plugin.
- You will be asked to restart notepad++ after the plugin is installed to take effect.
Lets test the xml plugin:
Open your XML file that needs to be formatted.
Now go to Plugins -> Plugin Manager -> XML Tools -> Pretty Print (XML Only), you will see that the data of the xml file is now well formatted.

Pretty print XML in Notepad++ using XML tools.png

Result - XML file Prettified using Notepad++.png
More Posts related to NotepadPlusPlus,
- How to hide toolbar on Notepad++
- Change the default Line Encoding Notepad++ (CR LF)
- Notepad++ is about to exit prompt message
- How to force quit or kill Notepad++ Process
- Add Blank Lines Between Each Lines in Notepad++
- Install Notepad++ silently using Windows Powershell
- Prettify JSON in Notepad++
- Notepad++ Convert text from lower to upper case
- Must have CSV Plugins for Notepad++
- How to lock Notepad++ tabs?
- Column Mode Editing in Notepad++
- How to change background color in Notepad++
- Notepad++ sort by name with example
- How to rename a tab in Notepad++
- [Solved] Notepad++ Menu Bar Missing
- Where are Notepad++ temp unsaved files stored?
- Notepad++: How to add Quotes to CSV File
- How to check about details of Notepad++ text editor
- How to close all tabs of Notepad++?
- How choose alternate Tab Bar icon in Notepad++
- How to copy file name and path to clipboard in Notepad++
- Change default language highlighting in Notepad++
- Add Line Number before each line in Notepad++ using Column Editor
- Go to Line Number option in Windows Notepad
- How to show End of Line Characters in File using Notepad++
More Posts:
- Bash Command to Check IP Address - Bash
- How to URL Encode Data for a cURL Request Parameters - cURL
- How to connect to an FTP or SFTP location using Notepad++ - NotepadPlusPlus
- Installing AWS CLI Version 2 on macOS Sonoma using Terminal - AWS
- Save current timestamp in MySQL using PHP mysqi binding - PHP
- Create S3 bucket and upload files using AWS Toolkit for Visual Studio Code - AWS
- Path of homebrew (brew) installation in macOS Big Sur - MacOS
- How to Run Gradle Build Without Unit Test Cases - Gradle