Minify and compress SVG files online. Strip comments and whitespace to reduce SVG code size, or convert to WebP/PNG for raster output — all with transparency preserved. 100% browser-based, nothing uploaded.
or choose a source below
SVG files are deceptively large. Design tools like Illustrator and Figma export SVGs packed with metadata, comments, empty groups and redundant attributes that add kilobytes without adding any visual information. Minifying removes all of that and can cut SVG file size by 30–60% with zero visual change.
This tool offers two approaches. SVG Minified mode strips comments, collapses whitespace and removes unnecessary spacing — the output is still a true vector SVG that scales to any size, stays fully editable and keeps all transparency. This is the best choice for SVGs used on the web as icons or illustrations.
For situations where you need a raster image — a thumbnail, a social media post, a context where SVG is not supported — the WebP and PNG output modes rasterize your SVG at high quality while keeping any transparent areas intact.
As always, everything runs directly in your browser. Your SVG files never leave your device and there is no sign-up or file size limit.