SVG Optimizer & Viewer
Optimize SVGs by removing metadata, comments, editor cruft, and unnecessary attributes. Preview before and after.
Drop an SVG file here or click to browse
SVG files — max 5 MB
Optimization Options
About SVG Optimization
SVG files exported from design tools like Illustrator, Inkscape, Figma, and Sketch often contain metadata, editor-specific attributes, comments, and other unnecessary data that increase file size without affecting the visual output.
What gets removed: XML comments, metadata elements (RDF, Dublin Core), editor namespaces and attributes (Inkscape, Illustrator, Sodipodi), empty groups and defs, default attribute values (fill-opacity="1", display="inline", etc.), and redundant whitespace.
Safe optimization: This tool only removes data that does not affect how the SVG renders. All visual elements, gradients, filters, and transformations are preserved. Use the preview to verify the output before downloading.
Responsive SVGs: Enable "Remove width/height" to strip fixed dimensions while keeping the viewBox attribute, making your SVG scale responsively to its container.