Skip to content

SVG Crop, Resize and Rotate

About the SVG Crop, Resize and Rotate

Crop an SVG to its content, add padding, set its pixel size, rotate, flip and prefix its ids in your browser. Strokes are measured exactly. Nothing is uploaded.

How to use it

Examples

Questions

Is my SVG uploaded?
No. Everything runs in your browser.
Is the artwork changed?
No. Cropping and padding change the view box. Rotating and flipping wrap the artwork in one group with a transform. Nothing is redrawn or simplified.
Does crop to content include strokes?
Yes by default, measured exactly from the stroke shape including caps and joins. Text, images and use elements cannot be measured, so the tool tells you when the box might be too small.
What does the size step do?
It sets width and height in pixels. If you enter only one, the other follows the shape of the view box.
Why prefix ids?
When several SVGs are placed in one HTML page, equal ids such as gradients or clip paths clash. A prefix makes each one unique and updates every reference to it.

Free and runs in your browser. Sign in only if you want to save your work.