SVGPNG

SVG to PNG Converter

Drop one SVG or many. Pick a scale, a width or an exact size like 512 x 512, and download PNG with transparency kept. Also converts to JPG, WebP and AVIF. Nothing leaves your device.

Last updated: October 2026

4 Formats

PNG, JPG, WebP, AVIF

Any Size

Scale, width or exact

Transparency

Preserved

Private

No Uploads

SVG

Drop your SVG files here

One or many. Or tap to choose, or paste with Ctrl+V. Pick any size in the next step.

Your files never leave this device.

Choose SVG files

Have SVG code instead of a file?

How to convert SVG to PNG

1

Drop or select your SVG

Nothing is uploaded, the file stays on your device.

2

Choose a scale

1x to 4x of the SVG's own size, or an exact size like 512 x 512.

3

Set format and transparency

PNG is the default and preserves transparency automatically.

4

Check the live preview

Updates automatically as you change any setting.

5

Download your PNG

Saves directly to your device.

SVG to PNG at an exact size (512x512 and more)

In the converter, set Output size to Width x height and type the size, or tap a preset. The PNG comes out at exactly that size. If the SVG has a different shape, it is fitted inside and centred on a transparent background rather than stretched. To keep the SVG's own shape and only fix the width, choose Width instead. Common sizes:

ForPNG size
Favicon16, 32 or 48 px square
Apple touch icon (iPhone home screen)180 x 180
Web app (PWA) icons192 x 192 and 512 x 512
Google Play store icon512 x 512
App Store icon1024 x 1024
Slide or document logoWidth 1000 to 2000 px

Need a whole set of icon files at once? The favicon generator and app icon generator make every size in one go.

Convert SVG to PNG without losing quality

An SVG has no fixed resolution, so nothing is lost until you pick a pixel size. The PNG is drawn fresh at the size you choose, and PNG itself is lossless. A blurry result only comes from exporting too small and enlarging the PNG later, so export at the largest size you will actually show it.

For screens, export at twice the size it will be shown: a logo shown 200 px wide on a website stays sharp on phones and retina laptops at 400 px. For print, multiply the printed width in inches by 300:

Printed atExport width (300 DPI)
Business card logo, 1 inch wide300 px wide
Letter or A4 page header, 3 inches900 px wide
Half page, 5 inches1500 px wide
Full page, 8 inches2400 px wide

Browsers can only draw up to 8192 px on a side and about 32 megapixels, so very large posters are better exported from a vector editor. If text in your SVG uses a web font, it may be swapped for a default font, because outside fonts aren't loaded. Convert the text to outlines in your editor first if the exact font matters.

SVG to transparent PNG

Transparency is on by default. Anywhere the SVG has nothing drawn stays see-through in the PNG, which is what you want for a logo placed on a coloured background. The checkerboard behind the preview shows those transparent areas.

Need a solid background instead, for an email signature or an app that shows transparency as black? Untick Transparent background and pick a colour. JPG can't be transparent at all, so it always gets a background. WebP and AVIF keep transparency like PNG, with smaller files.

Save an SVG from a website as PNG

How you get the SVG depends on how the site uses it. Only convert graphics you have the right to use.

  1. 1

    The SVG is its own file

    Right-click the image and choose Save image as, or open the .svg address in a new tab and press Ctrl+S (Cmd+S on Mac). Then drop the file above.

  2. 2

    The SVG is part of the page code

    Right-click the graphic and choose Inspect. In the panel that opens, right-click the highlighted <svg> line, choose Copy, then Copy element (Copy outerHTML in some browsers). Click on this page and press Ctrl+V, or use Paste SVG code.

  3. 3

    You only have a link

    Open the link in a tab and save it as above. The converter can't fetch addresses itself, because most sites block other pages from reading their files. Getting round that would need a server in the middle, and this tool keeps everything on your device.

When to convert SVG to PNG

Social media and email

Instagram, X, LinkedIn and most email clients do not render SVG files. PNG is the safe universal format.

Word, PowerPoint and Slides

Office applications require raster images. Exporting at 2x or higher keeps the image sharp in presentations.

