# Convert PNG to SVG

Convert PNG images to SVG format using embedded image data (tracing simulation)

> Canonical page: https://elysiatools.com/en/tools/png-to-svg

- **Category:** Media

- **Keywords:** png, svg, convert, image, vector, format, tracing, scalable

## Overview

Easily convert your PNG raster images into scalable SVG vector files with our efficient conversion tool, supporting multiple tracing methods to suit your design requirements.

## Inputs

- **PNG Image File** (file): Select PNG image to convert
- **SVG Method** (select): Select SVG conversion method
- **Target Width (px)** (number): Enter target width (optional)
- **Target Height (px)** (number): Enter target height (optional)
- **Image Quality (0-100)** (number): Enter embedded image quality
- **Preserve Aspect Ratio** (checkbox): Check to maintain original aspect ratio

## When to use

- When you need to scale a logo or icon without losing image quality.
- When preparing web graphics that require a lightweight, resolution-independent format.
- When you need to convert bitmap assets into vector paths for further editing in design software.

## How it works

- Upload your PNG file using the file selector.
- Select your preferred conversion method, such as Embedded Image, ImageTracerJS, or Potrace.
- Adjust optional settings like target dimensions or image quality if needed.
- Click convert to generate and download your new SVG file.

## Use cases

- Converting low-resolution logos into scalable vector formats for print materials.
- Optimizing web icons to ensure they remain sharp on high-DPI displays.
- Preparing simple graphics for animation or manipulation in vector editing software.

## Frequently asked questions

### What is the difference between the conversion methods?

Embedded keeps the original raster data inside an SVG wrapper, while ImageTracerJS and Potrace perform vector tracing to create actual paths.

### Can I resize the image during conversion?

Yes, you can specify a target width and height, and toggle the preserve aspect ratio setting to maintain proportions.

### Is there a file size limit?

Yes, the tool supports PNG files up to 10MB.

### Does this tool support batch conversion?

Currently, this tool processes one PNG file at a time.

### What happens if I choose the 'Embedded' method?

The PNG is encoded into the SVG file structure, which is useful for embedding images in code without needing external file references.

## Related tools

- [Convert SVG to PNG](https://elysiatools.com/en/tools/svg-to-png): Convert SVG vector graphics to PNG raster format with customizable resolution, quality, and transparency options
- [Data URI Generator](https://elysiatools.com/en/tools/data-uri-generator): Convert files into Data URIs (Base64 or percent-encoded) for inlining images, fonts, and assets directly into HTML, CSS, or Markdown
- [SVG Favicon Generator](https://elysiatools.com/en/tools/svg-favicon-generator): Turn an SVG or raster logo into a complete favicon pack with ICO, PNG variants, Apple touch icon, and web manifest
- [Image Watermark Corner](https://elysiatools.com/en/tools/image-watermark-corner): Add corner watermarks to images with customizable positioning, size, opacity, and multiple corner options
- [Image Watermark Diagonal](https://elysiatools.com/en/tools/image-watermark-diagonal): Add diagonal watermarks to images with customizable angle, size, opacity, and positioning across the image
- [Image Watermark Image](https://elysiatools.com/en/tools/image-watermark-image): Add image watermarks to images with customizable position, size, opacity, and rotation
- [Image Watermark Opacity](https://elysiatools.com/en/tools/image-watermark-opacity): Add watermarks with custom opacity to images, supporting both text and image watermarks with advanced opacity controls
- [Image Watermark Tile](https://elysiatools.com/en/tools/image-watermark-tile): Add tiled watermarks to images with customizable spacing, size, opacity, and pattern options

## Samples

- [PNG Samples](https://elysiatools.com/en/samples/png-samples): Sample PNG images in different aspect ratios and resolutions
- [PNG Viewer Samples](https://elysiatools.com/en/samples/png-viewer-samples): Sample PNG, BMP and AVIF images for the in-browser PNG Viewer
- [SVG Samples](https://elysiatools.com/en/samples/svg-samples): Scalable Vector Graphics (SVG) samples demonstrating various SVG features and techniques
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

## Related content

- [SVG Favicon and Icon Conversion Workflow](https://elysiatools.com/en/hubs/svg-favicon-icon-workflows): Prepare favicon, app icon, and web icon assets from SVG, PNG, ICO, JPG, and WebP sources with conversion and optimization checks.
