SVG to PNG Converter

Convert SVG files, or SVG code you paste in, to PNG. Set the size as a scale from 1x to 8x or as an exact width in pixels, and choose a transparent or coloured background. Everything runs in your browser.

  • Scale or exact width
  • Transparent or coloured background
  • Files or pasted code

Output size

2×
1×8×

File names

Nothing is uploaded. Scripts inside an SVG are never run.

Drop SVG files here, or click to choose

Convert as many as you like in one go.

    SVG versus PNG

    SVG is a vector format: it describes shapes with maths, so it stays sharp at any size and is usually tiny. PNG is a raster format: a fixed grid of pixels. SVG is ideal for logos and icons on your own website, but many places only accept raster images, including email clients, social networks, presentation tools and some content management systems. Converting to PNG solves that.

    How the converter works

    Drop one or more .svg files, or choose "Paste SVG code". Each is read for the size it declares (from its width and height, or its viewBox, in pixels, millimetres, inches or points) and drawn at the output size you ask for, so the vector is rendered sharply at that size instead of being stretched afterwards. You can set the size as a scale from 1x to 8x, or as an exact width in pixels with the height following the SVG's proportions. Add a prefix or suffix to name the files, then download one PNG or a ZIP of all of them.

    Choosing a size

    Because a PNG has a fixed size, the size you pick decides how sharp it is. Use 2x for icons that must look crisp on high-density screens, and 4x or more for print or large banners. If you know the pixels you need, choose a width. You can always shrink a large PNG without losing quality, but enlarging a small one makes it blurry.

    Browsers cap how large an image can be. If your request is bigger than that, the output is reduced to the most your browser can draw, and the file says so.

    • Social profile images: about 800 to 1000 pixels square.
    • Email signatures: roughly 2x the displayed size.
    • Favicons and app icons: export separate sizes such as 192 and 512 pixels.

    Transparency and backgrounds

    PNG supports transparency, so areas your SVG leaves empty stay transparent and blend into any page. If a destination turns transparency black or does not support it, untick "Transparent background" and choose a colour to fill with.

    Why an SVG may look different

    SVGs that rely on fonts not embedded in the file, external images, or HTML inside the SVG may render differently in a browser than in a design program, and browsers block some of these when converting for security reasons. Convert text to outlines in your design tool before exporting, and make sure referenced images are embedded. These steps remove most surprises. For safety, scripts inside an SVG are never run.

    Frequently asked questions

    Is my artwork uploaded?

    No. The SVG is drawn and converted on your own device, so your files are never sent to a server. Scripts inside an SVG are never run.

    How do I get a PNG of an exact size?

    Choose "Width", enter the pixels you need, and the height follows the SVG's proportions. Use "Scale" instead to multiply whatever size the SVG declares for itself.

    Which scale should I choose?

    2x is a good default and keeps icons sharp on high-density screens. Use 4x or more for print or large banners. Browsers limit how big an image can be, so very large results are reduced to the most your browser can draw, and the tool tells you when that happens.

    Why does my SVG come out at 300 by 150?

    The SVG does not say how big it is: it has no width, height or viewBox. Browsers then assume 300 by 150, and so does this tool. Choose "Width" to set the output size you want, or add a viewBox to the SVG.

    Will the background be transparent?

    Yes by default: areas your SVG leaves empty stay transparent. Untick "Transparent background" to fill with a colour, for destinations that do not support transparency.

    Why does the PNG look different from my design app?

    SVGs that use fonts that are not embedded, linked external images, or HTML inside the SVG can render differently in a browser, and some of these are blocked for security. Convert text to outlines and embed any images before exporting.

    Can I paste SVG code instead of uploading a file?

    Yes. Open "Paste SVG code", paste your markup, and it is converted like a file.

    More tools like this

    All tools →