XML Viewer

View an XML document as a collapsible tree of elements, attributes and text, so you can navigate large feeds or SOAP responses without reading raw tags. Runs in your browser.

Suggested tools

JSON Viewer

View JSON as a collapsible tree.

JSON
Open Tool

YAML Viewer

View YAML as a collapsible tree.

YAML
Open Tool

JSON to XML

Convert JSON into well-formed XML.

JSONXML
Open Tool

XML to JSON

Convert XML into clean JSON.

XMLJSON
Open Tool

XML Formatter

Beautify, minify and validate XML instantly in your browser.

XML
Open Tool

XML to CSV

Turn list-style XML into a CSV table, one row per record.

XMLCSV
Open Tool

About XML Viewer

XML Viewer displays an XML document as a collapsible tree of elements, attributes and values, so you can navigate large SOAP responses, RSS feeds, sitemaps or configuration files without reading raw tags.

Click any element to expand or collapse it; each one shows how many children it has. The XML is checked for well-formedness first. Everything runs locally in your browser — the text you paste is never uploaded.

How to use XML Viewer

  1. Paste XML or upload an .xml file.
  2. Press View Tree.
  3. Expand and collapse elements to explore the document.

Key features

  • Collapsible element tree
  • Attributes shown alongside elements
  • Child counts for every element
  • Clear error when the XML is not well-formed

When to use XML Viewer

  • Exploring a large SOAP response or XML export.
  • Understanding the structure of an unfamiliar feed.
  • Finding where a particular element sits in a deep document.

Tips and common problems

  • Attributes appear with an @_ prefix next to child elements.
  • Collapse sections you do not need to keep the tree readable.
  • If the tree does not appear, check the error message — the XML may not be well-formed.

Frequently asked questions

As entries prefixed with @_ under their element, so you can tell them apart from child elements.