Explore XML as an interactive tree — elements, attributes, expand, collapse & copy

XML Input
Copy
Tree Explorer
Enter XML on the left to explore it as a tree…

Click a node to expand/collapse. Hover any value and click the copy icon to copy it. Everything runs in your browser — your data is never uploaded.

XML Viewer — Explore XML as an Interactive Tree

Paste any XML and explore its structure as a collapsible tree. Elements, attributes and text all become nodes you can expand, collapse, search and copy — far easier to read than raw XML for large documents (SOAP responses, RSS feeds, sitemaps, build files). Parsing uses the browser's native DOMParser per the W3C XML spec, entirely in your browser — your data is never uploaded.

Features

  • Tree explorer — click to expand/collapse any element
  • Attributes & text — shown as @attributes and #text nodes
  • Search by key or value — filter tags, attributes and text, with highlights
  • Expand all / Collapse all — toggle the whole tree in one click
  • Hover to copy — copy any value or an entire element subtree
  • 100% private — parsed and rendered entirely in your browser, no upload, no signup

Common use cases

  • Inspect a SOAP or REST XML response and copy one element
  • Read an RSS/Atom feed or an XML sitemap at a glance
  • Navigate a build/config file (pom.xml, .csproj, Android manifest)
  • Find a tag or attribute fast by searching the tree

Why this XML viewer

Repeated sibling tags collapse into arrays and attributes are surfaced explicitly, so the tree reflects the document's real shape. The same searchable explorer also handles JSON, YAML and TOML — one tool for every data format, free and client-side with nothing sent to a server.

How to use

  1. Paste or type XML into the editor on the left.
  2. Explore the tree on the right — click nodes, search, or use Expand all / Collapse all.
  3. Hover any value and click the copy icon to copy it.

Related tools