Optimize and Minify SVG Files
Shrink SVG files by removing editor metadata, comments and redundant whitespace, and strip scripts.
- Input:
- SVG
- Output:
- SVG
- Max size:
- 50 MB
- Runs:
- In your browser (no upload)
What the SVG Optimizer does
Make SVG files smaller by removing editor metadata, comments and unnecessary attributes and by rounding long numbers. Scripts and event handlers are always removed.
Options
- Round numbers in shapes to 3, 2 or 1 decimals, or keep them exact.
- Keep <title> and <desc> for accessibility.
How to use the SVG Optimizer
- 1
Drag your SVG file into the upload area, or click it to browse your device.
- 2
Adjust the options to suit your needs — the defaults work well for most files.
- 3
Click “Run SVG Optimizer” to start processing.
- 4
Preview the result, then download it. Batch results can be downloaded together as a ZIP.
Supported formats
- SVG is an XML-based vector format that scales to any size without losing sharpness. More about the SVG format.
Frequently asked questions
Related tools
Image to Data URI
Turn an image into a data URI with ready-to-paste HTML and CSS snippets.
QR Code Generator
Create QR codes for links or text, with custom colors, size and error correction, as PNG or SVG.
QR Code Scanner
Read the content of a QR code from a screenshot or photo.
Base64 Encoder
Encode text (UTF-8) or any file into Base64, with an optional URL-safe alphabet.
Base64 Decoder
Decode Base64 or data URIs back to readable text or a downloadable file.
URL Encoder
Percent-encode text for safe use in URLs and query strings.