Esc
↑ ↓ to moveEnter to openEsc to close

SVG converter, free, no upload

SVG to PNG

To convert an SVG to PNG, drop the SVG file here or paste its code, pick a scale or an exact width or height, and press Download. The background stays transparent unless you choose a color, and you see the pixel size and file size before you save. The file is converted on your device and is never uploaded.

Continue with this photo Christmas frameNew Year frame CompressResizeConvertCrop Open a photo first, then pick the next step. Your edit carries over and stays on this device.

How to convert SVG to PNG

  1. Add your SVG

    Drop one or many SVG files on the box, choose them, or press Paste SVG code and paste the code. Nothing is uploaded.

  2. Pick the format

    PNG is selected. Choose JPG, WebP or PDF if you need one of those instead.

  3. Set the size and background

    Choose a scale from 1x to 4x, or type an exact width or height in pixels. Keep the background transparent, or fill it with white or a color.

  4. Check and download

    Each file shows its new pixel size and file size. Download them one by one, or all together as a ZIP.

What an SVG to PNG converter is for

An SVG is a drawing stored as shapes and text, so it stays sharp at any size, but many places do not take it: slides, documents, online stores, social media, chat apps and most upload forms want a picture made of pixels. An SVG converter draws the SVG at the size you ask for and saves that picture as a PNG, JPG or WebP.

Because the drawing is made from shapes, you choose the size at the moment of converting, and the result is as sharp at 4000 pixels as at 400. That is the difference from resizing a PNG afterwards, which only stretches pixels that already exist. For a logo or icon, convert once at the largest size you need, or once for each size.

After converting, the other tools take the picture further: compress the image for a web page, resize it, crop it into a circle for a profile picture, or switch formats again with convert image. To read the exact colors of a drawing, open it in the color picker from image.

PNG, JPG, WebP or PDF: which one to save

FormatTransparencyQualityUse it for
PNGYesLosslessLogos, icons, screenshots of drawings, anything with flat color or a clear background
JPGNoAdjustableForms and apps that accept only JPG, drawings with gradients or photos inside
WebPYesAdjustableWeb pages, where it is smaller than PNG for the same picture
PDFNoHigh, fixedPrinting and sharing as a document, one drawing to a page

PNG is the usual choice for logos, icons and anything with flat color or sharp edges, and it is the one to use when the background must stay transparent. SVG to JPG makes sense when a form or app accepts only JPG, or when the drawing has gradients or photos inside and the file must be small. JPG has no transparency, so the background is filled with white or the color you pick.

SVG to PDF here means a PDF page of the drawing's own size with a picture of the drawing on it. It opens and prints everywhere, but the shapes inside are no longer editable and very deep zoom shows pixels, so pick a high scale. If you need a PDF that keeps the shapes as shapes, export it from the app the drawing was made in.

How the output size is worked out

Every SVG has a size of its own: its width and height, or the numbers of its viewBox when it gives no width and height. Scale multiplies that size, so a 256 by 256 icon at 2x becomes 512 by 512 pixels. Width or Height sets one side to the exact number you type and works out the other from the drawing's shape, so nothing is stretched. The rules follow the SVG specification: lengths in mm, cm, in, pt and pc are converted at 96 pixels to the inch.

A few files give no size at all, neither width and height nor a viewBox. Browsers show those at 300 by 150, so we do the same and say so next to the file. If the result looks cut off, open the file in a drawing app and save it again with a viewBox.

The largest output is 8,192 pixels on the longest side and about 16.8 megapixels in all, the most a phone browser can hold in one canvas. When a size you ask for is over that, we reduce it to the limit and mark the file, so you always know the real size before saving.

Fonts, linked images and what does not convert

Outside files are not loaded. We draw every SVG the way a browser draws a picture: no script in it runs and nothing it links to is fetched, as MDN describes for SVG used as an image. That keeps an untrusted file harmless, and it also means a photo, font or style sheet the SVG links to from a website or from another file on your computer is missing from the result. Pictures embedded inside the SVG itself are drawn. The tool counts the outside links it finds and lists them next to the file.

Text needs the font on this device. Text stored as text is drawn with the fonts installed here. If the drawing's font is not installed, the browser picks another one and the text looks different. For an exact match, convert the text to outlines (also called curves or paths) in your drawing app before saving the SVG.

Animation and scripts. An animated SVG is saved as one still picture of its first moment. Anything the file draws with a script does not appear, because the script is never run.

Colors. The picture is 8-bit sRGB, like every web image. JPG and WebP quality starts at 92 and can be changed; PNG is always lossless.

Questions

How do I convert an SVG to PNG?

Drop the SVG on the converter above, choose a scale or type a width or height in pixels, and press Download PNG. The PNG keeps the transparent background unless you pick a color. It works the same on Windows, Mac, Linux, iPhone and Android, because the browser does the work.

How do I convert SVG to PNG with a transparent background?

Leave Background on Transparent, which is the default for PNG and WebP. Every part of the drawing that has no shape on it stays see-through, and the preview shows it on a checkerboard. If your PNG comes out with a white box, the SVG itself contains a white rectangle as its background.

Can I convert SVG to JPG?

Yes. Choose JPG under Save as. JPG has no transparency, so the background is filled with white, or with the color you choose, and a quality slider sets the balance between sharpness and file size.

Can I convert SVG to PDF?

Yes, choose PDF under Save as. You get a one-page PDF at the drawing's own size with a high quality picture of the drawing on it. The shapes are not editable in that PDF, so for print work that needs real vector shapes, export the PDF from your drawing app.

How do I get a high resolution PNG from an SVG?

Choose 3x or 4x under Scale, or switch to Width and type the number of pixels you need, such as 4000. An SVG is made of shapes, so a larger size is drawn fresh and stays sharp. The limit is 8,192 pixels on the longest side.

Is this SVG converter free, and are my files uploaded?

It is free, with no sign-up, no watermark and no daily limit, and your files are not uploaded. The browser reads and draws each SVG on your device. A line under the results counts the requests the page has sent since you added a file, so you can check that for yourself.

Can I convert many SVG files to PNG at once?

Yes, up to 50 at a time. Drop them together, and each one is converted with the same format, size rule and background. Download all gives you one ZIP with every file, named after the SVG it came from.

Why does the text or an image in my PNG look wrong or missing?

Because the SVG depends on something outside itself. Text is drawn with the fonts on your device, so a font you do not have is replaced by another. Images and fonts the SVG links to from a website are not loaded at all. Convert text to outlines and embed images in the SVG, then convert again.

Sources: SVG as an image (MDN), SVG 2: Coordinate Systems, Transformations and Units (W3C)

See all tools