App icons and favicons

Choose Width x height and tap a preset such as 180, 192, 256 or 512 to export common icon sizes directly, at full sharpness.

Print and large format

Exporting at 3x or 4x gives you a high-resolution raster file suitable for print production.

Legacy browser support

Older browsers and apps may not render SVG correctly. PNG works everywhere without exception.

SVG and PNG: understanding the difference

SVG and PNG are fundamentally different kinds of files. An SVG is a text file that describes shapes using mathematical instructions. "Draw a circle here. Fill it with this color. Add a path that curves like this." When a browser or app reads an SVG, it follows those instructions and draws the image fresh each time, at whatever size you ask for. Zoom to 4000% and every edge is still perfectly sharp because the math doesn't care about scale.

A PNG is a grid of pixels. It was created at a specific size, and those pixels are what they are. Zoom to 4000% and you'll see individual squares. This isn't a flaw, it's just how raster images work, and for photographs and complex imagery, raster formats are exactly the right tool. The problem is that SVG's mathematical flexibility doesn't travel everywhere. Many platforms, apps, and file formats were built before SVG was widely supported, and they simply expect a raster image.

Choosing the right scale for your use case

The scale setting is the most important decision you make when converting SVG to PNG. Scale is a multiplier applied to the SVG's native dimensions. If you need a target size instead, the Width and Width x height options let you type one. A 1x export of a 200x200 SVG gives you a 200x200 PNG. That's fine for a small web icon. But if that icon ever appears on a retina display, where pixels are twice as dense, a 1x PNG will look blurry compared to its surroundings.

For anything that will appear on modern screens, 2x is the practical minimum. A 200x200 SVG exported at 2x gives you a 400x400 PNG, which looks sharp on both standard and retina displays. For print use, 3x or 4x is appropriate because print resolution requirements are much higher than screen resolution. A logo that's 300 pixels wide on screen needs to be around 900 to 1200 pixels wide to print at 300 DPI on a business card.

Why PNG is the right raster format for SVG exports

SVG files almost always contain transparency. Logos float on transparent backgrounds so they can sit on any color. Icons have transparent fill areas. UI elements are designed to layer over content. JPEG can't hold any of this because it doesn't support transparency at all. A JPEG conversion of a transparent SVG gets a white or colored rectangle behind it, which breaks the design in almost every context.

PNG preserves transparency completely, which is why it's the default output format here. If you specifically need a JPEG because file size is a concern and you know the background will always be white, the format toggle lets you switch. But for any logo, icon, illustration, or UI element with a transparent background, PNG is the right choice and the one that will work correctly wherever you use it. If file size is a concern and transparency still matters, WebP or AVIF give you smaller files than PNG while keeping the transparency intact, AVIF produces the smallest files of the three but takes noticeably longer to encode.

Common SVG to PNG mistakes

Expecting the scale buttons to hit an arbitrary exact size

Scale is a multiplier applied to your SVG's native dimensions, not a target size field. For a specific pixel size such as 512x512, switch Output size to Width x height and type it, or tap a preset.

Not checking why the output size looks unexpected

If your SVG doesn't declare a width, height or usable viewBox, the tool falls back to an 800x600 default before scaling. Check your source file's dimensions if the output doesn't match what you expected.

Choosing JPEG for a logo or icon with transparency

JPEG has no transparency support at all and always needs a background color. If your SVG needs to stay transparent, use PNG, WebP or AVIF instead.

Picking AVIF and expecting instant conversion

AVIF routes through a WebAssembly encoder rather than the browser's native export, so it's genuinely slower, especially at 3x or 4x scale. This is expected behavior, not a bug.

Assuming a broken or unusual SVG will always render

SVGs with external file references, embedded scripts or unsupported features can fail to render here. Re-saving from a vector editor like Figma or Illustrator usually produces a cleaner file.

Why use ImgTweak?

Runs entirely in your browser
No uploads, ever
PNG, JPG, WebP and AVIF, all from one page
Free forever, no account needed
Works on mobile as well as desktop
Live preview, no re-uploading between settings
Exact sizes like 512x512, many files to one ZIP

