How to use
Use this when Notepad++ formatting/plugins aren’t available or you want a quick, consistent result.
- Copy XML from Notepad++ and paste it into Input XML.
- Choose options (indent, tabs, keep comments, inline text-only elements).
- Click Format (pretty print) or Minify.
- If you suspect broken XML, click Validate to see the parse error.
- Click Copy Output and paste back into Notepad++.
FAQ
How do I format XML for Notepad++ using this tool?
Copy XML from Notepad++ into the input, click Format, then copy the output back into Notepad++.
Does this validate XML or only pretty print it?
It validates by parsing the XML and shows an error when the XML is not well-formed; otherwise it reports “Valid XML”.
Will minify change the meaning of my XML?
Minify removes whitespace between tags but keeps text content inside elements; always review if your XML relies on mixed-content whitespace.
Can I keep the XML declaration like <?xml version="1.0"?>
Yes—enable Keep XML declaration; it’s preserved only if it exists in your input.
Does it keep comments (<!-- like this -->)?
Yes by default; uncheck Keep comments to remove them from the output.
Why does Notepad++ show a different indentation than this tool?
Different formatters apply different rules; adjust indent size, tabs, and “Inline text-only elements” to match your preferred style.
Is my XML sent to a server?
No—formatting and validation run in your browser, and the tool does not make network requests.