Resize an SVG Without Distorting It

Display dimensions set how much space an SVG takes up, while its viewBox defines the coordinate area you see. PicVec AI shows local previews and built-in examples; change the SVG dimensions in your editor or source file.

On this pageChange the viewport before changing the drawingReframe the artwork when margins are the problemCheck strokes and physical dimensions separately
Open SVG sample

Change the viewport before changing the drawing

For a web display, keep the viewBox unchanged and set the rendered width and height in HTML or CSS. If the viewBox is 200 by 100, a 300-by-150 display preserves its ratio. In responsive layouts, set a suitable width and let the height follow the intrinsic ratio when possible.

Reframe the artwork when margins are the problem

If unused canvas space makes the subject look too small, fit the artboard to the intended artwork and export again. If editing the viewBox directly, account for stroke widths, markers, and intentional padding, not just the path coordinates. Inspect all four edges for clipped details.

Check strokes and physical dimensions separately

Ordinary strokes scale with the drawing. Consider a non-scaling stroke for a web diagram that needs a constant line weight, and test at both size extremes. For a print or cutting workflow, check and, if needed, correct the physical dimensions in the receiving app before production.

Explore related workflows

Publish SVGs on the Web How to Check an SVG Before Sharing It Prepare SVG Cut Files for Cricut SVG Technical Illustrations

Common questions

Why are there blank bands in my resized SVG?

When the viewport and viewBox have different ratios, the default aspect-ratio behavior fits the entire drawing without stretching it. Match the ratios if the graphic should fill the viewport exactly.

Does resizing improve a bitmap embedded in an SVG?

No. Resizing the container cannot add detail to the bitmap; its original pixel count still limits sharpness.