+ +

Free tool · XML file viewer

Free XML viewer

Paste XML or open an .xml file and explore it as a collapsible tree. Errors point to the exact line and column. Format it, minify it, or publish it as a shareable link.

+ +
Loaded: invoice.xml
Well-formed XML
<!--Exported from the billing system-->
<issued>2026-10-29</issued> line 4
<name>Acme Studio</name> line 6
<email>billing@acme.example</email> line 7
<addresscountry="EE">Tartu mnt 2, Tallinn</address> line 8
<description>Website refresh & launch</description> line 12
<amount>4800.00</amount> line 13
<description>Hosting, 12 months</description> line 16
<amount>15.50</amount> line 17
<notes>Paid by bank transfer. Thank you!</notes> line 20
685 B · 14 elements · 8 attributes · depth 4 Runs in your browser. We don't store what you open or paste.
✓Your page live in seconds ✓An unlisted link you can send anyone ✓Claim it free to keep it live

The page shows the formatted XML as text, never as a running document. Published free with no signup, it is live for 7 days; sign up free to keep it. A published page is public to anyone with the link and noindex.

+ +

How it works

Open and check an XML file in three steps

An XML viewer turns a file of nested tags into something you can read: indented, checked, and laid out as a tree you open element by element. Paste XML or drop a file into the viewer above and it is checked as you type, entirely in your browser, with nothing uploaded to a server.
1

Paste or drop

Paste XML into the editor, or open an .xml file. It is checked as you type, and a broken file shows the line and column of the first error with a plain reason.

2

Explore the tree

Open and close elements in the tree, with attributes inline, child counts on closed branches and the line each element starts on. Or switch to the formatted view.

3

Format, copy, or publish

Pretty-print with a 2-space indent or minify to one line, copy the result, or publish the formatted XML as a page you can send as a link.

+ +

Where XML comes from

An XML file viewer for the files you get handed

Most XML is written by one program for another, and a person only reads it when something does not import. The tree shows the structure; the error line shows where it stops being XML.

Feeds and sitemaps

RSS and Atom feeds, sitemap.xml files and podcast feeds: check that a feed is well-formed before a reader or a crawler rejects it, and see every item at a glance.

Exports and invoices

E-invoices, bank statements, CRM and accounting exports arrive as one long XML file. Open it to find a value, count the records, and spot the tag that breaks the import.

Config and data files

Android layouts, Maven pom.xml, .csproj, .plist, KML and GPX tracks, SVG source: open the file in your browser and read it as a tree, no editor needed.

+ +

The next step

Share formatted XML as a page

A pasted XML blob loses its indentation in chat and email. Publish the formatted XML as a page instead: on its own URL, isolated from your account data, and free for 2 public pages.

Noindex by default

Published pages tell search engines to stay away, so a shared export won’t surface on Google the way most free paste sites can.

Password protection

On Solo and Team, lock pages that hold customer data with an encrypted password we can’t read, enforced before the page ever loads.

View tracking

An XML attachment goes quiet once it is sent. A page counts every view, and Solo and Team add unique viewers, country and time on page.

+ +

More free tools

Other viewers and converters

JSON viewer

Format, validate and explore JSON as a collapsible tree, with errors shown by line and column.

Open the JSON viewer →

HTML encoder

Escape < > & and quotes as entities, or decode &lt; and &#233; back into text.

Encode or decode HTML →

SVG viewer

An SVG is XML you can see: render it, check its size, and download or publish it.

Open the SVG viewer →
+ +

XML viewer FAQ

Open this page, choose Open a file and pick the .xml file, or drop it on the box. It opens as a tree you can expand, with every element, attribute and text value, and it works the same on Windows, Mac, Chromebook, iPhone and Android. Nothing is installed and the file stays on your device.

+ +

Send the data, not the attachment

Free for 2 public pages. Solo is $15/mo and adds custom domains, passwords, and full view tracking.