loot.tools

SVG to PNG

Paste SVG markup or upload a .svg file and convert it to a PNG, JPEG, or WebP raster at 1x to 4x the original size. The tool reads the SVG's own width, height, or viewBox to set the output dimensions, keeps transparency for PNG and WebP, and lets you pick a background color for JPEG. Everything runs in your browser, so the file never leaves your device.

Turn SVG markup into a PNG, JPEG, or WebP raster image at any scale. Paste the SVG or upload a .svg file, pick a size, and download. It all runs in your browser - nothing is uploaded.

SVG input
Scale
Output: 300 x 150 px

What this tool does

It draws your SVG onto a canvas and exports it as a PNG, JPEG, or WebP bitmap. The output size starts from the SVG's intrinsic width and height (or its viewBox when those are missing), and a scale picker lets you render it at 2x, 3x, or 4x for sharp results on high-density screens or print.

When you'd use this

  • A platform only accepts raster images, not SVG
  • You need a PNG of a logo at exactly 2x for a retina asset
  • You want a JPEG thumbnail of a chart
  • A tool chokes on vector input and wants a flat bitmap
  • You're exporting an icon for a place that can't render SVG

Transparency and background

PNG and WebP keep the SVG's transparent areas. JPEG has no alpha channel, so transparent pixels would turn black - pick a background color and it's painted behind the image before export. The conversion happens entirely in your browser using a canvas, so nothing is uploaded.