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.


Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!