XML · Kostenlos · Auf dem Gerät

Corrupt an XML File Online

Corrupt an .xml file online for free. Breaks the declaration, tag nesting and encoding so XML parsers reject the document as not well-formed.

  • Kein Upload
  • Keine Größenbegrenzung
  • Keine Anmeldung

Beschädigen Sie Ihre XML-Datei

Abgestimmt auf .xml, .xsd, .rss, .plist, funktioniert aber ebenso mit jedem anderen Format.

100 % auf dem Gerät
Dateien hier ablegen oder auswählen Jedes Format, jede Größe, mehrere Dateien gleichzeitig
Beschädigungsstufe

Wird ausgeführt…0%
Bereit zum Herunterladen

Warum sich XML-Dateien nur schwer richtig beschädigen lassen

XML parsers are strict about well-formedness but tolerant about a great deal else. The reliable way to break an XML document is to attack the three things every parser checks first: the declaration, the encoding, and the balance of the tag tree.

Was dieses Werkzeug zerstört

  • The XML declaration. The opening <?xml version…?> processing instruction is destroyed, so encoding and version cannot be established.
  • Tag balance. Angle brackets and tag names are overwritten throughout, leaving elements permanently unclosed.
  • Encoding validity. Invalid UTF-8 sequences make the document fail before the parser reaches the grammar.
  • The root element. The closing bytes are destroyed, so the document root is never terminated.

Was Sie danach sehen

AnwendungVerhalten
Browsers"This page contains the following errors: not well-formed" with the offending line highlighted.
Python ElementTreeRaises ParseError: not well-formed (invalid token).
Java / .NET parsersThrow SAXParseException or XmlException on the first token.
XML editorsRefuse to load or open the file in plain-text mode with errors flagged.

Häufige Gründe dafür

  • Testing an XML ingestion endpoint against malformed input.
  • Verifying that a SOAP or RSS consumer surfaces parse failures properly.
  • Checking a configuration loader refuses a damaged file rather than starting with defaults.
  • Producing not-well-formed fixtures for a conformance test suite.

So beschädigen Sie eine XML-Datei

  1. Ziehen Sie Ihre .xml-Datei in das Feld oben, oder klicken Sie zum Auswählen.
  2. Belassen Sie die Stufe auf Standard, sofern Sie nicht nur teilweisen Schaden wollen (Light) oder Wiederherstellungssoftware überwinden müssen (Heavy).
  3. Klicken Sie auf Datei beschädigen. Die Verarbeitung läuft auf Ihrem Gerät und ist daher fast sofort fertig.
  4. Laden Sie das Ergebnis herunter. Standardmäßig behält es den ursprünglichen Dateinamen und die Byte-Länge.

Häufige Fragen zu XML

Does this break XML schema validation too?

It never gets that far. Schema validation happens after parsing, and the document fails well-formedness first.

Will it work on SVG, RSS or plist files?

Yes. All are XML underneath and use the same profile. There is also a dedicated SVG corrupter.

Can I keep it looking like valid XML?

Light level preserves most of the structure, so the file still looks like XML at a glance while failing to parse.

Is the file uploaded anywhere?

No. All processing happens in your browser and nothing is transmitted.

Nutzen Sie das verantwortungsvoll. Files Corrupter ist für Softwaretests, QA, Forschung, Schulung und Lehre gedacht. Eine absichtlich beschädigte Datei einzureichen, um fertige Arbeit vorzutäuschen, kann gegen die Regeln Ihrer Schule oder Ihres Arbeitgebers verstoßen. Für die Verwendung des Ergebnisses sind Sie selbst verantwortlich. Siehe unseren Haftungsausschluss.

Weitere Werkzeuge für code & data

Alle Korrumpierer-Werkzeuge