XML Formatter - Free Online XML Beautifier & Validator | IconVault
Pretty-print, minify and validate XML in your browser, with an XPath query box. Free, instant, nothing uploaded.
XML Formatter
Pretty-print, minify, validate and query XML with XPath
XML input
5 of 5 free format/minify/XPath runs left. Validate is unlimited, and everything runs in your browser, nothing is uploaded.
XPath query
Run an XPath expression against the XML above using document.evaluate. Node sets, single nodes, strings, numbers and booleans are all shown.
About this tool
IconVault's XML Formatter takes messy or minified XML and pretty-prints it with clean indentation, or minifies it down for transport. It also validates your document and reports parse errors with line and column numbers, so you can fix malformed feeds, configs and API payloads fast. A built-in XPath query box powered by document.evaluate lets you extract exactly the nodes you need.
Parsing and formatting happen fully in your browser using the native DOMParser, so your data is never uploaded to a server. It is free with no signup and no limits. Honest note: it validates well-formedness, not schema conformance, so it will not check your document against an XSD or DTD.
Frequently asked questions
Popular searches
More tools
Code Playground
Write HTML, CSS & JS with live preview.
JSON Formatter
Beautify, validate & minify JSON.
Base64 Encoder
Encode & decode text and files.
JWT Decoder
Inspect tokens without sending them anywhere.
Coming soon
CLI
Coming soon
Figma plugin
Coming soon
VS Code extension
Coming soon
Chrome extension
Coming soon
AI icon generator
Coming soon
Team workspaces
Coming soon