SVG optimizer
Make SVG code smaller: remove comments, editor data and extra spaces.
🔒 Runs on your device⚡ No upload✓ Free, no sign-up
How to use SVG optimizer
- Type or paste your text in the box.
- Pick the options you want; the result updates as you type.
- Copy the result or download it as a file.
Questions
Is SVG optimizer free?
Yes. It is free with no sign-up, no watermark and no ads.
Is my text uploaded?
No. Everything happens in your browser. Nothing you type or open is sent to our server; we only count that the tool was used.
Does it work offline?
Yes, once the page has loaded it keeps working without internet.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, Windows, Mac and Linux.
Related tools
SVG to CSS backgroundTurn SVG code into a data URL you can use as a CSS background, no file needed.Colour converterTurn any colour into HEX, RGB, HSL, HSV and CMYK, ready to copy.HEX to RGBConvert a HEX colour code like #ff5b2e into RGB and the other formats.RGB to HEXConvert RGB values like rgb(47, 111, 228) into a HEX code.Colour pickerPick a colour on a palette and get its HEX, RGB and HSL codes.Colour contrast checkerCheck if text and background colours are readable and pass WCAG AA and AAA.Tints and shades generatorMake lighter and darker versions of a colour, from 50 to 900, for a design system.Colour palette generatorBuild matching colours from one base: complementary, analogous, triadic and more.