File viewer

XML Viewer

Paste XML or drop an XML file to inspect it as a readable tree, formatted source, or raw document without uploading it anywhere.

Runs Locally

This tool runs in your browser. Files never leave your device.

Drop an .xml file here or paste XML below.

Drag and drop an XML, XSD, RSS, Atom, or SVG-style XML file anywhere inside this input card.

XML output

0 elements · 0 attributes · 0 text nodes

Valid XML
Tree view and formatted source are ready.

What this tool does

XML Viewer opens an XML file and renders it as a clean, indented, collapsible tree, so nested tags become easy to follow. Expand and collapse elements, read the attributes, and find your way around a feed, config, or export without squinting at one unbroken block of markup.

How it works

Paste your XML or open a file, and the viewer parses it in your browser and shows a formatted, foldable structure. Expand the parts you care about and check that it is well-formed. Nothing is uploaded.

When to use XML Viewer

Reading an XML feed or API response
Exploring a config or sitemap file
Checking that a document is well-formed
Navigating deeply nested markup