Open an XML file
A collapsible tree instead of a wall of angle brackets. Fold away what you do not need, search for what you do, and see attributes and namespaces clearly.
- Processed on your device
- No upload, no waiting
- No signup, no watermark
Paste XML, an RSS feed, an SVG or a config file and it appears here as a tree.
How it works
Paste or drop the file
XML, RSS, Atom, SVG, a sitemap, a config file — anything that is XML.
Explore the tree
Collapse branches, expand the one you want, and see how deep the document goes.
Search inside it
Find an element, an attribute or a value without reading the whole thing.
Frequently asked questions
Is my file uploaded?
No. The file is read on your own device by code that runs inside this page. Nothing is uploaded, nothing is stored, and it works with the Wi-Fi switched off once the page has loaded.
What happens if the XML is broken?
You get the line, the column and the character, with the offending line shown and a caret under the spot — the same reporting as our XML Validator. A viewer that just says "could not parse" leaves you no better off than before.
Does it show attributes and namespaces?
Yes. Attributes are shown on their element rather than hidden, and namespace declarations are called out — an undeclared prefix is one of the commonest reasons XML fails to parse somewhere else, and it is invisible in a plain text view.
Can it open an RSS or Atom feed?
Yes, those are XML. So are sitemaps, SVG images, Android layouts, Maven POMs and most configuration files. If it is XML, it opens here.
Is this the same as the XML Formatter?
They answer different questions. The formatter gives you indented XML text to copy back into a file. This gives you a tree to read and explore, with branches you can fold away — better when the document is large and you are looking for something rather than editing it.
How large a file can it open?
Your device's memory rather than an upload cap. Large documents open collapsed so you are not waiting for thousands of nodes to be drawn before you can do anything.