SVG Crop

Free online SVG cropper — auto-trim extra whitespace and margins from SVG files. No install, no upload to server.

How to Use

  1. Drag SVG file or paste markup
  2. Check the result with margins removed
  3. Download or copy markup

Select Image Files

Result

tooli

Upload an SVG file! Or paste SVG markup in the Markup tab.

😄 Free thanks to ads

Related Tools

More iTool Features!

Frequently Asked Questions

Why do SVG files have unwanted whitespace?

Whitespace appears when an SVG file's viewBox or width/height attributes are set larger than the actual graphic content. This often happens when design tools export the canvas size directly into the SVG.

Is the viewBox automatically adjusted when removing whitespace?

Yes, the iTool SVG crop tool analyzes the actual graphic area and automatically optimizes the viewBox value, producing an SVG where the content fills the entire bounds.

Does removing whitespace make the SVG file smaller?

Simply changing the viewBox value has almost no effect on file size. Whitespace removal is primarily about making it easier to align and resize SVGs when embedding them in other images or UI elements.

Is this tool good for logo and icon SVGs?

Yes, logos and icons should have no whitespace so they align correctly with other elements. Removing whitespace is especially useful when building icon systems or using SVGs on the web.

Does removing whitespace affect SVG quality or resolution?

Not at all. SVG is a vector format, so quality never degrades regardless of size. Only the whitespace is removed — the graphic itself is completely unchanged.

Help us improve this tool

Share what you like, what needs work, or features you'd like to see