Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Image

SVG to PNG

Convert SVG artwork to PNG at a chosen scale or exact size, entirely in your browser. The SVG never leaves your device.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Drop a file here, or browse

Accepts: image/svg+xml,.svg

Files stay on your device.

Ctrl+V to paste an image

    Options

    Ignored when a width or height override is set.

    Exact output width in pixels; height follows the aspect ratio.

    Exact output height in pixels; width follows the aspect ratio.

    “transparent”, or a hex colour such as #ffffff behind the artwork.

    Drop a file above to begin

    Your file are processed on this device and never uploaded.

    How it works

    One SVG in, one PNG out

    You supply a single .svg file and get a PNG named after that source. The intrinsic size is read from the width and height attributes, falling back to the viewBox, and the stats line reports the pixel width and height actually rasterised.

    When a raster copy of vector art is what you need

    Useful when a service only accepts bitmaps but the original is vector. The pipeline runs from an SVG blob through createImageBitmap onto an OffscreenCanvas, so you get a faithful rasterisation without opening a graphics editor.

    Scale versus exact width and height

    Scale multiplies the intrinsic size, so 2 on a 100×50 SVG yields 200×100. Setting a width or height override treats that figure as absolute pixels and derives the other edge from the aspect ratio, ignoring Scale. Background takes transparent or a three- or six-digit hex colour, painted underneath the artwork.

    Sizing limits and blocked markup

    An SVG over 8 MB is refused before parsing, and any canvas above 16,384 px per side or 100,000,000 pixels is rejected to protect the tab. Scripts, event handlers, foreignObject, external DOCTYPEs, external references and @import rules stop the conversion. Nothing is uploaded; the bytes are read and rasterised on your device.

    Questions

    Does the PNG keep a transparent background?

    Yes — Background defaults to transparent, so the alpha channel is preserved. Setting a hex colour paints that colour across the whole canvas before the artwork is drawn, which is what you want for a solid print-ready image.

    Why is my Scale value ignored?

    A non-zero Width or Height override switches the tool to absolute sizing, where the other edge follows the aspect ratio, so Scale no longer applies. Set both overrides back to 0 to size by scale again.

    Which SVGs are rejected?

    Anything over 8 MB, markup containing script, foreignObject or inline on* handlers, and files that reference external resources or stylesheets. Inline the reference as a data: URL or remove it, then try again.

    See category