Convert SVG to PNG or JPEG — 100% in your browser
Click "Convert to Image" to convert & download
Processing uses browser-native Canvas and File APIs, so output can vary slightly between browsers. All processing runs locally in your browser.
SVG stores a drawing as math — paths, shapes, coordinates — so it scales to any size with zero quality loss. PNG/JPEG store a fixed grid of pixels. Converting "rasterizes" the math onto a grid at the size you choose: bigger size → sharper edges but a larger file; smaller → compact but softer curves.
A circle is one <path> in SVG — two bytes of math. Rasterized at 64px it shows stair-stepped edges; at 512px the same math yields smooth edges. That is why the size slider matters.
The same logo as SVG, converted at three sizes.
Convert SVG to PNG or JPG with custom dimensions and transparent background. Live preview. Free, 100% browser-based, no signup.
The SVG Converter rasterizes vector SVG source into PNG or JPEG bitmaps at any resolution from 64 up to 2048 pixels, entirely in your browser. Paste SVG markup straight into the code editor or upload an .svg file, and a live preview re-renders as you edit; if your source lacks a viewBox, one is generated automatically from its width and height attributes so scaling behaves correctly. Output is square at your chosen size, PNG keeps the background transparent, and JPEG encodes at a fixed 0.92 quality. The result panel reports exact dimensions, format, and encoded file size before you commit, making this a fast bridge from vector design to raster deliverable.
Designers exporting icons produce pixel-perfect raster versions at every common size without opening a desktop editor. Developers who receive SVG logos but need PNG fallbacks for email templates, Office documents, or older platforms convert in seconds. Content creators rasterize vector illustrations for platforms that reject SVG uploads — many social networks and CMS image fields still do. Presentation builders export at the 2048-pixel maximum for crisp full-slide graphics. Students and hobbyists experimenting with SVG markup get immediate visual feedback from the live preview, which exposes malformed markup before conversion. Because your SVG text never leaves the browser session, client-owned vector artwork stays confidential throughout the process.
(1) Provide SVG source: paste markup into the code box, click Upload SVG to load a file, or press Sample for a working example. (2) Set output size on the slider from 64 to 2048 pixels and choose PNG or JPEG. (3) Click Convert to Image. Your markup is parsed, injected with explicit width and height attributes, serialized, and rendered onto a canvas at the chosen resolution; PNG preserves transparency, while JPEG encodes at 0.92 quality. (4) Review the rendered result with its reported dimensions and file size, then download it — the file is named svg- plus your chosen size, such as svg-512x512.png — and a toast confirms each success.
Choose PNG whenever the graphic contains transparency, sharp edges, text, or flat color — logos, icons, and UI elements. PNG is lossless, lines stay crisp at any export size, and the transparent background survives, which matters when a mark must sit cleanly over any backdrop. Choose JPEG only for continuous-tone content such as gradients or embedded photography, where its lossy compression at the fixed 0.92 quality yields visibly smaller files and the subtle artifacts disappear. One caveat: JPEG cannot store alpha, so transparent regions render black in JPEG output. For icons and logos the answer is nearly always PNG; reserve JPEG for SVG illustrations that behave like photographs.
Yes. The tool preserves SVG transparency when converting to PNG. You can also set a custom background color (white, black, or any hex color). For JPG output, transparency is replaced with white since JPG does not support alpha channels. Set custom output dimensions or use the SVG's native size.
Embedded fonts and inline images convert correctly. External references (fonts loaded via @font-face URL, or <image href="external-url">) may not render if the external resources are blocked by CORS. For best results, embed all fonts and images inline in the SVG before conversion.
What do you call a crab that plays baseball?
No paywalls, no signups, no data sold. Built by a solo developer who believes useful tools should be accessible to everyone.
☕Support me on Ko-fi— keep tools free100% of proceeds go towards hosting & building more free tools.