SVG to PNG, JPG and PDF converter
Turn SVG files or code into sharp PNG images at any size, with a transparent or coloured background. JPG, WebP and PDF too, many at once. Nothing is uploaded.
- Runs in your browser
- Nothing is uploaded
- Free, no sign-up
or drop them here. SVG and SVGZ files up to 20 MB each, or paste SVG code below. Nothing is uploaded.
Paste SVG code
Parts of the drawing with nothing on them stay see-through.
How it works
Choose or drop SVG files, or paste SVG code, and pick the size: a scale of the size the SVG says it is, or a width or height in pixels with its shape kept, or an exact width and height. Each SVG is opened by your browser as an image and drawn at that size on a canvas, then saved as a PNG, JPG or WebP, all on your device. You can convert up to 30 at a time and download them one by one or together as a ZIP.
For SVG to PDF, pick a page the size of the SVG or A4 or Letter paper (turned to suit the drawing, with a 10 mm margin). Each SVG is drawn the same way at 300 pixels per inch of its size on the page, at least 2,000 pixels on its long side, and stored in the PDF without loss, see-through parts and all, a page for each SVG. Download each PDF on its own, or all of them as one PDF.
An SVG with no width or height counts its viewBox as its size. Images, fonts and styles that an SVG links to outside its own file can't be loaded, and named fonts that aren't installed on your device are replaced; the page says when either happens. SVG code copied from a web page often lacks the line that marks it as SVG, so that is added for you.
To convert photos and other pixel images between formats, use the image converter; to make a website icon from an SVG, use the favicon generator.
Questions
How do I convert SVG to PNG with a transparent background?
Choose PNG and leave "Transparent background" ticked, which it is by default. Parts of the drawing with nothing on them stay see-through in the PNG. Untick it to fill them with a colour instead.
How do I make a high-resolution PNG from an SVG?
Choose a scale of 2×, 3× or 4×, or type the width or height you need in pixels, up to 16,384. The drawing is drawn again at that size, so edges and text stay sharp instead of being stretched.
Why does my PNG look different from the SVG?
An SVG drawn as a picture can't load images, fonts or styles from outside its own file, and its text can only use fonts installed on your device. The page names anything that was missing. Scripts in the SVG don't run, and an animated SVG shows how it looks at the start.
Can I convert SVG to JPG, WebP or PDF?
Yes: choose JPG, WebP or PDF under Convert to. JPG can't be see-through, so empty parts get the background colour, white unless you change it; JPG and WebP are saved at 92% quality. PDF puts each SVG on a page the SVG's own size, or on A4 or Letter paper, drawn sharp at 300 pixels per inch, and several SVGs can go into one PDF. That PDF holds a picture of the drawing; for vector shapes and text you can select, open the SVG file itself in Chrome or Edge and print it, choosing Save as PDF.
Is it safe to convert an SVG from someone else?
Yes. Your browser opens the SVG as an image, which never runs scripts in it or loads anything from the internet, and the file stays on your device.
Limits
Opens SVG and compressed SVGZ files up to 20 MB, 30 at a time. Makes images up to 16,384 pixels a side and 100 megapixels; phones can draw at most about 16.7 megapixels, so a very large size may be made smaller there, and the page says so. WebP images are at most 16,383 pixels a side.
A PDF made here holds a picture of the drawing, not its vector shapes: it prints sharp, but zooming far in shows pixels and its text can't be selected or searched. A page is drawn at most 16.7 megapixels, so a page bigger than about 11 × 17 inches gets fewer than 300 pixels per inch, and the page says so when it drops below 150.
The image looks as your browser draws the SVG, so rare features (some filters, HTML inside the drawing) can look a little different from one browser to another. Text in fonts that aren't installed is drawn in another font; turn text into outlines in your drawing app for an exact copy.
Privacy
This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.
Related tools
PNG to SVG converter
Trace a PNG, JPG or WebP logo into a real vector SVG with clean shapes, in colour or black and white for Cricut cut files. Nothing is uploaded.
Image converter: PNG, JPG, WebP, AVIF, JFIF, GIF, HEIC and TIFF
Convert PNG to JPG, WebP to PNG, AVIF to JPG, JFIF to JPG, animated WebP to GIF, PNG to WebP, HEIC photos, TIFF to JPG and JPG to TIFF, many at once. No upload.
Favicon generator
Make favicon.ico, Apple and Android icons and the HTML tags from a PNG, SVG or JPG, or from letters or an emoji. Nothing is uploaded.