SVG to PNG Crop Converter

Load an SVG, drag the crop handles to define exactly the area you need, preview the result, then download a lossless PNG. Everything runs in your browser — your image never leaves your device.

🖼️

Drop an SVG here

or Browse Files  ·  SVG supported

What This Tool Does

This tool loads an SVG file directly in your browser using URL.createObjectURL and img.decode() for reliable, guaranteed non-blank rendering. It presents an interactive crop overlay with draggable handles, and converts the selected area to a lossless PNG file. No server upload is required. The full workflow — loading, rendering, cropping, encoding — runs entirely in client-side JavaScript using the HTML5 Canvas API. The output uses the browser's native PNG encoder via canvas.toBlob('image/png'), producing a lossless, transparency-preserving PNG suitable for web delivery, CMS uploads, and any context requiring a universal raster format.

Who This Is For

  • Web developers who need to export a specific region of an SVG as a lossless PNG for production delivery or CMS upload
  • Designers who want to rasterize and crop an SVG to PNG without installing Photoshop or Inkscape
  • Anyone preparing image assets for email clients, legacy browsers, or publishing platforms that do not support SVG
  • Front-end teams extracting icon or illustration regions from SVG files for use as PNG thumbnails or social sharing images

SVG vs PNG: Format Comparison

PropertySVGPNG
Format typeVector (XML-based)Raster (lossless compressed)
ScalabilityResolution-independentFixed pixel dimensions
File sizeCompact for simple shapesLarger — every pixel stored losslessly
Transparency supportYes — full alphaYes — full alpha channel
Browser supportUniversal (modern browsers)Universal — all browsers and apps
Lossy/losslessVector (no pixels)Always lossless
Best forIcons, logos, illustrationsWeb delivery, screenshots, UI assets
EditingXML text editingPixel editing in any image editor

Frequently Asked Questions

What resolution is the PNG output?
The output PNG is rasterized at the natural pixel dimensions the browser assigns to the SVG when rendered. For SVGs with an explicit width and height attribute, this is typically the declared size. Adding width and height to the SVG root element gives you precise control over the output resolution.
How precise is the crop tool?
The crop operates at native pixel accuracy on the rendered SVG dimensions. The canvas is scaled to fit your screen for display, but the actual crop coordinates are mapped back to the full-resolution image before the PNG is generated. You get a PNG at the exact pixel dimensions shown in the crop dimensions badge.
Can I move the crop selection after setting it?
Yes — click and drag anywhere inside the crop rectangle (away from the handles) to reposition it anywhere within the image. Handles resize; the interior pans.
Does the PNG preserve transparency from the SVG?
Yes. PNG supports full alpha-channel transparency and the tool does not composite transparent regions against any background. Transparent areas in your SVG pass through to the PNG output intact — the PNG will have a transparent background wherever the SVG did.
What browsers are supported?
All modern browsers — Chrome, Firefox, Edge, Safari (desktop and mobile). The tool uses standard HTML5 Canvas and Blob APIs that have been universally supported for years. PNG encoding via canvas.toBlob is supported in every modern browser.
Is there a file size limit?
There is no server-imposed limit because no upload occurs. The practical limit is your browser's available RAM. Most modern desktops handle SVG files comfortably. Very complex SVGs on memory-constrained mobile devices may be slower to render.