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,
- [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:
- sudo is not recognized as an internal or external command - Windows
- Spotify is down for iOS and Android globally - error no internet connection available, something went wrong - News
- Unable to establish connection to adb : Android Studio Error - Android
- How to Use Command Prompt on a Mac? - MacOS
- Force convert HTML text input to upper case - Html
- Tutorial : Simple Lightweight Pure CSS based Vertical Navigation Menu - CSS
- Hide Navigation Bar from Android Screen Activity - Android
- SQL: Check if table exists - HowTos