Scale SVG Path to Fit ViewBox

Scale path coordinates so the graphic fits the viewBox

To size? Scale to sizeKeep viewBox, manual scale? Scale keep viewBox

FAQ

Quick answers

How do I scale an SVG path to fit the viewBox?
Paste the SVG and click Scale to fit viewBox. The path enlarges or shrinks to sit inside the window.
Does the viewBox change?
The intent is to fit content to the existing viewBox. Other scale pages may retighten the window instead.
Tiny icon in a large canvas?
This page is built for that — the sample starts undersized so one click fills the frame.
Target an exact pixel size?
Use Scale SVG Path to Specific Size.
Scale coordinates → Scale to size → Scale keep viewBox → Scale proportionally →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina