SVG to PNG Converter

Turn SVG markup or an .svg file into a crisp PNG or JPG at any scale, right in your browser. Your artwork stays on your device.

The SVG to PNG Converter rasterizes your artwork on a canvas in your browser. The .svg file or markup you drop or paste is converted locally and never uploaded to ArrayKit.

Built and maintained by Udit Agarwal

Open the Image Converter

About SVG to PNG Converter

The SVG to PNG Converter rasterizes vector artwork into a pixel image without any design software. Drop an .svg file or paste SVG markup, then pick the output size — a 1x, 2x or 3x multiple of the intrinsic size, a custom scale, or explicit width and height with the aspect ratio preserved. It reads the size from the SVG's width and height attributes or its viewBox, so what you export matches the source. Choose PNG for lossless transparency or JPG for smaller photos, and set a transparent or solid background. It is handy when a platform rejects SVG, you need a retina @2x asset, or a favicon, README image, or email graphic must be a bitmap. Everything renders locally on a canvas; your artwork never leaves your device.

Features

  • Drop an .svg file or paste raw SVG markup — no design app needed
  • Reads intrinsic size from width/height attributes or the viewBox
  • Export at 1x, 2x, 3x, a custom scale, or explicit width and height
  • Locks the aspect ratio when you set only a width or only a height
  • PNG output keeps transparency; JPG adds an adjustable quality slider
  • Transparent or solid-color background with a live checkerboard preview
  • See the intrinsic size, output pixels, and file size before downloading
  • Rasterizes on a canvas in your browser with no uploads

How to use the SVG to PNG Converter

  1. Drop an .svg file or paste SVG markup into the source area
  2. Pick a scale (1x/2x/3x or custom) or type an explicit width or height
  3. Choose PNG or JPG and a transparent or colored background
  4. Check the raster preview, then download the PNG or JPG

Example

Input

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 32"><rect width="64" height="32" fill="#6d28d9"/></svg>

Output

64×32 SVG → 128×64 PNG at 2x scale

A viewBox of 0 0 64 32 rasterized at 2x becomes a 128×64 PNG.

Common errors & troubleshooting

  • The exported PNG looks blurry or pixelated. — Increase the scale (try 2x or 3x) or set an explicit larger width. Because the source is vector, a higher output size stays sharp — you are choosing the raster resolution.
  • Text or an icon font disappears in the PNG. — Canvas rendering does not load external or system fonts. Convert text to paths (outlines) in your editor, or embed the font, before rasterizing.
  • The SVG uses width="100%" and comes out at the default size. — Percentage sizes have no fixed pixel dimensions, so the viewBox is used, or a 300×300 default when there is none. Add a viewBox or explicit pixel width/height, or set a custom width here.
  • An externally referenced image or stylesheet is missing. — Only self-contained SVGs rasterize reliably. Inline any linked <image href> assets and CSS so the markup has no external dependencies.

Frequently asked questions

How do I export an SVG as a high-resolution PNG?
Set the scale to 2x or 3x, or type an explicit width like 1024. Because the source is vector, a larger output size stays crisp — you are simply choosing how many pixels to rasterize, so pick the resolution the target needs.
How does this converter decide the output size of the PNG?
It reads the SVG's intrinsic size from its width and height attributes, or from the viewBox when those are missing, then applies your scale or explicit width/height. Setting only one dimension keeps the original aspect ratio.
Can I convert SVG to a JPG instead of a PNG?
Yes. Switch the format to JPG and use the quality slider for smaller files. JPG has no transparency, so the image is flattened onto white or the background color you pick; use PNG when you need a transparent background.
Why is the text in my SVG missing after converting to PNG?
The browser canvas rasterizes without your system or web fonts, so <text> can render blank. Convert text to outlines (paths) in your vector editor, or embed the font in the SVG, before you rasterize it here.
Does converting SVG to PNG keep a transparent background?
PNG output preserves transparency, so pick PNG with the transparent background option to keep it. The preview shows a checkerboard where the image is see-through. Choose a solid fill color if you need an opaque background.
Is my SVG uploaded when I convert it to PNG?
No. The SVG to PNG Converter renders everything on a canvas in your browser. The markup or file you drop in is rasterized locally and the result never leaves your device or gets sent to ArrayKit.

Related tools

  • Image Format Converter — Convert images between PNG, JPEG and WebP entirely in your browser.
  • SVG Optimizer — Minify SVG — strip comments, metadata and editor cruft, and collapse whitespace.
  • Image Optimizer — Re-encode and shrink images (JPEG/WebP/PNG), optionally resizing.
  • Base64 Image Encoder / Decoder — Convert images to Base64 Data URIs with ready-made HTML and CSS snippets, or decode a Data URI back to a downloadable image.
  • App Icon Generator — Turn one image into every iOS, macOS and Android app icon size — downloaded as a ZIP, in your browser.
  • Image Color Picker — Upload an image and pick colors from any pixel to get HEX, RGB and HSL values, in your browser.

Guides

More Images tools

  • Image Color Picker — Upload an image and pick colors from any pixel to get HEX, RGB and HSL values, in your browser.
  • Color Format Converter — Convert a color across HEX, RGB, HSL, HWB, LAB, LCH and OKLCH with a live swatch.
  • Barcode Generator — Generate EAN, UPC, Code 128 and Code 39 barcodes and download them as SVG or PNG.
  • Image Color Palette Extractor — Extract a dominant color palette from an image as HEX, RGB and HSL with CSS variables.
  • Flip & Rotate Image — Rotate by 90° and flip images horizontally or vertically, then download — in your browser.
  • Image Cropper — Crop an image to any area or fixed aspect ratio and download it, in your browser.
  • Image Watermark — Add a text or logo watermark to an image, anchored or tiled, with opacity and rotation.
  • Blur & Redact Image — Permanently blur, pixelate or black out parts of a screenshot before sharing it.
  • Round Image Corners — Clip photos to rounded rectangles or circles and export PNGs with transparent corners.
  • Color Blindness Simulator — See any image the way people with protanopia, deuteranopia or tritanopia see it.
  • Image DPI Changer — Set a PNG or JPEG’s DPI for print without recompressing a single pixel.
  • BlurHash Generator — Turn an image into a BlurHash string, and decode any hash back to a preview.

See all Images tools (40) · All tools