SVG to PNG, JPEG or WebP
Paste or drop an SVG and download it as a pixel-perfect PNG, JPEG, or WebP at any size — with a quality slider, common-size presets, and one-click copy to clipboard. Free, in your browser — nothing is uploaded.
SVG source
Output size
Output format
Lossless — every pixel kept exactly as rendered.
Background
PNG preview
Paste an SVG to see the PNG preview.
Your SVG stays on your device.
The conversion runs entirely in your browser using the<canvas>API. No upload, no logging.
How to use it
- 1Paste your SVG source, drop a .svg file onto the box, or click Open file.
- 2Set the output size — type a width directly or tap a preset (256 / 512 / 1024 / 2048 / 4096). Height follows the aspect ratio while Lock is on.
- 3Pick the format. PNG is lossless. JPEG and WebP get a quality slider; WebP is typically 25–35% smaller than JPEG at the same quality and still supports transparency.
- 4Pick a background (Transparent for PNG/WebP, or a solid color).
- 5Click Download, or use Copy to put a PNG on your clipboard and paste it straight into another app.
Common use cases
- Export a Figma or Illustrator icon (SVG) as a high-resolution PNG, JPEG, or WebP for an app store listing.
- Rasterize an SVG for a platform that doesn't accept SVG (Slack uploads, some CMSes, social posts).
- Generate retina-quality (2× or 4×) raster images from a single source SVG for crisp display on HiDPI screens.
- Convert SVG to WebP for the smallest possible web image while keeping transparency.
- Paste a rasterized version of an SVG straight into a doc, chat, or design tool via the Copy button.
Frequently asked questions
- Is my SVG uploaded anywhere?
- No. The SVG is rasterized inside your browser using a <canvas> element. Nothing is sent to a server.
- What's the difference between PNG, JPEG, and WebP here?
- PNG is lossless — every pixel is preserved, supports transparency, best for icons and line art. JPEG is compressed (with a quality slider), no transparency, smaller files for photographic SVGs. WebP is a modern format — typically 25–35% smaller than JPEG at the same quality, supports transparency, and is now supported in every major browser.
- Why does my SVG render without its fonts / external images?
- Browsers refuse to load external resources (web fonts, remote images) when rasterizing an SVG for security reasons. Convert the text to outlines in your design tool, or embed the font as a data URI inside the SVG, then convert again.
- What's the maximum output size?
- Up to 8192 × 8192 pixels — that's the safe canvas limit on most browsers. Very large outputs may slow your browser; if you need bigger, scale up a smaller export afterwards in an image editor.
- Will the PNG be sharper than a screenshot of my SVG?
- Yes — the SVG is drawn directly at the resolution you choose, so edges are pixel-perfect at any size. A screenshot is locked to your display's resolution and will look blurry when scaled up.
- Does Copy to clipboard work in every browser?
- It uses the Async Clipboard API. Works in Chrome, Edge, Safari, and Firefox 127+. We always copy as PNG (the most broadly supported clipboard image format) regardless of the format you've selected for downloading.
- Does it support transparent backgrounds?
- Yes for PNG and WebP — pick the Transparent option and the alpha channel is preserved. JPEG has no transparency, so picking it hides the Transparent option and falls back to a solid color.
Related tools
Base64 Encode / Decode
Encode and decode text and files to and from Base64.
HTML Live Preview
Write HTML, CSS, and JavaScript and see the result instantly.
JSON Formatter
Format, validate, minify, diff, and explore JSON — with optional on-device AI that summarizes any payload in plain English.
JWT Decoder
Inspect the header, payload, and expiry of any JSON Web Token — with optional on-device AI that explains what the token grants in plain English.
SQL Formatter
Beautify, format, and minify SQL queries for any dialect — with optional on-device AI that explains what a query does in plain English.
Unix Timestamp Converter
Convert Unix timestamps to dates and back, in any timezone.
Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes in your browser.
JSON to TypeScript
Generate TypeScript interfaces or type aliases from JSON.
Markdown to PDF
Convert Markdown to a beautifully styled PDF in your browser.
QR Code Generator
Make QR codes for websites, Wi-Fi passwords, contact cards, social handles, email, SMS, and more. Download as PNG or SVG — or as a ZIP with one branded QR per social platform.
Password Generator
Generate strong, secure passwords in your browser. Nothing is sent or saved to any server.
Text Diff
Compare two pieces of text and see line-by-line, word-by-word, or character-by-character what changed.
UUID / ULID Generator
Generate UUID v4, UUID v7, or ULID identifiers in bulk, instantly in your browser.
URL Encoder / Decoder
Encode or decode URLs and query parameters with component-vs-full-URI scope, plus a query-string breakdown. Free, in your browser.
Regex Tester
Test JavaScript regular expressions with live highlighting and a capture-group inspector — plus an AI regex generator that turns plain-English descriptions into regex (on-device Gemini Nano).
Color Converter
Convert colors between HEX, RGB, HSL, HSV, and OKLCH, and generate tint, shade, and harmony palettes. Free, in your browser.
HTML ↔ Markdown Converter
Convert HTML to Markdown or Markdown to HTML with a live preview. GFM tables, fenced code blocks, inline formatting. Free, in your browser.
Cron Builder
Build cron expressions visually or describe the schedule in plain English and let on-device AI write it for you. Plain-English explanation, next 5 runs, presets.