SVG Editor
Step 1
Open an SVG
Choose or drop an .svg file, or paste SVG markup. Files stay in this browser tab and are sanitized before previewing.
Drop an SVG here
or
Maximum 5 MB. Scripts, external resources, animation, embedded HTML, and raster images are removed.
ViewBox:
Display size:
SVG size:
The viewBox describes the artwork coordinate area. Width and height only control how large it displays; changing them does not alter the vector artwork.
Change colors
Replace a fill, stroke, inline-style color, or gradient stop everywhere it appears. Opacity and “none” are left intact.
Trim and pad
Manual viewBox
Set display size
Edit SVG source
Changes are validated and sanitized before they are applied. If markup is invalid, the last valid preview remains visible.
Export
Copy or download the SVG
Optional conservative optimization
Preview removal of comments and irrelevant whitespace. Titles, descriptions, the viewBox, IDs, and same-document references are preserved.
Actual export size:
Use Copy SVG or Download SVG in the toolbar above.