Skip to content

XML Viewer Online

Open XML, sitemap, RSS or SVG files as a tree, table or source. XPath search and CSV/JSON export. Nothing is uploaded.

on-device xml → tree + table free · no account

XML Viewer .xml → tree · table · XPath

Open an XML, sitemap, RSS or SVG file. Parsed in your browser — nothing is uploaded.

Drop an .xml file here
or browse — .xml, .xml.gz, .svg, .rss, .atom, .kml, .gpx, .opml, .txt

Processed in your browser — nothing is uploaded, even when you drop a file.

processed in your browser · never uploaded

How would you rate this tool?

Scope

What it is, and what it isn't.

Every tool on ToolsVale is scoped to one job. Here is exactly what this one does, and what it does not — so you know whether it fits before you start.

What it is

  • Is opens and inspects XML as a tree, source or table. Finds data with search and XPath 1.0. Flags sitemap problems and risky XML patterns.

What it isn't

  • Isn’t not an XML editor (use a desktop editor). Not a schema validator (no XSD, DTD or XSLT). Not for very large files (fill in the limit you tested).
Comments

What people made of this one.

Notes from other visitors. Sign in with Google to add yours, or send a private suggestion straight to the developer.

Sign in to leave a comment. We only use Google — no passwords, no email spam.

Sign in with Google

No comments yet. Be the first.

How to use it

XML Viewer Online
in three moves.

01

Step 1

Drop or paste your XML. Drop a file onto the zone or switch to Paste XML. Compressed .xml.gz files open directly.

02

Step 2

Check the detection panel. It shows the file type, encoding, size and any sitemap or security flags. Change the encoding if the characters look wrong.

03

Step 3

Explore the data. Use Tree to collapse nodes and search, Source to read formatted or minified XML, and Table to see repeating elements as rows.

04

Step 4

Query, copy or export. Run an XPath query, copy a node’s XPath, then copy or download the XML, JSON or CSV.

Why this one

Built against the ways these tools disappoint.

We ran the same files through the popular alternatives first. These are the gaps we found, and what this tool does instead.

01

Sitemaps are just another file.

What we do instead: detects sitemaps, RSS and Atom, and flags duplicate URLs, mixed http/https, bad values and the 50,000-URL limit. Verifiable test: click Sample and read the Data Insights panel.

02

XPath 1.0 and default namespaces

What competitors get wrong: in XPath 1.0, //url returns nothing on a sitemap because of its default namespace, and many tools just show zero results. What we do instead: say why, and let you use the ns: prefix. Verifiable test: click Sample, run //url, then //ns:url.

03

Encoding and compression

What we do instead: auto-detect UTF-8 and UTF-16 (BOM) and the encoding declaration, offer a manual override, and open .xml.gz directly. Verifiable test: open a .xml.gz sitemap and read the info line.

Key Factors

What makes this XML viewer different

No silent assumptions

file type, encoding and parse result are shown on screen.

Table view

repeating elements become a table you can export as CSV.

Security scan

flags DOCTYPE, entities and external references.

Truly on-device

nothing leaves your browser; check the Network tab.

The detail

How this actually works.

Need an XML viewer that opens a file without installing anything? Use this free online XML viewer to open XML, sitemap, RSS, Atom and SVG files directly in your browser. Drop a file or paste the code, and it appears as a collapsible tree, formatted source or a table you can export.

The file is parsed on your device with your browser’s built-in XML parser, so it is not uploaded to a server. You can search the data, run XPath queries, check sitemaps for common problems and download the result as XML, JSON or CSV.

How to View an XML File

To view an XML file, drop it onto the viewer above or paste its contents and press View. The tool parses the file in your browser and shows it as a tree you can expand and collapse, as formatted source with line numbers, or as a table of repeating items.

  1. Open or paste your XML. Drop a .xml or .xml.gz file onto the drop zone, or switch to the Paste XML tab.
  2. Read the detection panel. It shows what kind of file you opened (a sitemap, an RSS feed, an SVG or generic XML), the encoding, the size and any problems found.
  3. Explore the data. Use Tree to collapse nodes and search for a tag, attribute or text. Use Source to read the formatted or minified code. Use Table to see repeating elements as rows.
  4. Query or export. Run an XPath query, copy the XPath of any node, then copy or download the XML, JSON or CSV.

How Can I Open an XML File Online?

Open this page, drop your XML file onto the viewer and press View. The file is read locally by your browser, so you can open private feeds, configuration files, exports and sitemaps without uploading them anywhere.

The viewer accepts these file types:

  • .xml and plain text files that contain XML
  • .xml.gz compressed files, such as gzipped sitemaps, which are decompressed in your browser
  • .rss and .atom feeds
  • .svg images, which are XML underneath
  • .kml, .gpx and .opml files

Can I Open XML in Chrome?

Yes. Chrome can open a local XML file and shows it as a basic collapsible tree. It does not give you a table view, XPath queries, encoding control, sitemap checks or an export to JSON or CSV. Use an online XML viewer when you need to analyse the file rather than just look at it.

How Do I Convert an XML File to Readable?

Switch to the Source view and choose Formatted to see the XML with clean indentation and line numbers. If your file contains repeating items, such as products, URLs or feed entries, open the Table view to read them as rows and columns. You can also download the data as JSON or CSV.

XML Viewer for Windows, Mac, Android and iPhone

