SVG Optimizer
Shrink SVG size by removing comments, whitespace, and unneeded decimals
도구를 불러오는 중…
🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.
SVGs exported from design tools carry a lot of data that isn't needed to display them—comments, editor-specific attributes, and overly long decimal coordinates. This tool strips out that clutter to reduce the SVG's file size, and shows the original and optimized sizes and previews side by side.
How to use
- Paste your SVG code or upload an .svg file.
- Check the options you want, such as removing comments, collapsing whitespace, and rounding decimals.
- Confirm the shape is preserved in the preview, then copy or download it.
FAQ
- Will optimizing change the appearance?
- Most SVGs, like icons and logos, stay exactly the same. However, setting the decimal-rounding precision too low, or having meaningful whitespace inside text elements, can cause slight differences, so check the preview.
- Does it shrink as much as a dedicated tool like SVGO?
- It's a lightweight, regex-based optimization that doesn't replace all of SVGO's transformations, but even just cleaning up comments, whitespace, and coordinates can cut a substantial amount of size instantly.
- Is my code sent to a server?
- No. The code you paste and the files you upload are all processed only in your browser and are never sent to or stored on a server.
