SVG ↔ PNG Converter
Convert SVG to PNG at any resolution, or convert PNG to scalable SVG: all in your browser.
Settings
Drag & drop an SVG, or click to browse
Output: PNG at 2× scale with white background
SVG to PNG and PNG to SVG: free browser-based converter
SVG and PNG serve different purposes and you often need to move between them. SVG is the format of choice for logos, icons, UI elements, and anything that needs to look sharp at any size. PNG is the format everything else accepts: social media uploads, email clients, presentations, documents, and anything that does not support SVG natively. This tool handles both conversions in the browser without sending your files anywhere.
SVG to PNG conversion renders the vector image at your chosen scale using the browser's built-in rendering engine: the same engine that draws SVGs on web pages. This means you get pixel-perfect output at any resolution, including the exact colors, gradients, and transparency the SVG defines. PNG to SVG offers two modes: vectorization traces the image into filled paths suitable for truly scalable output, while embed mode wraps the raster image inside an SVG container for tools that require an SVG file but can display raster content.
How to convert: step by step
- 1Pick a conversion direction
Use the tab at the top to switch between SVG → PNG and PNG → SVG. Each direction has its own settings. - 2Configure your output
For SVG → PNG: set the output scale (1× to 8×) and choose a white or transparent background. For PNG → SVG: choose between vectorized tracing (best for logos and icons) or embedded wrap (best for photos). - 3Drop your file
Drag the file onto the upload area. Conversion starts automatically: no button to click. - 4Check the preview
A thumbnail confirms the result. Transparent PNG outputs show a checkerboard background so you can verify transparency. Metadata shows input and output sizes. - 5Download
Click Download PNG or Download SVG. The output filename keeps your original filename with the new extension.
Related Tools
Remove Background
Erase image backgrounds instantly using smart edge-detection flood fill. Outputs PNG with full transparency.
Format Converter
Convert images between JPEG, PNG, WebP, and AVIF. Batch-convert multiple files and download as ZIP.
Compress Image
Reduce file size with a quality slider. See before/after sizes and compression ratio in real time.
Image Enhancer
Adjust brightness, contrast, saturation, sharpness, and color temperature. Auto-enhance with one click.
Frequently Asked Questions
- What is the difference between SVG and PNG?
- SVG (Scalable Vector Graphics) describes an image using mathematical shapes: lines, curves, and fills: so it can be scaled to any size without losing quality. PNG is a raster format: a fixed grid of pixels. At small sizes both look identical, but an SVG stays sharp at 4K while a PNG becomes blurry if scaled beyond its original dimensions.
- What does the output scale setting do for SVG → PNG?
- It multiplies the SVG's declared width and height by that factor. A 200×200 SVG at 2× produces a 400×400 PNG. Use 1× for web display, 2× for Retina/HiDPI screens, and 3–8× for print-quality raster output.
- When should I use 'vectorize' vs 'embed' for PNG → SVG?
- Vectorize traces the image into filled SVG paths: best for logos, icons, line art, and flat-color illustrations with a small number of distinct colors. The result is a true vector file that scales infinitely. Embed wraps the PNG inside an SVG container: the image is still raster, but design tools like Figma, Sketch, and Affinity treat the file as SVG and allow SVG-level operations around it. Use embed for photographs or when you need exact pixel fidelity.
- How does the color palette size affect vectorization?
- A smaller palette (2–8 colors) simplifies the image, reduces file size, and produces clean flat shapes: ideal for logos with few colors. A larger palette (32–64 colors) captures more detail and shading but produces a much larger, more complex SVG. For most icons and logos, 8–16 colors is the sweet spot.
- Can I vectorize a photograph?
- Technically yes, but the result is rarely useful. Photos have millions of colors and gradients that collapse into thousands of tiny filled polygons, producing a very large SVG that looks like a mosaic. Vectorization works well on flat-color images: logos, icons, diagrams, clip art.
- Does the SVG → PNG converter support transparent backgrounds?
- Yes. Choose 'Transparent' in the background setting and the PNG output will have a transparent alpha channel wherever the SVG has no fill. Choose 'White' to flatten any transparency to a solid white background.
- Are my files uploaded to a server?
- No. The SVG → PNG conversion uses the browser's Canvas API. The PNG → SVG tracing uses imagetracerjs, a JavaScript library that runs entirely in the browser. No files are transmitted anywhere.
- Why is my vectorized SVG so large?
- Vectorization produces one SVG path per color region. Complex images have many small regions, each requiring its own path element. Try reducing the color count to simplify the output. For most practical uses: logo display on a website, icon export: the file size is not a problem.
AlteredIdea vs alternatives
vs online converters that upload files: Conversion runs in your browser. Logo files and brand assets stay on your device.
vs Inkscape or Illustrator: No installation. Open a browser tab, drop the file, done. For quick one-off conversions there is no reason to open a full design application.
vs command-line tools (rsvg-convert, cairosvg): Works on any operating system including Windows and mobile. No dependencies to install.