100% local processing — your files and data never leave this browser. No uploads, no server storage.

OnboxTools

Free · Browser-only · No upload

SVG to PNG Converter

Rasterize SVG at custom size and scale

Convert SVG vector files or pasted markup into PNG bitmaps at the dimensions you need. Set width, height, or scale factor for retina-ready exports.

Rendering uses the browser canvas — no Inkscape or server upload required. Ideal for app icons, social previews, and design handoffs.

SVG → PNG

SVG source

Drop .svg file or click to upload

PNG output

Upload an SVG to convert

More Image Tools

🖼️
Base64 to Image
🎨
Color Format
🎨
Color Picker
🖼️
Data URI to Image
🖼️
Image Compressor
🖼️
Image Resizer
🧬
Image to Base64
🔗
Image to Data URI
🖼️
JPEG to WebP
🖼️
JPG to PNG
🔄
PNG to GIF
🔄
PNG to JPG
PNG Transparency Creator
🖼️
SVG to PNG
🔄
WebP to PNG

Browse by category

SVG to PNG example

A 24×24 UI icon SVG exported at scale 4 produces a 96×96 PNG crisp on 2× retina mobile screens.

An 800×600 illustration SVG pasted from Figma exports directly as PNG for a slide deck that does not support vector paste.

Common SVG export sizes

FromToResult
Faviconpx32 × 32
Apple touch iconpx180 × 180
PWA manifestpx512 × 512
Open Graphpx1200 × 630
Retina scalerule2× or 3× base

Complete guide to converting SVG to PNG

Why rasterize SVG

SVG scales infinitely in browsers but many platforms demand PNG — app store icons, Open Graph images, PowerPoint, and legacy CMS fields. Rasterizing converts vector paths into a fixed pixel grid at the size you specify.

You control output dimensions, which determines sharpness on retina displays. A 512×512 PNG from SVG looks crisp as an app icon; the same SVG at 64×64 suits a favicon.

Design handoffs often arrive as SVG while engineering tickets ask for PNG at exact pixels. Rasterizing once at the spec size avoids blurry CSS scaling and matches what reviewers see in app-store screenshots and social preview validators.

Attach the PNG and the source SVG to the same ticket so reviewers can diff vector changes against the raster export.

Size, scale, and viewBox

SVG files carry width, height, and viewBox attributes that define coordinate space. The tool reads these defaults and lets you override output pixels. Scale multipliers — 2× or 3× — export retina assets without manual math.

If markup lacks explicit dimensions, viewBox bounds infer aspect ratio. Invalid or missing viewBox may default to sensible fallbacks — verify preview before batch use.

For a 24 CSS pixel icon, exporting at 48 or 72 pixels gives headroom on retina phones. Write down the scale factor you used so the next export from an updated SVG stays consistent across the icon set.

Open Graph images need explicit width and height overrides when the SVG artboard is not already 1200×630 — do not rely on default viewBox alone.

Paste markup or upload files

Upload .svg files or paste raw SVG XML directly. Useful when copying icons from design tools or tweaking paths before export. The renderer loads markup into an image element via blob URL, draws to canvas, and exports PNG.

External references — fonts, images linked by URL — may not resolve offline. Embed fonts and assets in the SVG for reliable renders.

After copying from Figma or Illustrator, scan for external stylesheet links and missing xmlns on the root element. Pasting trimmed markup lets you fix one path and re-export without saving a temporary file to disk.

Huge pasted SVGs from illustration tools may hit browser memory limits — simplify groups or reduce artboard size before rasterizing.

PNG output characteristics

PNG preserves sharp edges from vector art — ideal for logos and UI glyphs. Transparent backgrounds survive if the SVG omits a solid backdrop rect. Opaque backgrounds export as flat PNG suitable for thumbnails.

Photographic content inside SVG rasterizes at chosen resolution; embedded bitmaps do not gain detail beyond their source.

Remove full-canvas background rectangles in the SVG when you need alpha. A white artboard rect that looked harmless in the vector file becomes an opaque slab in PNG and blocks overlay compositing on dark UI.

Stroke width that looks correct in Illustrator may rasterize heavier at small sizes — simplify strokes before exporting favicon-scale PNGs.

Browser canvas rendering

Canvas rasterization matches what users see in modern browsers — no server-side font differences. Processing is private: confidential wireframes and unreleased brand marks stay on your machine.

Complex SVGs with thousands of paths may take longer to draw. Simplify artwork in a vector editor if renders time out on low-end devices.

Rasterization runs entirely in your browser, so unreleased brand marks and client wireframes are not uploaded elsewhere. That local processing suits NDA milestones. If text renders wrong, convert type to outlines in the source SVG and try again.

Compare canvas output to browser-only SVG preview in DevTools when colors look wrong — missing gradients often mean defs were stripped on export from design tools.

Social preview PNGs from SVG should match platform safe zones — crop in the SVG artboard before rasterizing, not only in CSS.

Bitmap filters inside SVG export at canvas resolution — heavy blurs may need a larger output size to avoid stair-steps.

CMYK print workflows may still prefer PDF vectors — PNG from SVG is for screen and office handoffs.

Production workflow tips

Export multiple sizes from one SVG — 16, 32, 180, 512 — for favicons and PWA manifests. Name files by size: icon-512.png.

Compare PNG output against design specs. Subpixel alignment issues sometimes require nudging viewBox or disabling stroke scaling in the source SVG.

Keep the master SVG in version control and treat PNGs as build artifacts. Regenerate the whole size ladder when the logo changes instead of scaling old PNGs, which softens edges that were sharp in vector form.

PWA manifest JSON should reference the same pixel sizes you export here so install prompts and splash screens stay sharp.

Detailed guide

Fixing blank or broken renders

Validate SVG XML closes all tags. Remove external stylesheet links. Convert text to paths if fonts are missing. Ensure xmlns attribute is present on the root svg element.

Transparent PNG exports

Delete background rectangles in the SVG before export, or set fill none on the canvas-sized rect. Preview on checkerboard to confirm alpha.

Common questions

SVG to PNG FAQ

Is the SVG to PNG converter private?

Yes. Everything runs in your browser. Your input is not uploaded, logged, or stored on our servers.

Do I need an account?

No account or sign-up is required. Open the page and start using the tool immediately.

Can I paste SVG code instead of uploading?

Yes. Paste markup into the editor and set output dimensions before converting.

Why does my PNG look blurry?

Output resolution may be too low for the display size. Increase width, height, or scale factor.

Are fonts preserved?

System fonts render if installed. Custom fonts must be embedded in the SVG or converted to paths.

Does animation convert to PNG?

PNG is static. Animated SVG exports a single frame — the current render state.