ConvertSVG
English

How to Convert a PNG to SVG With a Transparent Background

Turn on Transparent background to remove a solid white margin around your PNG. Check the result on a dark background before you use it. An area that's already transparent in the PNG can remain open. An area filled with white may need an edit, especially when it's enclosed inside the artwork.

We'll use a teal tag with a white star and a round punch hole. On a white page, these two sources look alike. Only one has a transparent hole.

Download the white-background PNG · Download the transparent PNG

1. Check the original before you trace

Open ConvertSVG, choose the white-background PNG, and start with Logo & icon. Click Original. On this sample the margin is white because the white pixels are part of the file. With the transparent PNG, the checkerboard shows through the margin and the round opening. The star remains white in both versions.

If the file you're working with is a JPG, any background in it has been flattened to pixels. When possible, ask for the original transparent PNG or SVG first.

2. Remove the white margin, then check the details

Upload the white-background PNG. Under Fine-tune, turn on Transparent background. Switch to Compare and slide the divider across the outer corners. On this tag the white rectangle disappears, while the enclosed star stays opaque.

ConvertSVG Compare view with the original white rectangle on the left and Transparent background checked for the SVG on the right
White is still present in the SVG color swatches because the star and circular disk are white artwork in this source.

Before you download, also look at the round mark. The white-background PNG gives the tracing tool two white shapes inside the tag. It has no way to tell that you intended one to be a hole. In our export, the white star and the white disk both stayed solid. The Transparent background control worked on the white pixels connected to the outside of the image.

Four tag proofs on a dark surface. The solid margin remains with background removal off, disappears with it on, and the round opening is clear only when traced from the transparent PNG.
We rendered all four versions over the same dark color. The star remains solid white in the last SVG, while the round mark shows the backing through the hole.

3. Keep the white shapes you need

If a white object touches the margin, or a white hole looks exactly like a white part you need to keep, open the source in an image editor. Erase the background and only the areas that should be holes, then export a PNG with transparency and trace that file. For this sample you can upload the transparent PNG directly. Transparent background turns on automatically, and the checkerboard is visible through the hole in the SVG view.

The × on a color swatch removes the entire traced color. Use it when every shape with that color should go. Deleting the white swatch in the white-background example would also take out the star.

Click Download SVG and place it over a dark or colored rectangle in your editor to check the outside margin, the white star, and the round opening one last time. A white browser page can hide the difference between white and transparent.

SVG with background removal off · SVG with the white margin removed · SVG with a transparent hole

Convert your PNG with a transparent background