SVG Optimizer & Minifier
WorkingOptimize supported SVG metadata or conservatively minify formatting locally, with before-and-after size details. Free, no upload; unsafe external markup is rejected.
Optimize supported SVG metadata or conservatively minify formatting locally, with before-and-after size details. Free, no upload; unsafe external markup is rejected.
SVG Optimizer & Minifier
WorkingThis tool is working for the representative inputs recorded in its tests. Processing happens locally; different files, settings and browsers can still have limits. SVG scripts and external resources are rejected; raster formats depend on browser encoders. Optimization is basic, not SVGO-equivalent.
Choose a file to preview
Validated locally: file type, size and browser support are checked before anything runs
Preparing your file
Reading the file locally and checking that its type and size match what this tool expects. Nothing has been uploaded.
Processing SVG markup
SVG rasterization and cleanup run in the browser without a separate codec download.
You can leave this tab open in the background — the conversion keeps running on your device, and progress is reported when you come back.
Conversion complete
Your converted file is ready to download.
Choose a file to preview
Run the tool to preview its result
The converted file was assembled in your browser and is released when you leave or reset this page
Something went wrong
The conversion could not be completed. Nothing was uploaded, and no partial file was saved.
This file or browser is not supported
The engine could not process this file in this browser. Nothing was converted or uploaded. Check this tool's limits and try a supported input.
SVG Optimizer & Minifier keeps artwork as editable vector markup while offering two distinct cleanup levels. Optimize removes selected editor metadata, editor namespace attributes and empty unadorned groups in addition to safe formatting cleanup. Minify removes comments and formatting-only whitespace but intentionally preserves metadata and editor attributes. The operations are separate so choosing a compact delivery representation does not silently discard authoring information.
Both modes validate supported self-contained SVG before rewriting it. Definitions, referenced IDs, namespaces, accessibility attributes and meaningful text are retained by the conservative path. Scripts, event handlers, embedded HTML, DTD or entity declarations, CSS imports and unsupported external resources are rejected. The result reports input bytes, output bytes and percentage change, but an already compact source is not guaranteed to shrink. Keep the original and compare rendering in the intended viewer.
Optimize deliberately removes selected authoring metadata, while Minify changes comments and serialization. Neither mode performs aggressive path geometry compression or promises a target file size.
Validation restrictions reduce unsupported risk but are not universal sanitization certification. Fonts, renderer behavior and unusual SVG features still require testing in the receiving application.
Use the supported inputs and settings described below.
Choose a supported self-contained SVG and retain the editable source.
Select Optimize to remove selected editor data or Minify to preserve metadata while compacting formatting.
Run the operation. Unsafe XML or external-resource constructs are rejected before output is produced.
Review size change, preview appearance, text, definitions and accessibility information before downloading the delivery copy.
Answers about this specific workflow, not a promise for every file.
Optimize can remove selected editor metadata and empty groups. Minify preserves that authoring data and limits cleanup to comments and safe formatting whitespace.
No. The result reports actual byte change, and an already compact SVG can show little improvement or minor serialization growth.
The conservative implementation keeps supported defs, references, namespaces, titles and accessibility attributes; verify unusual documents visually.
No. Unsupported unsafe constructs are rejected, but each website still needs its own content policy, CSP and rendering review.
Same source format, reverse conversions and relevant alternatives.
Vector
Render self-contained SVG artwork as an opaque JPG locally. Transparent areas become white. Free, no upload or signup; external resources and unsafe XML are rejected.
Vector
Render a self-contained SVG as a PNG image locally. Keep supported transparency for compatible image uploads. Free, no signup; scripts and external assets are rejected.