SVG optimizer

Paste an SVG or load a .svg file and strip out comments, editor metadata and dead whitespace. See how many bytes you save, preview the result, then copy the clean SVG. Nothing is uploaded.

Your SVG
What to remove

Everything runs in your browser. No upload, no sign-up.

How it works

STEP 1

Add your SVG

Paste the SVG markup or load a .svg file from your device. It is read right in your browser — nothing leaves your machine.

STEP 2

Pick what to strip

Toggle comments, editor metadata, titles, namespaces, default attributes and whitespace. The cleaner re-runs every time you change a switch.

STEP 3

Copy the result

See the bytes saved and a live preview, then copy the optimized SVG or download it as a file.