← Back to Tools Home | Olutil Image Tools
🌐 English

SVG to PNG

Turn SVG vector files into crisp PNG bitmaps at 1×, 2×, 4× or any custom width and height, with a transparent or white background. Upload a .svg file or paste the markup, then adjust the export size until the edges look right. The preview and the download update instantly, so you can compare several sizes before choosing one.

Use 1× for CSS-pixel icons, 2× and 4× for high-density screens, or type exact dimensions when an app store, a printer or a social platform demands a specific canvas. Choose transparency for overlays and white for documents. All processing runs locally in your browser. Your data is not uploaded to any server. 100% Local

đŸ–ŧī¸ Upload or paste an SVG to convert it to PNG

How to Use SVG to PNG

  1. Add an SVG file — click the drop zone or drag a .svg file onto it; the source code also appears in the text box.
  2. Or paste markup — drop SVG source into the text area and press Render SVG to parse it.
  3. Choose an output size — 1× keeps the intrinsic size, 2× and 4× produce sharper bitmaps for retina screens.
  4. Enter custom dimensions — select Custom width / height and type values; leaving one field empty preserves the aspect ratio.
  5. Pick a background — transparent keeps the alpha channel, white gives an opaque canvas for print and office files.
  6. Read the result card — it confirms the pixel size and the finished PNG file size.
  7. Download — use the button in the top bar to save the PNG, named converted.png.
  8. Re-export freely — changing size or background re-renders the same file, so several variants cost only a few clicks.

Choosing the right export size

An icon shown at 24 CSS pixels looks sharpest when exported at 48 or 96 pixels, which covers standard and high-density displays without asking the browser to rescale. Large illustrations rarely need 4× unless they are printed or viewed on a huge screen, because PNG size grows roughly with the square of the dimensions. Each side is capped at 8192 pixels here; beyond that browsers hit canvas memory limits, so export at the exact size you need.

Transparent versus white background

A transparent PNG drops cleanly onto a photo, a coloured header or a dark mode interface, provided the SVG does not paint its own backdrop. White is the safer choice for Word documents, invoices, print shops and platforms that flatten alpha channels to black. If you are unsure where the file will end up, export two copies; the background switch re-renders instantly and costs almost nothing.

Features

When to Use SVG to PNG

Exporting icons for apps and websites

Design tools and icon sets ship as SVG, yet many app frameworks, email templates and CMS upload fields still expect PNG. Export each symbol at the display size and at 2× for retina, keep the background transparent, and name the files by purpose. Email clients are especially conservative, so a PNG icon is far more reliable than inline vector markup that some inboxes strip before the message is read.

Printing a logo where vector files are refused

Print shops usually prefer SVG or PDF, but online print services and office templates often accept only raster images. Convert the logo at a size that matches the printed dimensions multiplied by 300 DPI; an A5 flyer needs roughly 1748 × 2480 pixels. Choose white rather than transparent when the document expects an opaque image, and check the preview for missing text before you send the job.

Turning diagrams into shareable pictures

Flowcharts, floor plans and architecture sketches are easiest to edit as SVG, while chat apps, slide decks and ticket systems prefer an image that pastes everywhere. Export at 2× for a readable balance, keep transparency so the diagram sits on any slide colour, and store the SVG alongside the PNG. If a render comes out empty, the SVG probably references fonts or images that are not embedded in the file.

FAQ

Does converting SVG to PNG lose quality?

PNG is a raster format, so the result is a fixed pixel grid. At 1× thin strokes can look soft; export at 2× or 4× for sharper edges. The SVG itself stays vector, so you can always render a larger copy later.

Why is my PNG blurry or partly empty?

Complex SVGs sometimes reference external fonts, images or stylesheets that a local file cannot load. Outline the text or embed every asset inside the SVG markup, then render again before exporting the PNG.

How large can the exported PNG be?

Each side is capped at 8192 pixels, because browsers limit canvas memory and larger bitmaps may crash the tab. Larger requests are scaled down automatically. For print, export at the exact size you need instead of an arbitrary huge number.

Should I choose a transparent or a white background?

Transparent suits web overlays, app icons and layered graphics, while white is safer for documents, printing and platforms that flatten transparency to black. Choose white when you are unsure how the PNG will be displayed.

Is my SVG uploaded to a server?

No. The markup is parsed and drawn inside the browser tab and nothing is sent anywhere. That helps with unreleased logos, internal diagrams and client work covered by a confidentiality agreement.

Related Tools