.xml

What is a .xml file?

XML is a markup language for structured data that uses opening and closing tags to define every element — verbose but precise, and still foundational to countless systems.

Safe format
Type Data
By W3C
MIME application/xml

Drop any file to identify it

We read file headers, not extensions. Nothing gets uploaded.

What is it

XML is a markup language for structured data that uses opening and closing tags to define every element — verbose but precise, and still foundational to countless systems. The grandfather of structured data. XML was going to be the universal language of the internet — every system would speak it, every document would be encoded in it. That vision was partly realised and partly replaced by JSON. It powers RSS feeds, SOAP APIs, SVG graphics, and the internals of every DOCX, XLSX, and PPTX file (unzip one and look inside). Android layouts are XML. Maven build files are XML. Enterprise software runs on XML. It is not trendy, but it is everywhere and it is not going away.

Technical details
Full Name
Extensible Markup Language
MIME Type
application/xml
Developer
W3C
Magic Bytes
3C 3F 78 6D 6C
Safety
.xml is a known, safe format.
What opens it
Any text editor
FREE All
Any web browser
FREE All
VS Code
FREE All
FAQ
What's the difference between XML and JSON?
JSON is lighter, easier to read, and dominant in modern web APIs. XML is more verbose but supports schemas, namespaces, and attributes — features that matter in enterprise and document-oriented systems. JSON won the web; XML still runs the enterprise.
How do I open an XML file?
Any text editor or web browser. For large or complex XML, use VS Code with an XML extension, or a dedicated tool like XMLSpy. The file is just structured text.
Is XML still used?
Very much so. DOCX files are XML. RSS feeds are XML. SOAP APIs, SVG graphics, Android layouts, Maven builds — all XML. It has fallen out of fashion for new web APIs (JSON won that battle) but it remains deeply embedded in existing systems.
Related formats