Crop SVG Without Changing ViewBox

Trim visuals while keeping the existing viewBox values

Crop SVG? Crop SVGCrop to dimensions? Crop to dimensions

FAQ

Quick answers

When should I crop SVG without changing viewBox?
When downstream CSS or components already depend on the current viewBox values.
How is this different from a normal crop?
Standard crop may rewrite framing; this mode prioritizes preserving viewBox.
Need to add a missing viewBox instead?
Open Add viewBox when the file has none.
Does viewBox-preserving crop upload my file?
No — free local browser tool.
Crop SVG → Crop to dimensions → Crop selected area → Crop to square →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina