a window, not a knife
What cropping an SVG actually changes
An SVG carries its drawing in one coordinate system, and the viewBox is the window you look at it through. Move that window and you have cropped the image — no path is edited, no point is deleted, nothing is redrawn. That is why the result is pixel-perfect at any size, and why you can widen the window again later and get the whole drawing back.
The trade-off is that the file does not get smaller: the parts outside the window are still in there, just not shown. If you want them actually gone, crop here first and then run the file through the SVG optimizer.
three steps
How to crop an SVG
Drop the SVG
Pick a .svg file — it stays on your device.
Drag the box
Frame what you want, or type exact viewBox numbers.
Download
Same artwork, new window onto it.