How to use the XML Viewer
- Open an .xml file (SVG, RSS and sitemap files work too).
- Explore it as a collapsible tree or read the formatted source.
- Search to reveal matching elements, attributes and values.
Reading XML as a tree
Elements become expandable nodes, attributes are shown with an @ prefix, and text content as #text. Repeated elements are grouped into lists, so you can see at a glance how many <item> or <url> entries a feed or sitemap contains.
Well-formedness check
The file is validated as it opens. If a tag isn't closed, attributes aren't quoted or the nesting is wrong, you'll see the exact line and column. To fix formatting, use the XML formatter.
What people open with it
- Sitemaps — count the URLs in a sitemap.xml and check each entry's
lastmoddate. - RSS and Atom feeds — see every item's title, link and publication date without a feed reader.
- SVG images — inspect the paths, groups and attributes inside an icon or illustration.
- Data exports and config — invoice exports, Android layouts, Maven
pom.xmlfiles and other XML formats.
Tree view or formatted source?
The tree is best for understanding structure and finding values: search filters it to the elements, attributes and text that match. The formatted source shows the document as XML again, indented consistently, which is what you want when copying a fragment into code or a ticket. Copy and Download always give you the formatted XML. Files up to 50 MB can be opened.
Frequently asked questions
Is my file uploaded?
No. It's parsed in your browser.
Why does my file say it isn't well-formed?
XML is strict: every opening tag needs a matching closing tag, attribute values must be quoted, and characters like & must be written as &. The error shows the line and column where parsing stopped; the real mistake is usually on that line or just before it.
Can I convert XML to JSON?
Yes. The tree shows the same structure the XML to JSON converter produces; use that converter to download the JSON file.
Are external entities or DTDs loaded?
No. Nothing referenced by the file is fetched, which also protects against XML entity attacks.