Rasterizes an SVG into a PNG at the exact pixel size you choose. The intrinsic size and aspect ratio are read from the SVG's width/height or viewBox. Keep the background transparent or fill it with a color. Nothing is uploaded.

output size
×
scale
background
output

Drop an SVG here

or click to choose · or paste (Ctrl/Cmd + V)

processed in your browser · never uploaded

Drop or click to replace

Convert an SVG (vector image) into a PNG at the exact pixel size you need. SVG scales without quality loss, but many places — social avatars and thumbnails, email and documents, or services that only accept PNG — need a fixed-pixel raster image. This tool reads the SVG's intrinsic size and aspect ratio from its width / height attributes, or from the viewBox when those are missing, and shows them as the starting size. Type the output width and height in pixels; turn on "lock ratio" and changing one side updates the other so the aspect ratio never breaks. Quick 0.5×, 1×, 2× and 4× buttons scale relative to the intrinsic size in one tap. The background can stay transparent (a transparent SVG becomes a transparent PNG) or be filled with white, black, or any custom color. Because it re-rasterizes from the vector, edges stay crisp at any size. If the longest side would exceed 8192px, the size is capped automatically to stay within browser canvas and memory limits. Your SVG is never uploaded, stored, or sent anywhere — every step runs locally on the canvas.

How to use

  1. Drop an SVG in, click to choose, or paste it.
  2. Type the output width and height in px, or tap a scale button. Lock ratio keeps the aspect ratio.
  3. Keep the background transparent, or fill it with white, black, or a custom color.
  4. Click Download PNG to export. The SVG is never sent anywhere.

FAQ

Is my SVG uploaded to a server?

No. The conversion runs entirely in your browser using the Canvas API. Your SVG is never uploaded, stored, or sent anywhere — it is processed only on your device.

How is the output size decided?

It starts from the SVG's intrinsic size (its width/height attributes, or computed from the viewBox if those are absent). You can freely change the width and height in pixels, or use the scale buttons for 0.5×–4× of the intrinsic size.

Does enlarging it lose quality?

No. Because SVG is vector, it is re-rasterized crisply at whatever size you pick. Turning a small SVG into a large PNG keeps the edges sharp.

Can it keep transparency, or add a background?

Both. The default is transparent, so a transparent SVG exports as a transparent PNG. Pick a background of white, black, or any custom color to flatten it onto that color instead.

What if the SVG has no width, height, or viewBox?

With no size hint, the tool uses the browser default of 300×150px as the starting size (and tells you). Just type the width and height you want.

How large can the output be?

The size is capped automatically so the longest side stays under 8192px (a safe limit for browser canvas size and memory). When it caps the size, it tells you.