OnlinePCApps · Free online app

Free Online XML Viewer

Open, read and format any XML file in your browser. Tree view and pretty-print in under a second.

File tools from OnlinePCApps since 2013

0 bytes uploaded No sign-in No upload limit Tree view built in
0
Bytes uploaded
<1s
Typical open time
∞
Files per day
$0
Cost, always
Need it faster?

Batch-Process Your XML Files

Reading one XML at a time works well here and covers most people. Have a folder of XML files to format or validate, or need more speed? The desktop app runs those batch jobs without a browser tab in the way.

Get Desktop Version Free trial · Windows 7 to 11
When you need this

When Raw XML Is Hard to Read

These are the situations that bring people to OnlinePCApps. Each one takes about ten seconds to solve.

No XML Tool Installed

A locked-down work laptop or a fresh machine where IT will not let you install an editor or an XML tool.

Opens in the browser you already have. Nothing to install.

A Wall of Nested Tags

A config file, a feed or an export arrives deeply nested and you need to trace the structure now.

Laid out as a foldable tree, nothing modified.

The Data Is Confidential

A SOAP payload with credentials, a config with secrets, a data export. Pasting it into an online formatter is not a risk you want.

Nothing is transmitted. Check the network tab.
How it works

Open an XML Online in 3 Steps

instant XML

Pick the File

Drag it in or click to browse to open an XML file online. Your browser reads it straight off disk with the FileReader API.

instant

Read the Tree

View the XML as a tree: elements and attributes fold and unfold, text is highlighted and the nesting is clear at a glance.

instant

Save What You Need

Copy the formatted XML, copy any node or save the pretty-printed file. Then close the tab and nothing remains.

Open an XML File Free forever, no account Try Desktop Edition For folders and faster batches
The online app

XML File Viewer, on Any Device

The online XML file viewer exists so you can read and format XML on whatever screen is in front of you, right now.

On Your Phone

Open an .xml straight from your downloads folder without installing an editor.

On a Tablet

iPad and Android tablets have no built-in XML viewer. This one needs no App Store trip and no account.

On a Locked-Down Laptop

Work machines where IT blocks installs still have a browser. That is all this needs.

On Someone Else's PC

Nothing is installed and nothing is left behind. Close the tab and it is gone.

OnlinePCApps XML Viewer is a free browser-based app that opens, reads and formats an XML file without uploading it. It needs no account and works on any device with a browser. If you have hundreds of files, or an XML too large for a browser tab to hold in memory, that is where the desktop tool takes over.

The difference

OnlinePCApps vs Upload Services

Most online XML viewers send your file to a server, queue it, then let you download the result. Here is what that costs you.

Capability This page OnlinePCApps Runs in your browser Typical upload-based service Sends your file to a server
Your file is sent to a server Never Yes, every time
Paywalled size tier None Commonly 20 MB
Account required No Usually for larger files
Time to first result Under a second Upload plus queue, often minutes
Cost per file $0 Often $8 to $12 a month above the free tier
Result expires Never, it is local Typically 24 to 48 hours
Your file leaves the device Never No
Data deletion promise needed Not applicable You have to trust it

Comparison describes the common upload-and-queue model used by server-based converters, not any single named product.

Privacy

We Cannot Leak What We Never Receive

Every upload-based service has to make you a promise: we will delete your file afterwards. That promise is only as good as their infrastructure and their word.

This page makes no such promise, because it does not need one. OnlinePCApps runs no upload endpoint and no server-side component for this app. Open your developer tools, open a file and watch the network tab stay empty.

$ Network tab while opening a 40 MB XML
→ external requests ....... 0
→ your XML file ....... 0 requests
0
Bytes transmitted
0
Accounts needed
0
Files stored
0
Trackers allowed
XML file format

What an XML File Actually Contains

An XML file is a tree of nested elements, written in plain text with a small set of markup rules. Every part below is one of those pieces, which is why a viewer can lay it out as a readable tree.

PartHeaderWhat it holds
Declaration<?xml ...?>The optional first line giving the version and encoding
Element<tag>...</tag>A named node with a start tag and an end tag
Attributename="value"A name and value pair placed on a start tag
TextcontentThe text sitting between a pair of tags
Rootone elementA single top-level element that wraps everything else
NamespacexmlnsA prefix that keeps names from different vocabularies apart
Comment<!-- ... -->A note the parser reads but ignores
CDATA<![CDATA[ ]]>A block of text kept raw, tags and all
Entity&amp; &lt;A stand-in for a reserved or special character
Processing<?target ?>An instruction aimed at the app reading the file
EncodingUTF-8The text encoding, named in the declaration

Standards this viewer implements

XML is a plain-text markup format. It is not a package or a binary file, so any parser reads it. OnlinePCApps parses it in the browser and lays it out as a foldable tree. The specifications below define the format.

