What is XML?
DefinitionXML (Extensible Markup Language) is a W3C standard markup language and file format for storing and exchanging structured data in a form that both people and machines can read.
Also known as Extensible Markup Language
XML became a W3C Recommendation in 1998 as a simpler subset of SGML. Unlike HTML, it has no fixed set of tags: authors define their own elements and attributes to describe their data, and schemas can enforce a structure. A document must be well-formed, with properly nested and closed tags, or XML parsers will reject it.
XML underpins many web formats, including RSS and Atom feeds, XML sitemaps, SVG graphics, XHTML and the EPUB ebook format, and it was long the main format for web services and data exchange. JSON has since replaced it in many APIs because it is lighter and maps directly to JavaScript objects, but XML remains common in publishing, finance and enterprise systems.
XML resources
Compare: JSON vs. XML
Topics: Web development, Web standards and protocols
Cite this definition
- APA
What is XML? (2026, November 22). Glossary. https://glossary.io/xml/
- MLA
“What Is XML?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/xml/.
- Chicago
“What Is XML?” Glossary. Coywolf. November 22, 2026. https://glossary.io/xml/.
- HTML link
<a href="https://glossary.io/xml/">What is XML?</a>
Published