Recent files
Before / after
Both are drawn to scale against each other. The resized one is the real file you will download.
Your SVGs
0 SVGs - click one to preview it.
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.
Both are drawn to scale against each other. The resized one is the real file you will download.
0 SVGs - click one to preview it.
No SVG handy? Press Try a sample SVG - a 64 px badge with padding around it, good for testing Trim.
Width and height change by the same percentage, and the drawing grows or shrinks with them.
Type the width you need; the height follows. Unlock it to choose fit, fill or stretch for a new shape.
Change the artboard only - add room for a border or a label without scaling the drawing.
Cut away empty space so the file ends at the drawing's edges - perfect for icons and logos.
An SVG's size lives in three attributes on the root tag.
| Attribute | Meaning | This tool |
|---|---|---|
| width / height | How big the picture is shown | Set to the new size, in your unit |
| viewBox | Which part of the drawing is shown | Kept for scaling, changed for canvas and trim, added if missing |
| preserveAspectRatio | How a different shape is filled | Set 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.
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.