This XML viewer runs in the browser, so there is nothing to download or install. It works the same on Windows, macOS, Linux, Android and iPhone. If you were searching for an XML viewer download, an extension or an app, you can use this page instead and keep your files on your device.

What Is an XML File?

XML stands for Extensible Markup Language. An XML file stores data as nested tags, which makes it easy for programs to read but hard for people to scan, especially when the whole file is on a single line. You will meet XML in sitemaps, RSS and Atom feeds, SVG images, Android and Java configuration files, SOAP messages, GPS tracks and data exports from older systems.

How to View a Sitemap.xml File

Open your sitemap.xml or sitemap.xml.gz in the viewer and it detects the sitemap automatically. The Table view lists every URL with its lastmod, changefreq and priority, and the Data Insights panel checks for:

  • Duplicate URLs listed more than once
  • Mixed http:// and https:// URLs
  • Empty or relative <loc> values
  • URLs with no lastmod, and the range of lastmod dates
  • More than 50,000 URLs or a file over 50 MB, which are the limits for a single sitemap file

To validate the sitemap against the protocol, use the Sitemap Validator. To find pages that compete with each other, use the Sitemap Duplicate Content Scanner.

Why Does My XPath Return No Results on a Sitemap?

Sitemaps declare a default namespace, and XPath 1.0 cannot match elements in a default namespace without a prefix. A query such as //url therefore returns nothing, even though the URLs are there. In this viewer you can use the built-in ns: prefix, for example //ns:url/ns:loc, or the namespace-agnostic form //*[local-name()='url']. When a query returns no results on a namespaced document, the viewer tells you this.

What This XML Viewer Checks for You

File type. Sitemaps, sitemap indexes, RSS feeds, Atom feeds and SVG files are recognised and summarised, so you see the number of URLs, items or entries immediately.

Encoding. The viewer reads the byte order mark and the encoding declaration to choose the right character set, and you can override it if accented characters look wrong. It shows which encoding it used.

Security patterns. Files that contain a DOCTYPE, entity declarations or references to external resources are flagged. Your browser does not fetch external entities, but a server-side parser might, which is the basis of XXE attacks. Seeing the warning before you pass a file on is useful.

Errors. If the XML is not well-formed, the viewer shows the parser message and the lines around the problem, so you can find the mismatched or unclosed tag.

XML Viewer vs Other Ways to Open XML

Method Best for Installation Main limitation
ToolsVale XML Viewer Reading, searching and exporting XML quickly No Viewer, not an editor
Chrome (built-in) A quick look at a local file No No search, table, XPath or export
Text editor Editing small files Usually available Hard to read without formatting
Desktop XML editor Editing, schemas and large projects Yes Heavier than a quick preview

Where This Tool Loses

This is a viewer, not an editor. You cannot change values, delete nodes or save edits, so use a desktop XML editor for that.

It checks that XML is well-formed, but it does not validate against an XSD or DTD schema, and it does not apply XSLT stylesheets. XPath support is XPath 1.0, which is what browsers provide natively.

Formatting trims whitespace around text, which is harmless for data files but can change the look of mixed content such as documents with text between tags. The Original view always shows exactly what you opened.

Everything runs on your device, so very large files depend on your browser and available memory. [FILL: add the largest file size you tested, for example “Tested with files up to X MB in Chrome.”] If a file is not UTF-8, choose the right encoding from the menu.

Related Tools

Working with other data files? Try the CSV Viewer, the Markdown Viewer, the JSON Minifier and JSON Stringify. For SEO files, see the Sitemap Validator and the Broken Link Checker.

FAQ

The questions people actually type in.

How do I view an XML file?

Drop the file onto the viewer or paste its contents. The tool parses it in your browser and shows a collapsible tree, formatted source, or a table. Nothing needs installing, and no data leaves your device.

How can I open an XML file online?

Open this page, drop your .xml or .xml.gz file, and press View. The file is read locally, so you can open private feeds, sitemaps and exports without uploading them.

Can I open XML in Chrome?

Yes. Chrome shows a local XML file as a basic tree. It has no search, table view, XPath, encoding control or sitemap checks, so use this viewer when you need to analyse the file.

How do I convert an XML file to readable?

Switch to Source and choose Formatted for indented XML, or use Table for repeating items. You can also download JSON or CSV.

Why does my XPath return no results on a sitemap?

Sitemaps use a default namespace, and XPath 1.0 needs a prefix for it. Try //ns:url, or //*[local-name()='url']. The viewer shows this hint when it applies.

Is my XML uploaded to a server?

No. The file is parsed with your browser’s built-in XML parser. Check the Network tab in DevTools while you use it.

How large a file can it open?

Fill this in after your benchmark, for example “Tested up to X MB in Chrome”. Tree and table load rows in batches. Limits depend on your device’s memory.

Next

Tools people use with this one.

All 53 tools
30-90 seconds New

Sitemap Validator

Free sitemap validator that actually fetches every URL. Checks XML syntax, live URL health, robots.txt, and hreflang across Google, GPTBot, ClaudeBot & PerplexityBot. No signup.

server · 1h delete Open

CSV Viewer

Open, sort, search, and inspect any CSV file directly in your browser. No uploads, no installs.

on-device Open
json -> json.min

JSON minifier

Minify JSON, beautify it back, and see the real compressed size. Flags duplicate keys your parser silently drops.

on-device Open