🎨 SVG to PNG/JPG Converter

Convert SVG files to PNG or JPG with custom dimensions and batch export. All processing in your browser.

Last updated: November 8, 2026 · By the BoltQuickTools team

Paste SVG Code
Upload SVG File
🖼

Drop an SVG file here or click to browse

Only .svg files accepted
SVG preview will appear here

⚙ Output Settings

x
Default: transparent (PNG)
Applies only to JPG output

📦 Batch Convert (Multiple Sizes)

Select sizes to generate all at once with the same format and quality settings.

Turn a vector file into a fixed-size bitmap

Email clients, app stores, slide decks and many upload forms refuse SVG, so designers and developers need a PNG or JPG at an exact size. This page renders your SVG through the browser's canvas and hands back that bitmap.

Converting a file

  1. Paste markup in the Paste SVG Code tab and press Load SVG, or drop a file in the Upload SVG File tab. A preview appears.
  2. Choose an Output Format. PNG keeps transparency, and JPG fills it with the background colour.
  3. Set the size with Scale Multiplier (1x to 4x), Dimensions (px) with Lock aspect ratio, or a Preset Sizes button.
  4. Tick Apply background color if a PNG needs a solid background. JPG Quality defaults to 92%.
  5. Press Convert, then Download.

To create several sizes at once, tick boxes under Batch Convert (Multiple Sizes), press Batch Convert, then Download All for a ZIP.

Example conversions

Starting from this 115-byte icon:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="#facc15"/></svg>

Measured in a Chromium browser, the sizes below will vary slightly elsewhere:

SettingsResultCorner pixel
PNG, 1x100 x 100 px, 2.3 KBFully transparent
PNG, 4x400 x 400 px, 11.6 KBFully transparent
JPG, 4x, quality 92400 x 400 px, 7.5 KBWhite

The file is named after the upload, or pasted-svg for pasted code. A batch produces names like pasted-svg-16x16.png inside pasted-svg-batch.zip.

How the size is worked out

The starting dimensions come from the width and height attributes, then from viewBox, then a fallback of 300 x 150. Units are ignored at this stage, so check the numbers it fills in:

Root elementStarting size
viewBox="0 0 512 256"512 x 256
width="100%" height="100%" viewBox="0 0 640 480"100 x 100
width="10cm" height="5cm"10 x 5
No width, height or viewBox300 x 150

Common failures

Size, privacy and favicons

Why is the PNG so much larger than the SVG?

The page reports it honestly: the 100 x 100 example shows a change of +1960.9%. SVG stores drawing instructions and PNG stores pixels. Run the PNG through the image compressor if size matters.

Are my files uploaded?

No. The page's code reads the markup, draws it on a canvas and builds the ZIP in your browser, with no network request. Canvas image processing explains the technique.

Can I make a favicon this way?

You can export the sizes here, but the favicon generator is a better fit because it also writes the link tags.