Free · See the shape of an XML file

XML Tree Viewer

Turn nested XML into a simple indented outline with element names, attributes, and short text.

  • Clear result
  • Private in your browser
  • Copy or download

See the shape of an XML file

Paste text or open a file. The result stays in this browser tab.

XML to explore13 lines · 378 characters

Tip: press Ctrl or Command + Enter to run.

Tree outlineResult ready
Elements9
Depth3
StatusTree ready
catalog  [updated="2026-08-12"]
  book  [id="bk-101" language="en"]
    title: The Small Garden
    author: Mina Lee
    price  [currency="CAD"]: 18.50
  book  [id="bk-102" language="fr"]
    title: Le ciel bleu
    author: Noah Roy
    price  [currency="CAD"]: 21.00

Three simple steps

How to use it

  1. Paste XML or open a file from your device.
  2. Press Show XML tree to make an indented outline.
  3. Use the outline to learn which elements sit inside other elements.

Your file stays on this device

fast-xml-parser reads and changes the text inside this browser tab. Bookify does not upload or save it. For safety, this tool does not open XML files with a DOCTYPE.