Corrupt an SVG File Online
Corrupt an .svg file online for free. Breaks the XML structure and path data so browsers and editors refuse to render the vector graphic.
- Kein Upload
- Keine Größenbegrenzung
- Keine Anmeldung
Beschädigen Sie Ihre SVG-Datei
Abgestimmt auf .svg, .svgz, funktioniert aber ebenso mit jedem anderen Format.
Warum sich SVG-Dateien nur schwer richtig beschädigen lassen
SVG is XML, not a binary image format, which changes everything about how it breaks. Browsers parse SVG strictly (unlike HTML) so a document that is not well-formed is rejected outright rather than partially rendered.
Was dieses Werkzeug zerstört
- The XML declaration. The opening declaration and
<svg>root element are destroyed, so the document has no valid root. - Path data. The
dattribute strings that define every shape are overwritten, leaving unparseable coordinates. - viewBox and dimensions. The attributes that establish the coordinate system are damaged, so nothing has a place to render.
- Encoding validity. Invalid UTF-8 sequences cause the strict XML parse to fail before rendering begins.
Was Sie danach sehen
| Anwendung | Verhalten |
|---|---|
| Browsers | "XML Parsing Error: not well-formed", nothing renders at all. |
| Figma / Illustrator | Import fails with an invalid-SVG message. |
| Inkscape | Refuses to open the document or reports a parse error. |
<img src="…"> | Shows a broken-image placeholder. |
Häufige Gründe dafür
- Testing that an SVG upload path validates and sanitises input.
- Verifying an icon build pipeline fails on a malformed source file.
- Checking that an SVG sanitiser rejects rather than partially accepts bad input.
- Producing malformed vectors for a rendering test suite.
So beschädigen Sie eine SVG-Datei
- Ziehen Sie Ihre .svg-Datei in das Feld oben, oder klicken Sie zum Auswählen.
- Belassen Sie die Stufe auf Standard, sofern Sie nicht nur teilweisen Schaden wollen (Light) oder Wiederherstellungssoftware überwinden müssen (Heavy).
- Klicken Sie auf Datei beschädigen. Die Verarbeitung läuft auf Ihrem Gerät und ist daher fast sofort fertig.
- Laden Sie das Ergebnis herunter. Standardmäßig behält es den ursprünglichen Dateinamen und die Byte-Länge.
Häufige Fragen zu SVG
Why does SVG fail harder than HTML?
Because browsers parse SVG as XML, which is strict. HTML has error recovery built into the specification; XML does not.
Will the file still open in a text editor?
It will open, but the content is mojibake, invalid UTF-8 is injected, so it is no longer readable text.
Does it work on compressed SVGZ?
Yes, but SVGZ is gzip underneath, so it is handled as a gzip archive and breaks as a whole.
Can I keep it looking like valid SVG?
Light level preserves most of the markup, so it still reads as SVG at a glance while failing to render.