Because XML is plain text with a strict grammar, the browser reads it natively, so the viewer adds only the tree layout, colouring and folding on top.

Alternatives

Other Ways to Open an XML File

The online XML viewer is not the only route. Here is what else works on each platform and where each option falls short.

On Windows

Notepad opens an XML as raw text, though it has no highlighting or folding.
Notepad++ and VS Code add syntax highlighting, tag folding and error markers.
Any browser renders XML as a collapsible tree when you open the file directly.
PowerShell reads it with the [xml] cast for scripting.
The editors need an install. The browser route needs nothing.

On macOS

TextEdit shows the raw text, and VS Code or BBEdit highlight it.
Safari renders the XML tree when you open the file in a tab.
xmllint runs on macOS too and formats and validates XML from the terminal.
None of these needs an account or an upload to read a file.

On Linux

xmllint is the standard command line tool for formatting and validating XML.
xmllint --format pretty-prints a file from the terminal.
Any text editor like nano, vim or gedit opens the raw file.
None of these lays the tags out as a foldable tree the way this viewer does.

When the XML Will Not Parse

An unclosed tag, a missing quote or a stray ampersand makes XML invalid. The viewer highlights the exact line where the parser fails so you can fix it.

An unclosed tag or a bad entity breaks XML. The viewer points to the line and column where the parser stopped.

When It Is All on One Line

Minified XML arrives as one long line with no spaces. The viewer pretty-prints it into an indented, foldable tree.

Minified XML has no line breaks at all. The viewer pretty-prints it into an indented tree you can actually read.
Desktop edition

Where the Browser Runs Out

A browser tab has real limits. The desktop tool was built for the work that sits on the other side of them.

Why OnlinePCApps Ships a Desktop Tool at All

A browser has to load the entire file into device memory before it can show you anything. That is fine for a normal file. It is not fine for a 2 GB archive. A phone runs out far sooner than a laptop does.

The desktop tool streams from disk instead. File size stops being a question you have to think about.

Online viewerbounded by device RAM
Desktop toolbounded by disk space
Truly offline

No connection at any point. It runs on air-gapped machines, on a plane and inside networks that block outside traffic entirely.

No size ceiling

Multi-gigabyte XML files open without the tab dying. The file is read in pieces from disk, never held whole in memory.

Whole folders at once

Point it at a folder of XML files and browse them in one place instead of opening one at a time, then the next, then the next.

Built for large batches

Hundreds of XML files at once without the memory ceiling a browser tab runs into.

Search across a folder

Find a tag or value across a folder of XML files at once across every file in an archive rather than only the one you have open.

Batch export to PDF

Format or convert an entire folder of XML files in one run.

Download the Desktop Tool Free trial · Windows 7 to 11 $39 one-time · not a subscription · 30-day money back
Pricing

Free Online or Paid Desktop

The browser app has no paid tier because there is no server cost to recover. The desktop tool is a one-time purchase.

What you are using now
Online XML Viewer
$0
Free, permanently
✓No paywalled size tierThere is no plan you can outgrow, because nothing is processed on our side. Your own device memory is the practical ceiling.
✓Unlimited filesOpen as many files as you like in a session. No daily counter and no cooldown.
✓No expiry on resultsFormatted files save straight to your machine. Nothing is held for 24 hours and then deleted.
Open a File

No card, no email, no account

Why is it free?
No servers to pay for
The honest version
•Static page, zero computeAll parsing runs in your browser, so serving this page costs about the same as serving a blog post.
•The desktop tool funds itPeople who need bulk work buy the desktop edition. That pays for the free apps.
•No data businessWe are not monetising your files or your email address, because we never collect either.
Personal
$39
One-time, not a subscription
✓Open whole folders at oncePoint it at a folder of XML files and browse them in one place instead of one at a time.
✓Handles very large batchesHundreds of XML files at once, without the memory ceiling a browser tab runs into.
✓Batch export to PDFConvert an entire folder of messages to PDF in one run, with headers preserved.
Download Free Trial

30-day money-back guarantee

Best value
Business
$79
One-time, up to 5 machines
✓Everything in PersonalSame engine, same formats, licensed for a small team rather than one seat.
✓Folder-wide searchSearch a tag or value across every file in a folder at once.
✓Priority supportDirect email support from the team that builds the app, not a ticket queue.
See Full Pricing

Volume licensing available

What users say

Used Where Uploading Is Not Allowed

The people who need this most are the ones who cannot send a file to a stranger's server.

Locked-down machines

Half our floor runs a hardened image with no editor and no install rights. When someone gets an XML export they used to raise a ticket. Now I send them this link.

Gordon Pryce IT administrator · mid-size firm
Old archives

