Skip to content
Online SVG Editor

Tools

Resize an SVG

Type a new size — we keep the aspect ratio and set a viewBox if it was missing.

How to resize

  1. Paste your SVG.
  2. Enter a new width (and height if unlocked).
  3. Download the result.

About resizing

Resizing an SVG is just updating width/height attributes: the viewBox makes the drawing scale. This tool handles both, including adding a viewBox when the source was missing one.

Frequently asked questions

Does this crop my artwork?

No — it updates the root size only; the viewBox keeps the drawing intact.

Why add a viewBox?

Without one, browsers scale the drawing by pixel instead of by the SVG coordinate system.

Can I shrink below 1 px?

No, the minimum is 1 × 1.