SVG Minifier

A lighter SVG with comments, editor data and extra spaces removed.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Step 1: Open SVG Minifier and add your input

    Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.

  2. 2
    Step 2: What SVG Minifier does

    Make SVG files smaller by removing extras and rounding numbers.

  3. 3
    Step 3: Read the result and compare

    The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.

  4. 4
    Step 4: Copy or save it

    Copy the result or download it. For an important decision, confirm it with the official source or an adviser.

About this tool

Paste the code of an SVG and the tool removes comments, the XML header, editor metadata from Inkscape and similar apps, and extra spaces. It can also round long decimal numbers to two or three places, which often saves a lot. Compare the result with the original before using it.

When to use it

Make SVG files smaller by removing extras and rounding numbers.

Tips

Check the result visually.

Privacy

Everything runs in your browser, so your data is not uploaded or stored.

Tips

Remove editor metadata, round coordinates to one or two decimals and delete unused definitions. Keep a copy of the original in case a shape changes.

Tips for best results

Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.

Quick facts

Embed this calculator on your site

Copy this code to show the calculator on your own page. A link back to shobfree.com is included.

Frequently asked questions

Will my icon look different?

Rounding to two decimals is usually invisible for icons. Choose three decimals for fine detail or turn rounding off.

Can I upload an SVG file?

Open the file in a text editor and paste its code here.

Is the image changed?

Only metadata and precision are reduced.

How much can it save?

Often 20 to 60 percent.

Does minifying change the look?

It should not, but check the result at a large size.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages