Explore XML documents in a clear, expandable tree. Upload an XML file or paste XML to search elements, attributes and text, inspect document statistics, and copy or download the source. Everything is processed locally in your browser.
The XML Viewer displays an XML document as an expandable tree, making its elements, attributes and text easier to inspect than raw markup. Open a file or paste XML to explore the document structure in your browser.
<book id="bk-101" available="true">
<title>Learning XML</title>
<price currency="EUR">24.95</price>
</book>
The tree shows book as the parent element, its id and available attributes, and the nested title and price elements. Expand any element to explore its contents.
Search for a value such as bk-101 or an element name such as title. The viewer keeps the matching element and its path visible. Statistics summarize the element, attribute and text-node counts and the deepest element nesting level.
& for an ampersand.The XML Viewer parses your document locally in your browser. Your XML file is not uploaded to a server or stored by this tool.