Resize SVG Dimensions

Resize SVG Dimensions

Local Processing

Scale vector SVG viewBox, width, and height attributes losslessly without rasterizing vector paths.

How It Works & Processing Standards

Scale vector SVG viewBox, width, and height attributes losslessly without rasterizing vector paths.

Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.

Current Limits

  • Desktop max file size: 40MB
  • Mobile max file size: 20MB

Paste SVG source and enter a new width (and height) to change just the size attributes. If there is no viewBox, one is added from the original size so nothing gets clipped.

What You Can Do

Stays vector
Not rasterised, so it is sharp at any size.
viewBox fix
Adds a viewBox from the original size when missing, keeping proportions.

How to Use Resize SVG Dimensions

  1. 1
    Paste SVGPaste the SVG source.
  2. 2
    Enter sizeWidth (required) and height (optional).
  3. 3
    CopyCopy the resized SVG.

Examples

Enlarge an icon
Input: A 24 × 24 icon SVG, width 512
Result: The same SVG with width="512" height="512"

Common Use Cases

  • Using icon SVGs at a specific size
  • Matching the size of SVGs exported from design tools

Frequently Asked Questions (FAQ)

Does it convert to PNG?

No, only the SVG size attributes change. For PNG, feed the result into an image converter.

Have feedback or ideas for this tool? Suggest & Inquire →