SVG Crop
Free online SVG cropper — auto-trim extra whitespace and margins from SVG files. No install, no upload to server.
How to Use
- Drag SVG file or paste markup
- Check the result with margins removed
- Download or copy markup
Drop SVG file here
Drop SVG file here
Cropped
Upload an SVG file! Or paste SVG markup in the Markup tab.
Related Tools
More iTool Features!
HEIC Viewer
Free online HEIC viewer — open and convert Apple HEIC/HEIF photos on any device. No install, no signup required.
Photo Date Stamp (Film Camera Date)
Add a film-camera style date and time to your photos. Auto-reads the EXIF capture date, classic 7-segment orange font, adjustable position and size. 100% in-browser, no upload, no install.
Merge Photos into One
Free tool to combine multiple photos into one image. Add a number and caption to each photo for second-hand listings or document sets. Vertical or grid layout, adjustable spacing, margins, and borders, 100% in-browser with no upload or install.
Image to JPG
Free online image to JPG converter — convert PNG, WebP, BMP, HEIC to JPG. Batch convert up to 20 files at once.
Image to PNG
Free online image to PNG converter — convert JPG, WebP, BMP, and more to PNG. No install, no upload to server.
Compress Image
Free online image compressor — reduce file size by up to 80% while keeping visual quality. No upload to server.
Image to WebP
Free online image to WebP converter — shrink image file size with modern WebP format. No install, no upload to server.
Image to Base64 Converter
Convert images to Base64 or decode Base64 strings back to images — free, instant, no upload. Generate data URIs ready for HTML img src and CSS background-image.
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