Zum Hauptinhalt springen
Bildkonverter Videokonverter Audiokonverter Dokumentkonverter
Werkzeuge Anleitungen Formate Preise API
Anmelden
🇬🇧 English 🇪🇸 Español 🇧🇷 Português
XML file
xml
Dateiformat

Über XML-Dateien

XML Dokument

Veröffentlicht 1998 Von W3C (Tim Bray, Jean Paoli, C. M. Sperberg-McQueen)

Das XML-Format ist eine Dateispezifikation, die in verschiedenen professionellen und privaten Kontexten verwendet wird. Wandle XML-Dateien online und kostenlos zu anderen kompatiblen Formaten mit dem KaijuConverter um — keine Anmeldung, keine Software-Installation, sicher und privat. Die Verarbeitung erfolgt in der Cloud mit Verschlüsselung während der Übertragung und automatischer Löschung nach zwei Stunden.

Familie

Documents & Text

Erweiterung

.xml

MIME-Typ

application/xml, text/xml

Kann verwendet werden als

Eingabe
Die Geschichte

WIE DAS
FORMAT XML ENTSTAND.

1986
1998

XML — Extensible Markup Language — was ratified by the W3C in February 1998 as a simplified subset of SGML (which had been an ISO standard since 1986). The design goal was elegant: all the power of SGML\u2019s customizable tags, but in a format simple enough that anyone could write a parser over a weekend. For the five years after 1998, XML was genuinely exciting — it underpinned SOAP, RSS, XHTML, DocBook, SVG, and countless vertical industry standards (HL7 for healthcare, FIXML for finance).

Then JSON happened. For most lightweight API work JSON was 30% smaller, vastly easier to parse, and worked natively in browsers. XML retreated into strongholds where its strengths mattered: schema validation (XSD), digital signatures (XML DSig), document semantics (DocBook, TEI), vector graphics (SVG), and enterprise integration (SOAP, XBRL). Those niches are still alive and standardized — XML is not dead, it just handed the casual lane to JSON.

WISSENSWERTES UND
INTERESSANTE FAKTEN.

01

XML was designed by an 11-person working group in roughly 20 weeks — unusually fast for a W3C standard.

02

An XML document that follows only the syntax rules is "well-formed"; one that also matches a schema is "valid".

03

SVG, DocBook, TEI, MusicXML, GPX, and countless other vertical formats are all XML under the hood.

04

XML namespaces were added in 1999 to let documents mix tags from multiple schemas without name collisions.

05

The fastest pure-Java XML parser (Aalto) can parse 1 GB of XML in under 10 seconds on commodity hardware.

VORTEILE UND
EINSCHRÄNKUNGEN.

Vorteile

  • Self-describing tags make documents semantically rich and human-readable.
  • Schema validation (XSD, RelaxNG, DTD) catches structural errors before they hit production.
  • Namespaces let unrelated vocabularies coexist in one document.
  • Mature ecosystem: XPath, XSLT, XQuery, DSig, XML Encryption all layer on top.
  • Preferred format for regulated industries (healthcare, finance, government) that require validation and audit trails.

Einschränkungen

  • Verbose — file sizes are typically 2-5× larger than equivalent JSON.
  • Parsing is expensive compared to JSON, especially for small messages.
  • Namespaces and DTD processing have historically been security attack vectors (XXE, billion-laughs).
  • Learning curve is steep for the advanced stack (XSLT, XSD, XPath).
  • Most developers today prefer JSON; XML tooling is aging.

Typische Dateigrößen

Small config file

1-10 KB

RSS feed

10-200 KB

Enterprise SOAP message

50 KB - 2 MB

Wikipedia XML dump

~20 GB compressed, ~100 GB raw

Technische Spezifikationen

MIME types
application/xml, text/xml
Extensions
.xml, plus format-specific (.svg, .xsd, .xsl, .rss, .atom)
Standard
W3C XML 1.0 (Fifth Edition, 2008)
Character encoding
UTF-8 or UTF-16 (declared in prolog)
Related
XSLT, XPath, XQuery, XSD, XML DSig

UMWANDELN VON
XML

Häufige Anwendungsfälle

Data interchange, configuration files, API responses, structured data.

Verwandte Formate

Beliebte Vergleiche

Beliebte XML-Umwandlungen

Die meistgesuchten Ziele beim Umwandeln von XML-Dateien.

Häufig gestellte Fragen zu XML

Häufig gestellte Fragen

XML (Extensible Markup Language) is a text-based Format für structured data, ratified by W3C in 1998. Unlike HTML's fixed tags, XML lets developers define their own tags und nested structure, mit optional schema validation. It underpins SVG, RSS, SOAP, DocBook, OpenDocument, und thousands von industry-specific Standards.

XML Dateien öffnen in any text editor und every web browser (browsers show them as an expandable tree). für editing mit validation, verwenden VS Code mit XML extensions, oXygen XML Editor, oder Visual Studio. Most IDEs detect XML automatically und provide syntax hochlighting.

Use KaijuConverter's XML-to-JSON converter, oder command-line Werkzeuge like xq (jq für XML). Programmatically, Python's xmltodict, JavaScript's xml2js, und .NET's JsonConvert.SerializeXmlNode all handle the conversion. Attributes typically become special keys (often prefixed mit @) im resulting JSON.

JSON für lightweight APIs und most modern web Anwendungen — smaller, faster to parse, native in every language. XML where schema validation, namespaces, mixed content, oder industry Standards (HL7, XBRL, DocBook) are required. XML also wins when documents need digital signatures (XML DSig).

XML is verbose by design — every tag has an opening und closing form, plus optional attributes. The same data in JSON is typically 30-50% smaller. This is intentional: XML trades bytes für human-readability und explicit structure.

XML is still essential in specific industries: healthcare (HL7 FHIR), finance (XBRL regulatory filings), publishing (DocBook, TEI), und anywhere schemas must validate. für new lightweight APIs, JSON has overwhelmingly replaced XML. Both are valid choices depending auf dem problem.