How to compress SVG
- Choose a self-contained SVG up to 1 MiB. Scripts, styles, external resources and embedded images are not supported.
- Remove formatting whitespace without changing paths, colors, transparency or viewBox. Text spacing and license comments stay intact.
- Compare at the same display size. Keep the original if details are lost.
- If optimization does not reduce the file size, the original bytes are kept.
Measured compression example
Project brand mark example. This prepared comparison only removes formatting whitespace.
Compression guides
Choose a self-contained SVG up to 1 MiB. Scripts, styles, external resources and embedded images are not supported.
Remove formatting whitespace without changing paths, colors, transparency or viewBox. Text spacing and license comments stay intact.
If optimization does not reduce the file size, the original bytes are kept.
Questions
Choose a self-contained SVG up to 1 MiB. Scripts, styles, external resources and embedded images are not supported.
Remove formatting whitespace without changing paths, colors, transparency or viewBox. Text spacing and license comments stay intact.
If optimization does not reduce the file size, the original bytes are kept.