Frequently asked questions

How does the SVG to PNG conversion work?

The tool reads your SVG file in the browser, renders it onto an HTML canvas at your chosen scale, and exports the canvas as a PNG file. No server is involved. Your SVG never leaves your device.

What does the scale setting do?

Scale multiplies the native SVG dimensions. A 100x100 SVG at 2x becomes a 200x200 PNG. Use 2x or higher for retina displays, print, or any use case that requires a larger raster image. The SVG source is vector-based, so scaling up produces a perfectly sharp result with no pixelation.

Can I export to an exact pixel size like 256x256 or 512x512?

Yes. Under Output size, choose Width x height and type the size, or tap a preset such as 256 or 512. The PNG comes out at exactly that size. An SVG with a different shape is fitted inside and centred, never stretched. To keep the SVG's own shape, choose Width instead and type only the width.

What if my SVG doesn't specify a width or height?

The tool reads absolute width and height values, including common physical units, then uses the viewBox to derive dimensions where needed. Percentage dimensions depend on a surrounding viewport, so the tool uses the viewBox for those. If neither gives a usable size, it defaults to 800x600 before applying scale.

Is transparency preserved in the PNG output?

Yes. PNG supports transparency and the tool preserves it by default. If your SVG has a transparent background, the PNG output will also be transparent. You can optionally toggle it off and choose a background color if you prefer a solid fill.

Can I also convert SVG to JPG, WebP or AVIF?

Yes, all from this same page. The format toggle switches between PNG, JPG, WebP and AVIF without re-uploading your file. JPG requires a background color since it doesn't support transparency. WebP and AVIF both support transparency and produce smaller files than PNG, with AVIF producing the smallest but taking noticeably longer to encode since it runs through a WebAssembly encoder rather than the browser's native export.

Why is AVIF slower than the other formats?

PNG, JPEG and WebP use the browser's canvas export. Browser support for JPEG and WebP export varies, so the tool checks the returned format instead of silently saving PNG data under the wrong extension. AVIF uses a dedicated WebAssembly encoder and can take longer, especially at higher scale values.

Why would I convert an SVG to PNG?

SVG files are not supported everywhere. Social media platforms, email clients, Word documents, older web browsers and many apps require raster formats like PNG. Converting to PNG gives you a fixed-resolution image that works universally while preserving the sharpness of the original vector design.

Is there a file size limit?

There is no server upload limit because conversion runs on your device. For reliable browser rendering, output is limited to 8192 pixels on either side and 32 million pixels overall. Lower the scale if you reach that limit. Complex SVGs can also take longer to render.

Can I convert more than one SVG at once?

Yes. Drop, choose or paste several SVGs at once. They all use the same settings, and you can download them one by one or together as a ZIP.

My SVG won't convert or shows an error. What's wrong?

This usually means the SVG contains something the browser's image renderer can't handle, references to external files, embedded scripts, or other unsupported features. Try opening and re-saving the SVG from a vector editor like Illustrator, Figma or Inkscape, which typically produces a cleaner, self-contained file that renders correctly here.

How do I convert SVG to PNG without losing quality?

Export at the size you will actually use, or larger. The SVG is drawn fresh at that size and PNG is lossless, so nothing is lost. Quality only suffers if you export small and enlarge the PNG later. For screens, use twice the display size; for print, multiply the printed width in inches by 300.

Can I convert an SVG from a URL or a website?

Not by pasting the link, because most sites block other pages from reading their files. Save the SVG first (Save image as, or open the .svg link and press Ctrl+S), or copy the <svg> element from the browser's Inspect panel and paste the code here.

Can I paste SVG code instead of uploading a file?

Yes. Press Ctrl+V (Cmd+V on Mac) anywhere on the page with SVG code copied, or click Paste SVG code and paste it into the box. It is converted like a file and named pasted-svg.

Is my SVG uploaded to a server?

No. The file is read and rendered entirely in your browser. It's never sent anywhere.

Ready to convert your SVG?

No sign-up. No uploads. Drop your file above and download the PNG in seconds.