Vector in, crisp pixels out.

SVG logos and icons scale perfectly, but many places, from app stores to document editors and profile pages, only accept PNG or JPEG. Open your SVG or paste its code, type the width you need, and download an image drawn at exactly that size.

Because the drawing is rendered fresh at your chosen width, edges stay sharp instead of being stretched.

Runs in your browser. Nothing is uploaded.

More images & pdf tools · All 54 tools

How to use it

  1. Choose an SVG file, or paste SVG code into the box. The preview updates as you type.
  2. Type the Output width in pixels. The height follows the drawing's own proportions.
  3. Pick a Format: PNG and WebP keep transparency, while JPEG always gets a background.
  4. Tick Solid background and pick a Background colour if you want a filled backdrop.
  5. Press Download. The file name includes the width, for example logo-1024w.png.

How the size is worked out

The tool reads the SVG's width, height and viewBox. Lengths in physical units are turned into pixels at the CSS rate of 96 px per inch:

UnitPixels
in96
cm37.80 (96 ÷ 2.54)
mm3.78 (96 ÷ 25.4)
pt1.333 (96 ÷ 72)
pc16
px or no unit1

If only one side is given, the other follows the viewBox proportions. If neither is given, the viewBox size is used, and with no viewBox either, the browser default of 300 × 150 applies. Percentages count as missing.

Worked example

An SVG says width="2in" height="1in", which is 192 × 96 px. The suggested output width is twice that, 384 px, giving 384 × 192, ready for high-density screens. Type 1000 and you get 1000 × 500.

The 8,192 px cap

The longest side is limited to 8,192 px, and the other side shrinks to match. A tall 1:4 icon at a width of 4000 would be 4000 × 16,000, so it is scaled by 8192 ÷ 16000 = 0.512 to 2048 × 8192. The status line tells you when this happens.

What does not render

  • Images, fonts, style sheets and scripts linked from outside the SVG are not loaded, for security. Images embedded as data inside the file do work.
  • Text is drawn with fonts installed on your device. For an exact match, convert text to outlines in your design app before exporting.
  • Animations are captured as a single frame.

For crisp results, export at twice the size the image will be shown, or at the exact size a store or form asks for.

Questions.

Why does the text in my logo look different?

SVG text uses fonts installed on the device that draws it. If your font is not installed here, a fallback is used. Convert the text to outlines (paths) in your design app to lock its look.

Why is an image inside my SVG missing?

Linked images from other files or websites are blocked when an SVG is drawn this way. Embed the image in the SVG, or trace it as vector shapes.

My SVG uses millimetres. Will the size be right?

Yes. Inches, centimetres, millimetres, points and picas are converted at 96 px per inch, the same rate browsers use.

Can I keep a transparent background in a JPEG?

No. JPEG has no transparency, so a background is always added, white unless you pick another colour. Choose PNG or WebP to keep it transparent.

Is there a size limit?

The longest side is capped at 8,192 px. Very large outputs can still be slow on phones, so start smaller if the page struggles.