We inherited a folder of XML exports from a system decommissioned years ago. The tree view made every record readable on a locked-down machine, which was the whole point of the audit.

Alison Hartnell Records manager · public sector
Confidential material

We handle discovery material that legally cannot touch a third-party server. This is the only online XML reader our compliance team cleared, because there is nothing to clear.

Neil Braithwaite Paralegal · litigation support
Every quote is published with the author's written permission. Names shortened on request.
FAQs

XML File Viewer Questions, Answered

XML is eXtensible Markup Language, a plain-text format that stores data in nested tags. Config files, feeds, office documents and many APIs use it. Any parser can read it.
Yes. XML is plain text, so any editor opens it, but this viewer parses it and lays it out as a foldable, coloured tree with nothing installed.
No. The file is read with the browser FileReader API and parsed in JavaScript on your own device. There is no upload endpoint because there is no server side to this app.
There is no plan tier to outgrow, but there is a practical ceiling. The browser holds the whole file in device memory, so a laptop handles large XML a phone cannot. Very large files are better in the desktop tool.
No. There is no account, no email capture and no trial. The app is a static page and works the moment it loads.
Parsing is local, so a typical file opens in well under a second. There is no queue, no upload time and no processing wait.
Yes. A file with no line breaks is indented into a clean tree you can read, and you can fold and unfold any element.
Yes, for well-formedness. If a tag is unclosed or an entity is wrong, the viewer points to the line and column where the parser stopped.
Yes. Prefixed elements and attributes keep their namespace, so a document that mixes several vocabularies still reads clearly in the tree.
Yes. Element and attribute text in Hindi, Arabic, Chinese, Japanese and accented European scripts renders correctly, because XML names its encoding in the declaration.
Yes. You can search for a tag name, an attribute or text and the viewer jumps to each match in the tree, even deep in the nesting.
Yes. Any element, attribute or whole branch can be copied on its own, so you can pull one node out without hunting through the raw markup.
The browser app opens one file at a time. For a folder of XML files, or to format and validate many at once, the desktop tool handles the batch.
Yes. It runs in mobile Chrome, Safari, Firefox, Edge, Opera and Brave, on Android and iOS. You can open an .xml straight from your downloads.
Yes, for reading. The file never leaves your device, so a config or a SOAP payload with credentials stays private, unlike an online formatter that uploads it.
Use the online viewer to read and format an XML on any device. Switch to the desktop app to process a folder, to convert between formats or to open a file too large for a browser tab.
Yes. Once installed it never needs a connection. It runs on air-gapped machines, on a plane and inside networks that block outside traffic. The online viewer needs the page to load once, then reads files offline too.
This is a viewer, so it reads and formats rather than edits. To change values and save, a code editor like VS Code or the desktop tool does that.
XML uses tags and supports attributes, namespaces and comments. JSON uses braces and brackets and is lighter. Both hold structured data, and this site has a viewer for each.
HTML is a fixed set of tags for web pages. XML lets you define your own tags for any kind of data, and its rules on closing tags are stricter.
The online app runs entirely in your browser, so serving it costs us about as much as serving a blog post. There is no upload, no processing and no storage on our side. The desktop tool does the heavy batch work and pays for the team.
Yes. The file stays on your device and the viewer only reads the markup. It does not fetch any external entity or DTD, so nothing in the file reaches a network.
Office files, RSS and Atom feeds, sitemaps, SOAP APIs, Android layouts and countless config files are all XML. Almost any system that exchanges structured data can produce it.
Who built this

The OnlinePCApps Research Team

OnlinePCApps Research Team

File and data tooling since 2013

Written & reviewed by
13
Years building
110
Apps shipped
3
Specs implemented
0
Files collected

We started in 2013 building desktop file and data software, which meant reading file formats byte by byte long before any of it ran in a browser. This viewer is that same work rewritten in JavaScript: it parses the XML grammar, builds the element tree and lays out every node without sending a single byte anywhere.

Standards implemented

XML 1.0 · W3C Namespaces · W3C DOMParser · Native FileReader API TextDecoder

How we test this app

Real XML from feeds, config files, office documents and SOAP APIs, not synthetic samples Nested deep nesting, mixed namespaces and CDATA blocks, so every node still resolves Non-English element text and numeric character references Minified files, mixed content and entity references handled with soft line breaks Malformed and truncated files, to check we fail with a message rather than a blank screen Re-verified against each major Chrome, Firefox, Edge and Safari release
Found a file we parse wrong? Tell us and we will fix it.

That XML Sitting in Your Downloads Folder

Drop it in and read it. Nothing to install, nothing to sign up for, nothing uploaded.

Open an XML File Free, no account Try Desktop Edition For folders and archives
Open XML File · Free