SVG

SVG viewBox Crop

Crop or pad an SVG by editing its viewBox, or fit it tightly to the drawing.

Offline prerequisites

The installed app shell does not prepare every operation. Choose the resources you need, prepare while online, then recheck before disconnecting. Downloads below are approximate bundled sizes; network transfer can differ.

Select codecs for both your input and output formats. For example, PNG to AVIF needs both PNG and AVIF. Include resize kernels when changing dimensions. Preparing one codec does not prepare the other formats.

Checking this build’s offline resources…

Drop an SVG to crop

Change its viewBox: trim empty space, add room around it or frame part of the drawing.

About this tool

Crop an SVG by changing its viewBox, the window that decides which part of the drawing is shown. Drag the handles or type exact values in the drawing’s own units, or let Interformat measure the drawing and fit the viewBox to it, with as much room around it as you like.

Drawing that sits outside the current viewBox is shown in the editor too, so you can bring clipped parts back into view. Choose whether the file’s width and height follow the crop, stay as they were, or are removed.

Cropping hides; it doesn’t delete. Shapes outside the new viewBox stay in the file, which matters if it contains something you don’t want to share. The path extractor keeps only the shapes you choose.

esc
  • Opens in its own window, like any app
  • Works without an internet connection
  • Starts instantly from your home screen or dock

Look for the install icon at the right end of your browser’s address bar, or open the browser menu and choose Install Interformat.