🎨 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
Drop an SVG file here or click to browse
Only .svg files accepted⚙ Output Settings
📦 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
- 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.
- Choose an Output Format. PNG keeps transparency, and JPG fills it with the background colour.
- Set the size with Scale Multiplier (1x to 4x), Dimensions (px) with Lock aspect ratio, or a Preset Sizes button.
- Tick Apply background color if a PNG needs a solid background. JPG Quality defaults to 92%.
- 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:
| Settings | Result | Corner pixel |
|---|---|---|
| PNG, 1x | 100 x 100 px, 2.3 KB | Fully transparent |
| PNG, 4x | 400 x 400 px, 11.6 KB | Fully transparent |
| JPG, 4x, quality 92 | 400 x 400 px, 7.5 KB | White |
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 element | Starting 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 viewBox | 300 x 150 |
Common failures
- No viewBox means no scaling. A 100 x 100 SVG without
viewBox, exported at 4x, gives a 400 x 400 image with the artwork in the top-left corner and the rest transparent. Add aviewBoxbefore enlarging. - Square presets do not stretch. A 512 x 256 image at 128 x 128 is centred with transparent bars above and below. Batch sizes are all square too.
- Missing
xmlnsfails. SVG copied from inside an HTML page often lacksxmlns="http://www.w3.org/2000/svg". The tool then says "Failed to render SVG. Make sure the SVG markup is valid." - Malformed markup is not always caught. A mismatched tag can still produce a blank PNG instead of an error. If the preview is empty, fix the file first.
- Fonts come from your device. Text using a font you do not have installed will use a substitute, so convert text to outlines in your drawing program for exact results.
- The maximum is 8192 px per side. Larger values get "Maximum dimension is 8192px."
- Convert again after changing format. If you switch Output Format and press Download without converting, the earlier PNG data is saved under a
.jpgname.
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.