Input
SVG
Output
PNG
Runtime
Browser

Convert SVG to PNG Online

Rasterize an SVG into a transparent PNG at a chosen pixel size for apps and platforms that need bitmap images.

Local processingNo sign-upBatch and ZIP export

Convert on this device

Files stay in this browser tab. Nothing is uploaded to Tool Swim.

Private by design

Drop SVG files here

Up to 40 MB per file, 20 files, and 120 MB of source data per batch.

What the output keeps

Metadata

Canvas output removes EXIF, GPS, captions, and most embedded metadata.

Animation

Animated or multi-image input becomes one static decoded frame.

Color profiles

The browser decodes color before export; wide-gamut and HDR appearance can change.

A practical guide

Example: event-badge.svg → event-badge-1200x1200.png

Export a vector badge at the exact pixel dimensions required by a social profile, slide deck, or upload form.

Rasterization turns vectors into fixed pixels

SVG describes shapes, paths, text, gradients, and effects in a coordinate system that can scale without the usual bitmap blur. PNG stores a fixed grid of pixels. Conversion therefore requires a raster size: the width and height at which the browser draws the vector. That choice determines how much detail the PNG contains and how large it appears at its natural resolution.

The PNG cannot regain vector scalability later. Enlarging it beyond the exported dimensions interpolates existing pixels and can soften edges. Keep the SVG as the master and produce separate PNG sizes for each destination rather than stretching one small export.

Choose dimensions from the destination

Start with the exact pixel requirement of the app, marketplace, social network, or interface slot. For high-density screens, a design displayed at 300 by 200 CSS pixels may benefit from a 600 by 400 pixel export. Preserve the SVG viewBox aspect ratio unless intentional cropping or distortion is part of the design.

An SVG without clear width, height, or viewBox information can have ambiguous intrinsic dimensions. The converter may need explicit output values. Check the result for unexpected whitespace because the visible artwork can occupy only part of the SVG coordinate area even when the exported canvas dimensions are correct.

Fonts and external resources affect rendering

SVG text can depend on fonts installed or loaded in the browser. If the specified font is unavailable, fallback metrics may change line breaks, alignment, and shape. Converting text to paths in the source design makes appearance more portable, though it also makes the content less editable and accessible. Always inspect labels and wordmarks in the PNG.

External images, stylesheets, or fonts referenced by the SVG may be blocked by cross-origin rules or unavailable offline. Self-contained SVGs are more dependable. Remote resources also weaken the privacy expectation of local conversion because rendering may request those dependencies even when the SVG file itself is processed in the browser.

Before rasterizing an unfamiliar SVG, open it as text or in a trusted editor and identify linked resources. Embedding approved assets and outlining display-critical type makes the result reproducible. Keep a separate editable version when future wording or localization changes are likely, because outlined text cannot be revised like normal text.

Transparency, effects, and animation

PNG supports alpha transparency, so an SVG with no background can retain transparent regions. Preview soft shadows and semitransparent strokes on both light and dark surfaces. If the destination needs an opaque image, add the intended background during rasterization rather than relying on the receiving application's default.

Browser SVG rendering covers many filters, masks, gradients, and blend effects, but complex or implementation-specific features may differ from a design application. Animated SVG is flattened to the first rendered state or frame in a canvas export; PNG output is static. Scripts and interactive behavior are not preserved.

Verify sharpness and output boundaries

Open the PNG at 100 percent and inspect one-pixel strokes, diagonal edges, small type, filters, and transparent padding. Thin lines aligned between pixel boundaries can look softer than expected even at an adequate size. Adjusting the SVG geometry or exporting at a larger integer multiple can improve the displayed result.

Canvas-based output creates a new raster file and does not preserve SVG source markup, element names, accessibility text, animation, or editing structure. Metadata and ICC profile handling depend on the browser and output. Archive the SVG, document the chosen raster dimensions in the filename, and treat the PNG as a destination-specific snapshot.

Allow for the destination's safe area as well as its nominal dimensions. Profile images and app icons are often clipped into circles or rounded shapes, while marketplace thumbnails may add their own padding. Preview those masks before export so important strokes and lettering do not sit against the edge. If the SVG carries meaningful text or a diagram description, move that information into nearby HTML, document captions, or alternative text because rasterization removes the vector's accessible structure. For repeated exports, record the width, height, background choice, and intended slot. That simple specification makes the PNG reproducible and prevents later contributors from scaling an old bitmap when they should rasterize the SVG again.

Questions and answers