Shrink SVG files by removing comments, editor metadata, empty groups and extra precision, right in your browser.
Updated
/ 5 - Be the first to rate this tool Thanks for rating!
Verification failed - please try again.
Quick check
Please verify you're not a robot to submit your rating.
Give feedback
Tell us what you think about Optimize and minify SVG files.
Choose or drop an .svg file
Or paste markup below. Everything stays in your browser.
Lower values shrink path data more. 1–3 is safe for most icons.
Original
bytes
Optimized
bytes
Saved
%
Preview
Compare the rendering before and after to confirm nothing visible changed.
- Runs entirely in your browser — your SVGs are never uploaded
- Strips Inkscape and Sodipodi metadata, comments and empty groups
- Free, no account required
How it works
-
1
Upload the image you want to edit (JPG, PNG, or WebP).
-
2
Adjust the settings — size, angle, crop area, filter, or watermark text.
-
3
Preview the result live as you adjust.
-
4
Download the edited image.
Why use this tool
Every image task, one place
Resize, compress, convert, crop, rotate, filter, and watermark — no need for a heavyweight photo editor.
100% private, always
Every tool runs entirely in your browser using the canvas API — your images are never uploaded to a server.
Works on any device
Runs in the browser on Windows, Mac, Linux, iOS, and Android — nothing to install, nothing to trust but the tab.
Instant results
No queues and no desktop app to wait on — edits and conversions finish the moment you make them.
Convert to any format
Move between JPG, PNG, WebP, and ICO — output stays sharp, with quality settings when you need control.
Free, always
Every tool here is free to use, with no watermarks, size limits, or forced trial period.
Frequently asked questions
Comments, the XML prolog and doctype, metadata, Inkscape and Sodipodi editor data, empty groups and empty attributes. It also collapses whitespace and rounds long decimal numbers.
At the default of 2 decimal places the difference is invisible for almost every icon and illustration. Raise the precision if fine details shift.
No. The file is read and optimized entirely in your browser.
From the blog
Responsive Images Done Right: srcset, Sizes, and the Widths That Matter
Shipping one giant image to every device is the easiest performance mistake to make. Here is how to pick a small set of widths, wire up srcset and sizes correctly, and stop guessing.
Understanding Image Metadata: EXIF, Privacy, and Performance
Every photo you take contains hidden metadata. Discover how to read EXIF data, protect your privacy by stripping location tags, and optimize files for faster loading.
The Art of Cropping and Rotating: Framing Images for Web and Social Media
A complete guide on how to frame, crop, and rotate images to match aspect ratios for social media posts, headers, and web layouts without distortion.
Related tools
Crop an image online for free
Crop images to an exact area or aspect ratio in your browser.
Flip an image online for free
Mirror a JPG, PNG, or WebP image horizontally or vertically, right in your browser.
Apply image filters online for free
Adjust brightness, contrast, and saturation, or apply grayscale, sepia, and invert filters, right in your browser.
Add a watermark to an image for free
Overlay repeating or single text watermarks on an image, right in your browser.
Chain image edits: resize, compress, convert and more
Build a chain of image steps (resize, crop, rotate, compress, convert, watermark) and run it on one or many images at once, right in your browser.
Resize images in bulk for free
Resize many JPG, PNG, or WebP images at once by percentage, dimensions, or max file size, right in your browser.
Convert text to binary or hex and back
Convert text to binary or hexadecimal UTF-8 bytes and decode them back to text, instantly in your browser.
Compare two texts and see the differences
Paste two blocks of text to see every added and removed line highlighted, instantly in your browser.
Convert a Unix timestamp to a date
Convert a Unix timestamp to a human-readable date, or a date back to a timestamp, in your browser.
Convert TOML to JSON and JSON to TOML
Convert TOML config files to pretty JSON and JSON back to TOML, with tables, arrays of tables and dates. Parse errors show the line number, entirely in your browser.
Resize an image to X (Twitter) post size for free
Fit or fill an image to the 1200×675 X (Twitter) post size, with drag-to-reposition and zoom, right in your browser.
Parse a User-Agent string online
Paste a browser User-Agent string to see its browser, operating system, and device type, in your browser.