SVG Optimizer & Minifier
Strip editor metadata, XML comments, and excess whitespace from SVG markup with live preview and byte-savings metrics.
320 B to 286 B (11% smaller)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120" width="120" height="120"><rect x="8" y="8" width="104" height="104" rx="20" fill="#165DFC"/><path d="M36 62 L52 78 L86 44" stroke="#FFFFFF" stroke-width="10" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg>Common questions
Does removing SVG comments change how the graphic looks?
No. XML declarations, editor metadata, and comments are invisible metadata that only add file weight.
Is the preview rendered safely?
Yes. The SVG is encoded as a data URI inside an image element rather than injected as raw DOM markup.
More image & svg tools
SVG to High-DPI PNG Converter
Rasterize any pasted SVG graphic into a crisp 1x, 2x, or 4x high-resolution PNG locally in your browser.
LQIP Blur Placeholder SVG Generator
Generate lightweight inline SVG gradient blurDataURL strings for Next.js Image placeholders with zero extra requests.
HTML Minifier & Whitespace Cleaner
Strip HTML comments and collapse redundant whitespace between tags with exact original vs minified byte savings.
Bulk Image Converter (WebP, PNG, JPEG)
Convert and compress multiple images locally in your browser to WebP, JPEG, or PNG with instant savings stats.
Image Resizer & Aspect Cropper
Resize and center-crop photos locally to exact 16:9, 4:3, 1:1, or 1200x630 Open Graph dimensions.
Favicon & App Icon Pack Exporter
Upload your square logo once to generate 16px, 32px, 48px, 180px Apple Touch, 192px, and 512px PNG icons locally.