SVG Optimizer (Minify & Clean SVG)

Developer Tools

Make SVG code smaller without changing how it looks

FreePrivateInstant
Add a file · .txt .md .csv .json … · up to 2.00 MB
Round numbers to decimals
Embed this tool on your websiteFree
  1. Choose how tall the frame should be.
  2. Press Copy code.
  3. Paste it into your page, blog, WordPress or Notion HTML block.
Height

The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.

Similar tools you may like

History

All history →

SVG Optimizer (Minify & Clean SVG) — at a glance

Clean SVG exported from design tools so it loads faster.

SVG code
<svg …> … </svg>
Optimize
Result
Smaller SVG
Saved 42%

How to use it — step by step

SVG code.

1

Paste SVG code

Open the .svg file in a text editor and copy it.

2

Choose options

Decimals, metadata, whitespace.

3

Optimize

See the new size.

4

Copy

Save it as a .svg file.

Pro tips

Small things that make the result better.

✦Keep 2 decimals for icons, 3–4 for detailed art.
✦Always preview the result before using it.
✦Remove unused ids only if you do not use CSS or JS on them.

Quick facts

−30–70%typical saving
Decimalsrounding
Metadataremoved
Privatein browser

Frequently Asked Questions

Will it change how my SVG looks?+

Normally no. If something looks off, increase the decimals.

Is it like SVGO?+

It does the most common clean-ups, but not every advanced path optimisation.

Is my file uploaded?+

No.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

Is this tool really free?+

Yes — completely free, no signup, no watermark and no usage limit.

More Free Tools