No silent assumptions
file type, encoding and parse result are shown on screen.
Open XML, sitemap, RSS or SVG files as a tree, table or source. XPath search and CSV/JSON export. Nothing is uploaded.
Open an XML, sitemap, RSS or SVG file. Parsed in your browser — nothing is uploaded.
Processed in your browser — nothing is uploaded, even when you drop a file.
processed in your browser · never uploaded
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.
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 GoogleNo comments yet. Be the first.
Drop or paste your XML. Drop a file onto the zone or switch to Paste XML. Compressed .xml.gz files open directly.
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.
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.
Query, copy or export. Run an XPath query, copy a node’s XPath, then copy or download the XML, JSON or CSV.
We ran the same files through the popular alternatives first. These are the gaps we found, and what this tool does instead.
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.
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.
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.
file type, encoding and parse result are shown on screen.
repeating elements become a table you can export as CSV.
flags DOCTYPE, entities and external references.
nothing leaves your browser; check the Network tab.
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.
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.
.xml or .xml.gz file onto the drop zone, or switch to the Paste XML tab.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 filesYes. 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.
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.
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.
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.
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:
http:// and https:// URLs<loc> valueslastmod, and the range of lastmod datesTo validate the sitemap against the protocol, use the Sitemap Validator. To find pages that compete with each other, use the Sitemap Duplicate Content Scanner.
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.
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.
| 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 |
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.
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.
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.
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.
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.
Switch to Source and choose Formatted for indented XML, or use Table for repeating items. You can also download JSON or CSV.
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.
No. The file is parsed with your browser’s built-in XML parser. Check the Network tab in DevTools while you use it.
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.
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.
Open, sort, search, and inspect any CSV file directly in your browser. No uploads, no installs.
Minify JSON, beautify it back, and see the real compressed size. Flags duplicate keys your parser silently drops.