Live validation
Malformed XML, non-SVG documents and unsupported declarations are identified before export.
Free · no signup
Open or paste SVG source, make precise code changes, preview the result safely, and download the cleaned vector file.
Source
Sanitized output
Fix the markup to restore the preview.
Simple by design
Paste SVG markup or open a local SVG file up to 750 KB.
Edit shapes, colors, dimensions, accessible text or the viewBox in the source panel.
Read the cleanup notice, review the sandboxed preview and download the cleaned SVG.
Malformed XML, non-SVG documents and unsupported declarations are identified before export.
Scripts, event handlers, embedded documents, stylesheets and external resource links are removed.
Keep the resolution-independent advantages of SVG for interfaces, diagrams and print artwork.
Put it to work
Find a fill or stroke value, replace it with the approved color and confirm every shape in the live preview.
Review width, height and viewBox values when artwork crops, stretches or refuses to fit a responsive container.
Open unfamiliar SVG source, note what the cleaner removes and export a simpler local copy before placing it in a project.
Choose deliberately
This editor suits known adjustments such as color values, coordinates, labels and dimensions. A visual drawing application is better for freehand design.
A correct viewBox gives the browser an internal coordinate system, allowing the artwork to resize without changing every path.
Logos, icons and diagrams usually benefit from vector output. Detailed photographs are generally smaller and more predictable as raster images.
Continue the workflow
Good to know
Yes. Source parsing, cleanup, preview and download happen in your browser.
The viewBox defines the internal coordinate system and lets the graphic scale while preserving its proportions when configured correctly.
The downloadable result removes common active-content vectors, including scripts, event attributes, embedded documents, style elements and external resource links. Review untrusted assets within your own security process as well.
SVG is ideal for logos, icons and diagrams that must remain sharp at many sizes. PNG is generally better for complex pixel imagery and applications that do not accept SVG.