Submit an extension

↑↓ move · ↵ open · Tab filter · Esc close

Free tool · Images & media

SVG to PNG converter

Drop SVG files or paste SVG code and get sharp PNGs at any size. Files never leave your device, transparency is kept, and icon sets take one click.

  • Free, no sign-up
  • Runs in your browser
  • Works on mobile
Input
A small logo with no width or height set, drawn with a viewBox only.
Output settings
Size
Scale of the SVG's own size
2x suits most retina screens. The vector is redrawn at the new size, so it stays sharp.
Format

PNG is lossless and keeps transparency.

Background
Transparent areas stay see-through.

No SVGs yet. Add a file or paste code above; it converts straight away.

    To convert SVG to PNG, drop your .svg file into the box above or paste its code. Your browser redraws the vector at the size you pick (2x by default), keeps the transparent background and saves a PNG. Nothing is uploaded. Choose custom pixel sizes, Chrome icon sizes, or JPG and WebP output instead.

    Last checked · Independent, not affiliated with Google

    Your data Your SVGs are read and drawn entirely inside this browser tab, using the browser's own XML parser, image renderer and canvas. No file, code or file name is sent to our server or anyone else's. The SVG is drawn as an image, so any scripts in it never run and links inside it are not fetched. We save only your output settings in this browser.

    How to use the SVG to PNG Converter

    1. Add your SVG

      Drop .svg files on the box, click it to choose files, or paste a copied SVG file. To convert code, switch to Paste SVG code, paste it and watch the live preview.

    2. Pick a size

      Scale multiplies the SVG's own size (1x to 4x). Custom takes a width or height in pixels. Icons makes one square PNG per size you tick, such as 16, 32, 48 and 128.

    3. Choose format and background

      PNG with a transparent background is the default. Pick a background colour if you need one, or switch to JPG or WebP.

    4. Download

      Each card shows the source size, the output size and any warnings, with its own download buttons. Use Download all (ZIP) to save everything at once.

    How does this SVG to PNG converter work?

    It asks your browser to draw the SVG at the size you want, then saves those pixels as a PNG. The browser already knows how to render SVG, because every web page uses it for logos and icons, so no server is needed.

    The conversion path. Every step runs inside your browser tab.
    • Read: the file is read as text and parsed with the browser's XML parser. Nothing is shown on the page yet, so nothing in it can run.
    • Resize: the tool writes your chosen width and height onto the <svg> element. If the file has no viewBox, one is added from its size so the drawing can scale.
    • Draw: the edited SVG becomes a blob: image and is painted onto a canvas. Because it's redrawn at the final size, curves and text stay sharp.
    • Export: the canvas saves a PNG (or JPG or WebP). PNG keeps every pixel and any transparency exactly.

    Server-based converters such as the CloudConvert SVG to PNG page upload your file, convert it remotely and send it back. That works, but it adds a wait and puts a copy of your artwork on someone else's disk. Here the SVG to PNG conversion happens on your own device.

    SVG vs PNG: what's the difference?

    SVG stores shapes as instructions, so it can be drawn sharp at any size. PNG stores a fixed grid of pixels, so it looks exactly the same everywhere but goes blocky when enlarged. That's the whole SVG vs PNG trade-off.

    Enlarge both 8x: the SVG is redrawn, the PNG's pixels just get bigger.
    SVG vs PNG at a glance
    SVGPNG
    What it storesShapes, paths and text as XMLA grid of pixels
    Scaling upStays sharpBlurs or goes blocky
    TransparencyYesYes (8-bit alpha)
    PhotosPoor fitGood, but files get large
    Where it worksBrowsers, design appsAlmost everything: email, Office, social sites, app stores
    Editable laterYes, in any text or vector editorOnly as pixels

    So why convert from SVG to PNG at all? Because plenty of places refuse SVG: many social networks, email clients, slide tools, marketplace listings and upload forms. Chrome's own extension manifest won't take SVG icons either. Keep the SVG as your master file and export PNGs for wherever they're needed.

    SVG to PNG high resolution: how big can you go?

    Pick a bigger scale or a custom width and the SVG is redrawn at that size, so a 24-pixel icon exported at 1,024 pixels is just as crisp as the original. You're limited only by how much canvas memory your browser allows.

    Scale is relative to the size written in the file. An SVG with width="120" exported at 4x gives 480 pixels. An SVG with only a viewBox of 0 0 24 24 counts as 24 × 24, so 4x gives 96. For print or large screens, use Custom and type the pixel width you need; the height follows the shape of the drawing.

    Picking an output size
    You needSettingWhy
    Crisp on retina screensScale 2xMost phones and laptops use two or more device pixels per CSS pixel
    A slide, doc or social postCustom width 1600–2400Enough pixels for full-width display
    A print fileCustom: inches × DPIA 4-inch logo at 300 DPI needs 1,200 pixels
    Extension or app iconsIcons: 16, 32, 48, 128One file per size, drawn separately

    SVG to PNG transparent background, or a solid colour

    The background stays transparent by default: any area the SVG doesn't paint comes out see-through in the PNG. Choose Colour under Background to fill it with white, your brand colour or anything else.

    The checkerboard behind the preview shows which areas are transparent. If the result has a white box you didn't expect, the SVG itself probably contains a full-size white <rect> behind the artwork. Delete that element in your editor, or in the code box here, and convert again.

    JPG can't store transparency, so when you pick JPG the colour option is switched on and see-through areas are filled. WebP keeps transparency like PNG and usually makes a smaller file.

    Why does my PNG look different from the SVG?

    Usually because the SVG relies on something outside the file. When a browser draws an SVG as an image, it switches off scripts and won't load external files such as linked images, stylesheets or web fonts. The tool scans for these and warns you on the card.

    Missing images
    An <image href="https://…"> pointing at another file stays blank. Embed the picture as a data: URL in your editor, then convert again.
    Wrong font
    Text set in a web font loaded with @import or @font-face falls back to another font. Fonts installed on your device do work. Safest fix: convert text to outlines (paths) before you export.
    No width or height
    The size is read from the viewBox. With neither, browsers fall back to 300 × 150 pixels; the card flags this so you can set a custom size.
    Animation or interactivity
    Scripts and hover effects don't run, and CSS animations are captured at a single frame. A PNG is one still picture.
    Error: not valid SVG
    SVG is strict XML. An unclosed tag, a missing quote or a bare & stops it. The error names the line and column to fix.

    Make Chrome extension icons from one SVG

    Choose Icons, tick 16, 32, 48 and 128, and each SVG becomes four square PNGs named like logo-16.png and logo-128.png. Chrome's documentation says extension icons can't be SVG or WebP and recommends PNG for its transparency support.

    • 128 × 128: shown during installation and in the Chrome Web Store.
    • 48 × 48: shown on the extensions management page.
    • 16 × 16: the favicon for the extension's own pages.
    • 32 × 32: used in Chrome's example manifest; worth including for high-density screens.

    Artwork that isn't square is centred with transparent padding, so nothing gets stretched. At 16 pixels fine details vanish; if the icon turns to mush, make a simpler version of the SVG just for the smallest size. Picking the brand colours first? Our colour picker from image reads exact HEX values from a screenshot.

    How to convert SVG to PNG on Windows, Mac or with Inkscape

    Any modern browser can do it, which is why this page works the same on Windows, macOS, Linux and ChromeOS. If you'd rather use desktop software, these are the dependable routes.

    Other ways to change SVG to PNG
    MethodHowCatch
    Inkscape (free, all systems)File > Export, choose PNG, set width or DPI, click ExportLarge download for a one-off job
    Inkscape command lineSee the command below; good for folders of filesNeeds a terminal
    Chrome DevToolsOpen the SVG in a tab, press F12, then Ctrl+Shift+P and run Capture full size screenshotCaptures the page background too, so no transparency
    Figma, Illustrator, AffinitySelect the artwork and export as PNG at 1x to 4xNeeds the app and an account or licence
    # Inkscape 1.x: export logo.svg as a 1024-pixel-wide PNG
    inkscape logo.svg --export-type=png --export-width=1024 --export-filename=logo.png

    Developers who need an SVG as a data URL rather than a PNG can encode it with our Base64 encoder. For bitmap formats, the WebP to PNG converter handles WebP, JPG, GIF and AVIF the same private way.

    PNG to SVG: why converting back is a different job

    Turning PNG to SVG isn't the reverse of this tool. A PNG has no shapes in it, only pixels, so a PNG to SVG converter has to guess the shapes by tracing edges. That's called vectorising, and this page doesn't do it.

    Tracing works well on flat logos, icons and line art with a few solid colours. It works badly on photos, gradients and soft shadows, which turn into thousands of blobs and a file far larger than the PNG. Some online tools simply wrap the PNG inside an SVG file; that isn't vector at all and won't scale any better.

    How to open SVG files

    Drag the file into any browser window. Chrome, Edge, Firefox and Safari all display SVG, and on Windows .svg files usually open in Microsoft Edge by default. To edit one, use a vector editor such as Inkscape, Figma or Illustrator.

    Because SVG is text, you can also open it in any code editor to see and change the XML. Windows File Explorer doesn't show SVG thumbnails out of the box; Microsoft's free PowerToys adds SVG previews and thumbnails. Designers comparing tools can browse our picks for designers, including extensions like ColorZilla.

    SVG to PNG Converter: FAQs

    How to convert SVG to PNG for free?

    Drop the SVG into the box at the top of this page and press Download on its card. The browser redraws the vector and saves a PNG, with no sign-up, watermark or limit on how many files you convert.

    Is this SVG to PNG converter safe for private files?

    Yes. The file is read and drawn inside your browser tab and never uploaded. It's also drawn as an image, so scripts hidden in an SVG can't run. You can check by turning off Wi-Fi after the page loads; conversion still works.

    Can I convert SVG file to PNG without installing anything?

    Yes. This page uses the SVG renderer already built into Chrome, Edge, Firefox and Safari, so there's nothing to install and it works on Windows, Mac, Linux, ChromeOS and phones.

    Does SVG to PNG conversion lose quality?

    Not if you export at the size you need. The vector is redrawn at the output size, so it's sharp. Quality is lost only if you later enlarge the PNG beyond its pixel size; export a bigger one instead.

    How do I get SVG to PNG high resolution output?

    Choose Scale 3x or 4x, or pick Custom and type the width you need, up to 16,384 pixels. The drawing is rendered fresh at that size, so edges and text stay crisp rather than blurred.

    How do I keep an SVG to PNG transparent background?

    Leave Background set to Transparent and the format on PNG or WebP. Areas the SVG doesn't paint stay see-through. If you see a white box, the SVG contains its own white rectangle behind the artwork.

    Can I convert SVG code instead of a file?

    Yes. Switch to Paste SVG code, paste everything from <svg to </svg>, check the live preview and press Convert code or Ctrl+Enter. You can also paste SVG code anywhere on the page to add it directly.

    Why are fonts or images missing from my PNG?

    Browsers won't load external files, including linked images and web fonts, when drawing an SVG as an image. Embed images as data: URLs and convert text to paths in your editor, then convert again.

    Is this SVG converter to PNG able to batch files?

    Yes. Drop up to 200 SVGs at once; they convert one after another, each with its own card. Download all (ZIP) saves every PNG in one file with duplicate names numbered.

    How do I change SVG to PNG on a phone?

    Open this page in your phone's browser, tap the box and choose the SVG from Files. The PNG downloads to your phone. iPhones and iPads limit canvas size, so very large exports may need a smaller size.

    What sizes do Chrome extension icons need?

    Chrome uses 128 × 128 for installation and the Web Store, 48 × 48 on the extensions page and 16 × 16 as a favicon, with 32 × 32 common too. Icons must be PNG or another bitmap; SVG isn't supported.

    Can this tool convert PNG to SVG?

    No. PNG to SVG means tracing pixels into shapes, which is a different job. Use a tracing tool such as Inkscape's Trace Bitmap on simple logos, and expect poor results on photos.

    Is a PNG to SVG converter worth using?

    For flat logos and icons with a few solid colours, yes. For photos or gradients, no: the traced file is huge and blotchy. Some converters just wrap the PNG in an SVG, which doesn't make it scalable.

    Which is better: SVG vs PNG for a website logo?

    SVG, in most cases. It stays sharp on every screen and is often smaller. Use a PNG where SVG isn't accepted, such as email, social profiles and many upload forms, and export it at 2x for crispness.

    Sources and further reading