← Tools

SVG Optimizer

Shrink SVG files and code, safely, with a before-and-after check.

Private: your files never leave your device.

or drop them here, or paste SVG code below

Paste SVG code

    Optimized with SVGO in your browser: nothing is uploaded. Each result is drawn and compared with the original, so you know it still looks the same.

    How it works

    1. Choose your files.
    2. Adjust the settings if you like.
    3. Download the result, or send it to another device with BroAllDone.

    Frequently asked questions

    How do I make an SVG file smaller?

    Open or paste it. SVGO removes editor data, comments and unused definitions, rounds numbers and shortens paths. Files often get 30 to 80% smaller.

    Will my SVG still look the same?

    Each result is drawn next to the original and compared pixel by pixel. If anything looks different, you're told, and a higher precision usually fixes it.

    Which precision should I use?

    3 decimals suits almost every icon and illustration. Use 1 or 2 for the smallest files, or 4 or 5 for detailed maps and technical drawings.

    Is it safe to put the SVG on my website?

    With Remove scripts and event handlers on, scripts and on… attributes are removed, so the file can't run code.

    What does Make it responsive do?

    It removes the fixed width and height and keeps the viewBox, so the SVG scales to fit its container.

    Is my SVG uploaded?

    No. SVGO runs in your browser, so your files never leave your device.

    More free tools