FREE IMAGE TOOL

SVG to PNG Converter — vector to raster, right in your browser

Upload or paste an SVG and export a crisp PNG at any size, with nothing ever leaving your device.

Drag and drop works too — drop an .svg anywhere on this box.
Click "Use Pasted Code" after pasting.
Multiplies width and height for a sharper export. Final PNG pixel size shown below.
Output PNG size
— × —
Upload an SVG to begin
—
Requested W×H
—
Scale factor
—
Final pixels
—
Est. file size
Tip: Export at 2× or 3× if the PNG will be resized down later — it's much easier to shrink a sharp image than to enlarge a blurry one.

The SVG to PNG converter on this page handles a common snag: you have a logo, icon or illustration as an SVG, and a tool, form or platform will not accept it. Email clients, presentation software, some content systems and some upload forms only take raster formats such as PNG or JPG. This converter does the job in your browser tab, so your artwork is not uploaded anywhere.

It draws your SVG onto an HTML canvas at the size you choose and exports the canvas as a PNG. There are no plugins or libraries, and no server round trip.

What This Converter Does

An SVG describes an image as shapes, paths and text, so it can be drawn at any size without losing sharpness. A PNG is a fixed grid of pixels. Converting means choosing the pixel size, rendering the vector at that size, and saving the result, with transparency kept if you leave the background on "Transparent". Because the size is chosen at export, one SVG can become a 64-pixel icon or a multi-thousand-pixel banner.

How to Use It

  1. Add your SVG. Choose an .svg file, drop one on the box, or paste markup and click "Use Pasted Code."
  2. Check the width and height. They are filled in from the SVG's own size when it loads. Adjust them for the size you need.
  3. Pick a multiplier. It multiplies width and height, so 2× on 512 × 512 gives a 1024 × 1024 PNG.
  4. Pick a background. Transparent suits logos and icons. Choose white or black if the destination does not support transparency.
  5. Click "Convert to PNG." The preview shows on a checkerboard, where the grey squares reveal transparent areas. It also redraws automatically when a new SVG loads, but not when you change a setting, so click Convert after changing the size, multiplier or background.
  6. Download the PNG.

How the Conversion Works

Your SVG text is wrapped in a Blob with the type image/svg+xml, given a temporary object URL, and loaded into an Image element like any picture. When it has loaded, the code draws it onto a canvas of your width and height times the multiplier, then calls canvas.toBlob() for a PNG. Earlier object URLs are revoked when they are replaced, as recommended in MDN's revokeObjectURL reference.

Because the SVG is loaded as an image, browsers do not load external resources it refers to, such as linked images, web fonts or stylesheets. Text set in a font that is not installed on your device will render in a fallback font, and linked images will be missing. If your SVG relies on those, convert text to outlines and embed images as data first.

SVG or PNG: Which Format to Use

Keep the SVG as the master file for logos, icons and illustrations that appear at many sizes. Use a PNG when a destination needs a fixed-size raster, or when the artwork is photographic. PNG supports transparency and uses lossless compression, which suits sharp edges and text better than JPG.

Choosing the Output Size

Work back from where the PNG will be used. Common targets are roughly: 32 or 64 pixels for a browser favicon, a few hundred pixels for a social profile image, and whatever fixed size an app store or print vendor specifies (always check their current requirements). For print, multiply the physical size in inches by the resolution you need, for example 300 pixels per inch. The multiplier changes the pixel dimensions only; this tool does not write a DPI value into the PNG, so "print-ready" in the menu just means more pixels. When unsure, export larger and let the destination scale down, since enlarging a PNG later makes it blurry.

Typical Situations

  • Favicons and touch icons are generally supplied as PNG or ICO at fixed sizes.
  • Email headers. SVG support in email clients is inconsistent, so a PNG is the safer format for a logo.
  • Slides and print vendors often accept raster files or PDF more reliably than SVG.
  • Video and thumbnail editors typically layer raster images.

File Size and Quality

PNG size grows with pixel count and detail. A flat icon at 512 × 512 can be a few kilobytes, while a detailed illustration at several thousand pixels on a side can reach megabytes. If a file is bigger than the destination needs, lower the width, height or multiplier. The "Est. file size" figure is the real size of the PNG blob in kilobytes.

Need more than a converter?

Arb Digital designs and builds websites, including the icon sets, logos and image assets behind them. If your brand needs a visual refresh, we can help.

See Web Design Services All Free Tools

How to Read the Result

  • Output PNG size (and "Final pixels") is width times multiplier by height times multiplier. This is the actual size of the file.
  • Requested W×H is the size before the multiplier.
  • Checkerboard areas in the preview are transparent. A solid colour behind your artwork means you chose a white or black background, or the SVG has its own background shape.
  • Distorted artwork means the width-to-height ratio differs from the SVG's. The image is stretched to the exact size you enter, with no letterboxing.
  • An error message means the markup is incomplete or not well-formed XML, for example a missing xmlns attribute.

What to Do Next

Common Mistakes

  • Exporting too small, then enlarging later. Export at the largest size you might need.
  • Choosing white or black by mistake and losing transparency.
  • Pasting incomplete markup. Include the opening <svg> tag with its xmlns attribute and the closing tag.
  • Entering a width and height with a different ratio than the artwork.
  • Forgetting to click Convert after changing a setting. The preview and download keep the previous values until you do.
  • Assuming fonts and linked images are included. They are not loaded for SVGs rendered this way.

Related tools: Image Cropper, Circle Crop Tool, Watermark Adder and the free tools hub.

Worked Example: A 200 × 100 SVG

There are no preset values because the tool needs your file. Here is a real test with a small SVG that has width="200" height="100" (a navy rectangle with a gold circle), pasted into the box with the default settings (2× multiplier, transparent background):

  • Requested W×H: 200 × 100 (read from the SVG)
  • Scale factor: 2×
  • Output PNG size: 400 × 200
  • Est. file size: about 5 KB (will vary by browser)

A second test used an SVG that has only a viewBox="0 0 100 100" and no width or height. In the test browser it loaded as 150 × 150, so the default export was 300 × 300, not 100 × 100. If your SVG has no width and height, set them yourself before exporting. Results depend on the browser, so check the numbers in the panel.

Frequently Asked Questions

Does this SVG to PNG converter upload my file anywhere?

No. The entire conversion, from reading the SVG to drawing it on a canvas and producing the PNG, happens locally in your browser using JavaScript. Nothing is sent to any server.

Can I convert an SVG that I only have as pasted code, not a file?

Yes. Paste the raw SVG markup into the text box and click "Use Pasted Code". It works the same as uploading a file.

Why is my downloaded PNG blurry?

This usually happens when the requested output size is much smaller than needed and the PNG is then enlarged elsewhere. Re-export at a larger size or a higher multiplier. An SVG with no width and height may also load at a small default size, so check the Output PNG size.

Can I get a transparent background in the PNG?

Yes, select "Transparent" in the background dropdown before converting. The checkerboard pattern in the preview shows which areas will be see-through.

What's the maximum size I can export?

It depends on your browser and device. Browsers limit canvas dimensions and area, and some phones and tablets allow much less than desktops. If a very large export fails or comes out blank, try a smaller size or multiplier.

Why are my fonts or linked images missing from the PNG?

SVGs loaded as images do not fetch external fonts, images or stylesheets. Convert text to outlines and embed images as data in the SVG before converting.

Will this work on my phone?

Yes, it uses standard browser features supported by modern mobile browsers, so you can upload, convert and download on a phone or tablet. Keep export sizes modest on mobile.

Turn this result into a plan

Need something more advanced? Try the free AI Website Audit and Keyword Research tools.