SVG to PNG

SVG to PNG or JPG, converted in your browser for designers, developers and anyone who needs a usable image.

1 / Tool Convert an SVG right here

Drop an SVG here, or click to choose a file

.svg files only — up to 5 MB

Checkerboard means transparent pixels. The preview scales to fit this column; your download keeps the exact format and pixel size shown in the result bar above. Change the format or size and it re-draws from the same SVG — no second upload.

Size

Result preview

PNG · exact pixel size and format appear in the result bar after conversion

2 / Ready-made image Choosing a size for an image you already have

You found a drawing or an icon and need it as a PNG. The right setting depends on where the image has to land, not on the file you started with. Every value below is a control on this page, not a guessed number.

An icon for a site or an app

Keep the edges clean and the background see-through. A small SVG does not need a bigger canvas to stay sharp on screen.

Do this: PNG + Transparent background + Original (or 2× if the icon looks soft). Avoid JPG here — it has no alpha channel.

An illustration for a slide or a document

The image has to fill a fixed space. Set the width you need and let the height follow the SVG's own proportion so nothing stretches.

Do this: type the pixel width into Custom width (this page accepts 1–8000 px), then read the exact size under the preview before you download.

A sharp copy for print or a dense screen

Start from a preset and look at the preview. A bigger preset multiplies both dimensions, and the SVG is drawn again at that size instead of being stretched.

Do this: click 4×, read the pixel size in the readout, and stop increasing it once the number matches your target. This page sets size in pixels; it has no DPI field.

3 / Fixes Why an export looks wrong

Why did the letters change shape?

A browser drawing an SVG as an image will not fetch a font from a URL, so the text falls back to a font on your device. Fix: embed the font as a data: URI inside the SVG, or convert the text to paths first. This page names every skipped reference in the notice above the result.

Why is part of the drawing missing?

Linked images (<image href="...">) and outside <use> references are skipped in this mode, and scripts inside an SVG never run. Fix: embed raster images as data:image/... URIs and keep <use> targets inside the same document.

Why did my transparent background turn white?

PNG keeps an alpha channel; JPG cannot store one, so the drawing is flattened onto a solid colour. Fix: choose PNG and leave Transparent background checked. If you need JPG, pick the background colour yourself — white is only the default.

Seven pages, side by side

Output formats, size controls and missing-piece warnings on seven pages, copied cell by cell from the seven-site baseline; nothing here was rewritten.

