English

View a XML file online, free

View and format .XML files online. Pretty-print and explore XML as a tree, free.

Drop your .XML file here

Opens your .XML file right here.

Choose file
Up to 50 MB · JSON, XML, YAML, TOML, INI
Instant. Opens in seconds
No sign-up. Just open it
100% free. No limits on use

How to open a JSON file online

Three steps, a few seconds, no software.

01

Open your .XML file

Drop it on the box, choose it from your device, or paste the data straight in.

02

View the structure

Your .XML file opens as a tidy, foldable tree, with the exact line of any error pointed out.

03

Search, copy or download

Search keys and values, copy any path or value, switch to a table, or download a clean copy.

What is a .XML file?

The most common data format on the web.

An XML file is a plain-text document that stores structured data in nested, custom tags. Because it is just text, any text editor opens it: drag it into a browser tab for a quick, collapsible view, or use Visual Studio Code or Notepad++ for editing. You do not run an XML file; programs read it.

Programs that open .XML files

Windows
Microsoft Excel, Microsoft Visual Studio, Notepad, Altova XMLSpy, Notepad (built-in), Visual Studio Code
macOS
TextEdit, BBEdit, Visual Studio Code
Linux
gedit / GNOME Text Editor, Visual Studio Code, xmllint (libxml2)
Web
Code Beautify XML Viewer
.XML format details
Full nameExtensible Markup Language Document
DeveloperW3C (World Wide Web Consortium)
First released1998 (XML 1.0 W3C Recommendation, February 10, 1998)
CategoryText & Code
MIME typeapplication/xml
Signature3C 3F 78 6D 6C "

Related viewers

Every viewer is free to use.

Frequently asked questions

Is my .XML file uploaded anywhere?

No. The file is opened directly from the copy you pick.

My .XML file is invalid. Can you fix it?

We show the exact line and column of the first error. For common problems like comments, trailing commas, single quotes or Python-style True/False/None, click Try to repair and download the fixed file.

How large can the file be?

Up to 50 MB. The tree only builds the branches you open, so even multi-megabyte files stay responsive.

What is JSONPath?

A path like $.orders[3].customer.email that points to one value inside the data. Click any node to see its path and copy it for code, jq or your API docs.

Can I see my data as a table?

Yes. Any array of objects can be shown in the Table view and downloaded as CSV.

Was this tool helpful?

Your rating helps us decide which tools to improve next.

Be the first to rate this tool.
Found a problem?