SVG Resizer

Resize SVG files the right way - change the width, height and viewBox, set a size in pixels, inches or mm, or trim the empty space. Vectors stay razor sharp. Want it smaller in bytes too? Try Compress SVG.

How to Resize an SVG

  1. Add your SVG. Drop one or more SVG files into the box, browse for them or paste SVG code with Ctrl+V.
  2. Choose how to resize. Scale by a percentage, set an exact size, change the canvas, or trim the empty space around the drawing.
  3. Pick unit and output. Use px for screens or in / mm for print and cutting machines, and add a PNG if you need one.
  4. Resize and download. Press Resize. One or two files download directly, three or more come as a ZIP.

No SVG handy? Press Try a sample SVG - a 64 px badge with padding around it, good for testing Trim.

Four Ways to Resize

Scale

Width and height change by the same percentage, and the drawing grows or shrinks with them.

Exact size

Type the width you need; the height follows. Unlock it to choose fit, fill or stretch for a new shape.

Canvas

Change the artboard only - add room for a border or a label without scaling the drawing.

Trim

Cut away empty space so the file ends at the drawing's edges - perfect for icons and logos.

What Changes in the File

An SVG's size lives in three attributes on the root tag.

AttributeMeaningThis tool
width / heightHow big the picture is shownSet to the new size, in your unit
viewBoxWhich part of the drawing is shownKept for scaling, changed for canvas and trim, added if missing
preserveAspectRatioHow a different shape is filledSet only when you pick fit, fill or stretch

The shapes themselves are never touched. To shrink the file's bytes, run it through Compress SVG; to inspect it, open the SVG Analyzer.

Tips

  • Cricut, Silhouette and laser cutters: set the unit to in or mm so the design imports at its real size.
  • Icons: trim first, then use Exact size 24, 32 or 64 px for a crisp, centred icon. Edit colours in the SVG Icon Editor.
  • Need a picture? Add a PNG at 2x or 300 DPI, or convert with SVG to PNG and SVG to WebP.
  • Raster images (PNG, JPG) need the Image Resizer instead - or trace them into vectors with PNG to SVG.

Frequently Asked Questions

Drop your SVG into the box, pick Scale and a percentage - or Exact size and type the width you need - then press Resize SVG. The before/after preview shows the new size right away.

No. An SVG is a drawing made of shapes, so the tool only changes the width, height and viewBox written in the file. The shapes are redrawn sharply at any size - nothing is converted to pixels unless you also ask for a PNG.

The viewBox is the drawing's own coordinate area; width and height say how big that area is shown. Changing width and height scales the drawing; changing the viewBox crops or extends it.

If your file has no viewBox, the tool adds one - otherwise the drawing would not scale with the new size.

Yes. Switch the unit to in, mm, cm or pt and type the size. The file gets width="5in" and so on, which cutting machines and print apps read as a real-world size.

Choose Trim to drawing. The tool measures the drawing and sets the viewBox to its edges, with optional padding. Need the opposite? Canvas size adds space around the drawing without scaling it.

Yes. Turn on PNG under Output and pick 1x, 2x, 3x or 300 DPI for print. For more raster formats, use SVG to PNG, SVG to JPG or SVG to ICO.

Yes. Drop up to 50 SVGs; the same settings apply to all of them. One or two files download directly, three or more come as one ZIP.

No. Everything happens in your browser and your SVGs never leave your device. They are shown only as images, so any scripts inside them never run.

Guides & Tutorials

All 38 guides
Optimization How to Resize a GIF Without Losing Quality (and Make It Smaller) Sep 4, 2025 · 4 min read Read Optimization How to Reduce Image File Size Without Losing Quality (2026 Guide) Jan 29, 2026 · 5 min read Read Comparison ICO vs SVG: Which Icon Format Should You Use? Jun 2, 2025 · 4 min read Read