SiteOutput formatsSize controlsMissing-piece warning
svgviewer.devExport dropdown with 4 items: PNG / JPEG / WebP / ICO; Data URI and Favicon set exports are also available (measured in the rendered DOM)W/H numeric inputs (measured default 400/400), zoom factors 0.5x / 1x / 2x / 4x / 8x / 16x, Change dimensions (400px x 400px) — measured in the rendered DOMNone
vexlio.comPNG; batch download as .zip (page body/button text). The page also mentions that the same vendor's editor can export SVG / PNG / PDF, not this page's converterZoom factors 1× / 2× / 3×; Advanced Options can Add density for a custom factor (measured numeric input 1.5); the FAQ explicitly says custom DPI is not supported, and there are no width/height pixel inputsNone (the page only says "SVGs may appear differently on different systems"; it is not a pre-conversion warning that external fonts/images will be lost)
freeconvert.comPNG (the target of this page); the footer also lists links to other conversion pages such as SVG→JPG / JPEG / WebP / GIF / TIFF / BMP / PDF / ICO / PS / EMF / WMF / DOC / DOCX (page text)Resize Output Image: keep original / width / height / width×height px / percentage; Pixel Density (DPI) numeric input (measured default 300, page says 0–1000) — page controls and help textNone (Strip Metadata is a metadata option, not a missing-piece warning)
shutterstock.comNoneNoneNone
convertio.coPNG (the target of this page); the page text says "Choose png or any other format you need as a result (more than 200 formats supported)" and lists conversion links such as SVG→JPG / ICO / PDF / EPS / WEBP / PSD / TIFF / BMP / GIFnot readable (the page FAQ text says an output size can be specified, but the landing page shows no width/height/percentage input or size option; with no file uploaded, the controls are not readable)None (the FAQ "Will text in my SVG render correctly?" answers that text is rasterised and does not depend on the viewer's original font; it is not a pre-conversion warning that external fonts/images will be lost)
microsoft.comNoneNoneNone
geeksforgeeks.orgNone (the body text says SVG→PNG, but there is no format-selection control)None (the body text mentions "supporting various resolutions", but there are no width/height/percentage input controls)None

Crawl date: 2026-11-07 (pages read in an en-US browser; numbers in the table are marked as measured on the page or quoted from the page).

Need the other way round? Picture to SVG →

Drop a .svg file on the box above, click it to choose one, or paste the markup directly. This page works as an svg to png converter and as a JPG converter: pick the output, then the size — original, 2×, 4× or a custom width — and press Download. To convert svg to png at a print-friendly size, type a width such as 2400 and the height follows the SVG's own proportion. Switching to JPG re-renders the same drawing immediately; you never have to upload the file twice. Nothing is sent to a server: the SVG is drawn into a canvas in this tab and the PNG or JPG is written from that canvas.

All processing happens in your browser. Your SVG is never uploaded.
Login: Not required Watermark: None Use: Unlimited

Supported SVG features, limits, and how the conversion works

What renders

The SVG is loaded as an image and drawn into a canvas, so anything the browser can paint in an SVG image is in the export: paths, shapes, strokes, fills, gradients, patterns, masks, clipping, opacity, transforms, inline CSS and <text> using fonts installed on your device or embedded as data: URIs. Transparency is kept for PNG; JPG has no alpha channel, so it is flattened onto the colour you pick, white by default.

Three things do not survive that trip, and the page tells you about them instead of handing over a quietly incomplete image:

  • External fonts pulled with @import, @font-face src: url(...) or a stylesheet <link>. Browsers refuse to fetch them for an SVG used as an image, so the text falls back to a system font.
  • External images referenced by <image href="https://..."> or xlink:href. Those are skipped entirely.
  • External stylesheets and references such as <use href="other.svg#id">. Only inline styles and same-document references are applied.

When any of these are found in the source, a notice above the result lists exactly which references were not rendered. Scripts inside an SVG never run in this mode, which is also why no script-based content appears. Animated SVG is captured as the single frame the canvas sees.

Size and limits

The original size is read from the SVG's width and height attributes, or from its viewBox when those are missing or given as percentages. The 2× and 4× presets multiply both dimensions; the custom width sets the width and derives the height from the same aspect ratio. The values below are actual measurements from this page's local build test — headless Chrome 156 on Windows 11, using the three test SVGs described below — not estimates.

Setting / test fileMeasured result
t1_simple.svg, declared 320 × 200 px, PNG320 × 200 px, 5,600 bytes
t2_gradient.svg, viewBox only, PNG400 × 240 px, 100,079 bytes
t3_external.svg, 360 × 180 px, PNG360 × 180 px, 16,043 bytes; 3 skipped references reported
The same three files as JPG at quality 0.925,089 / 8,090 / 6,321 bytes
2× / 4× on the 320 × 200 source640 × 400 px / 1280 × 800 px
Custom width 1200 on the 320 × 200 source1200 × 750 px
SVG with no width, height or viewBox300 × 150 px, the browser's intrinsic fallback
Transparent PNG corner / same corner as JPGalpha 0 / white 255, 255, 255

The file limit is 5 MB of SVG source, and the custom width accepts 1–8000 px. Both are checked before anything is drawn: a file over the limit or a width outside that range is rejected with a message instead of producing a partial result. Very large output canvases are refused by the browser itself; staying inside 8000 px on the longest side keeps the conversion responsive on a phone. There is no daily limit and no account.

How the conversion works, and privacy

The source text is read with the File API or taken from the paste box, wrapped in an image/svg+xml blob, loaded into an Image, and drawn onto a canvas at the size you chose. The download is produced with canvas.toBlob() for PNG or image/jpeg at quality 0.92. No network request carries your file: there is no back end, no account, no cookie tied to your image and no stored history. Changing format, size or background re-draws the same in-memory source immediately.

Questions people ask

How do I convert SVG to PNG?

Drop the .svg file on the box at the top, or click it to choose one. The drawing appears straight away. Keep PNG selected, pick a size, and press Download. The file keeps the SVG's own name with a .png suffix, for example logo.svg becomes logo.png.

Can I convert SVG to JPG instead?

Yes. Choose JPG in the output format box and the same SVG is re-rendered at once, with no second upload. JPG cannot store transparency, so a background colour picker appears, set to white by default. The download ends in .jpg.

Is this an svg to png converter that needs an account?

No. There is no sign-up, no trial and no watermark, and the page opens straight into the tool. It is one file with one stylesheet and one script, with no frameworks or external font packages.

What sizes can I export at?

Original, 2× and 4× presets, plus a custom width from 1 to 8000 px. The height is always calculated from the SVG's own aspect ratio, so the drawing is never stretched. If your SVG has no explicit size, its viewBox supplies the proportion.

Why does my text look different after conversion?

Fonts fetched from outside the SVG file are not loaded when a browser draws an SVG as an image, so text falls back to an installed font. When that happens this page lists the exact font or stylesheet reference in a notice above the result instead of quietly giving you a different-looking image. Embedding the font as a data: URI inside the SVG keeps it in the export.

What about images linked inside the SVG?

Linked external images are skipped by the browser in this mode and are named in the same notice. An image embedded as a data:image/... URI is part of the SVG source and does render. The notice is deliberately explicit: you should not have to compare the download against the original to discover something is missing.

Is my file uploaded anywhere to convert svg to jpg or png?

No. The SVG text stays in this tab, is drawn into a canvas, and the PNG or JPG is generated from that canvas. There is no upload request, no server-side conversion and no stored history.

Can I paste SVG code instead of a file, and does it work on a phone?

Yes to both. The "or paste SVG code instead" link opens a box where you can paste markup and convert it; pasted code gets the name svg-image for the download. On a phone the controls stack in one column, the buttons are finger-sized, and the result preview scales to the screen width without horizontal scrolling.