SVG Whitespace Remover

Tighten the SVG viewBox around the actual artwork and remove extra canvas space.

Loading interactive controls…

Report a problem
ASKRS SHOPExplore products at ASKRS SHOP

Frequently asked questions

What exactly does it change in my SVG?

It measures the drawing's real bounding box in the browser and rewrites the viewBox, width, and height to match. Your shapes, paths, and styles are left as they are.

Why does it fail on some SVG files?

Only SVG files under 20 MB are accepted, and the bounds must be measurable. A file whose root element is not an svg, or whose drawing measures zero, is reported instead of silently saved.

Related tools