How to resize an SVG
- Choose or drop an .svg file. The boxes fill with its current size.
- Type a new Width (px) or Height (px), or pick 0.5×, 2× or 4× from Quick scale.
- Tick Also turn it into a PNG at this size if you need a picture file rather than a vector.
- Press Resize SVG and download the result.
Why resizing an SVG loses nothing
An SVG is a set of drawing instructions, not a grid of pixels. Its size comes from the width and height on the outer svg tag, while the viewBox says which part of the drawing space to show. Change the first two and the same paths are drawn bigger or smaller, as crisp as before.
That is all this tool edits. If the file has no viewBox, one is added that matches the original size, because without one the drawing would not scale: it would stay at its old size and be cut off or sit in a corner of the new canvas. Paths, colours, text and gradients are never rewritten.
What each setting does
- Width and Height (px)
- The new display size. If the file had no width and height, the tool starts from its viewBox and says so.
- Keep proportions
- Ticked, the two sides stay in step. Unticked, the drawing is allowed to stretch to the box you type.
- Quick scale
- Sets both sides to a multiple of the original in one click.
- Also turn it into a PNG at this size
- Draws the SVG as a PNG with a transparent background at exactly those pixels, instead of saving an SVG.
Limits
- For safety, SVGs that contain scripts, event handlers or links to outside files are refused rather than opened. So are files that import outside style sheets.
- The largest side is 16,384 px, and SVG files over 20 MB cannot be opened.
- Units such as cm or em on the original width and height are replaced by plain pixel values.
Questions
Does resizing an SVG reduce its quality?
No. Only the size attributes change, so the drawing is redrawn sharply at any size.
Why was my SVG refused?
It contains code or loads something from outside the file, such as a script, an onclick handler or a linked image. Remove those parts in your editor, or export a plain SVG, and try again.
How do I get a PNG of my SVG at 512 × 512?
Type 512 in Width; with Keep proportions ticked, a square SVG gets 512 in Height too. Then tick Also turn it into a PNG at this size. The PNG keeps any transparent areas of the drawing.
Can I make the SVG file smaller in KB?
Changing its width and height barely affects the file size. To shrink the code itself, optimise it with an SVG compressor.