Purplelink
← All tools

Free web tool

SVG to PNG

Convert SVG drawings, figures and icons to PNG, or to JPG, at the size you need. The drawing is scaled as a vector, so a 4x PNG is sharp, not enlarged. Your browser draws each file on your device. Nothing is uploaded.

Options
Save as
Size

Bytes of your files sent anywhere: 0

Files are read and drawn in this tab. The only requests the page makes are for its own scripts and the files they need. Your files are never sent anywhere.

How it works

SVG describes a drawing as shapes rather than pixels, so it stays sharp at any size. Many places still want pixels: pdfLaTeX's \includegraphics reads PNG, JPG and PDF but not SVG, and some slide tools, upload forms and older versions of Word do not take it either.

This page reads the SVG's own size (its width and height in pixels, points, millimeters or inches, or its viewBox), sets the size you chose, and lets your browser draw it on a canvas. The PNG keeps transparent areas; a JPG fills them with the color you pick.

A browser draws an SVG as a picture in a sealed mode: scripts in the file do not run, and nothing it links to is fetched. That is safer, and it is also why linked images and web fonts do not appear.

How to convert SVG to PNG

  1. Pick the format and size. PNG to keep transparency, JPG for a solid background. 2x suits most screens and slides; set a width for an exact size.
  2. Add the drawings. Drop the SVG files on the box, click it to choose them, or paste a file you copied.
  3. Wait for each row. Each drawing is drawn in turn and the row shows its pixel size.
  4. Download. Download each picture from its row, or use Download all as .zip.

Limits

Questions

Are my files uploaded?
No. Your browser reads each SVG and draws it on a canvas in this tab. There is no server step. The meter under the drop zone counts the bytes the page sends while it works, so you can check this yourself.
What size will the PNG be?
The SVG's own size times the factor you pick. An icon that is 24 by 24 at 1x is 48 by 48 at 2x and 96 by 96 at 4x. Width in pixels sets the width exactly and keeps the proportions. An SVG with no size at all is drawn at 300 by 150, the size browsers use, and the row says so.
Is the PNG sharp at 4x?
Yes. The size is set on the SVG before it is drawn, so the shapes are drawn at the new size rather than drawn small and then enlarged.
How do I use an SVG figure in LaTeX?
pdfLaTeX cannot include an SVG. Convert it to PNG at 4x, or at the width in pixels your column needs at 300 dpi (about 1000 pixels for a single column), and include the PNG. For a figure that stays vector, export a PDF from the drawing app instead.
Why is the text in a different font?
An SVG drawn as a picture can only use fonts installed on this device or embedded in the file. If it names a web font, the browser substitutes another. Converting the text to outlines in the drawing app avoids that.
Is it free?
Yes. There is no account, no watermark and no limit beyond the sizes above.

If this saves you time, you can leave a tip. It helps keep these tools free and online.