A common hope: convert a logo on a white background from JPG to PNG and the background turns transparent. Then the result still has a white box around it. The converter didn't fail. Changing the format and removing the background are two different jobs. To show the difference, a logo on a white background was saved as JPG and measured.
One thing up front: this site has no automatic background removal (AI or otherwise). This guide explains why that separate step is needed and where the quick shortcut breaks down.
A JPG has no "transparent" to give
A JPG stores three values per pixel: red, green and blue. There is no slot for transparency (no alpha channel). So the background of a white-background JPG isn't empty space. It is pixels painted white, and nothing in the file says which pixels are logo and which are background.
Converting to PNG does add an alpha channel. But since nothing in the original was transparent, every pixel is filled in as fully opaque. The converter carries the pixels over as they are. It doesn't decide which white is background and which white belongs to the logo.
What the measurements showed
For this guide, a 512×512 logo was drawn: a navy circle with a white star, ringed in orange (a made-up sample). It was saved as a JPG on white (quality 85), then converted to PNG. The measuring was done with sharp, a Node.js image library, saving an RGBA PNG with an alpha channel the way a browser does. The conditions are also listed in how the measurements were made.

| Item | Value |
|---|---|
| JPG size | 17.5KB (17,465 bytes) |
| Size after converting to PNG | 130KB (130,459 bytes) |
| Total pixels | 262,144 |
| Pixels with any transparency (alpha below 255) | 0 |
The PNG had an alpha channel, yet not one of its 262,144 pixels was transparent. On a checkerboard, B's white square covers the pattern completely. The file also grew more than sevenfold: storing a JPG losslessly as PNG doesn't bring back what the JPG discarded, it only compresses less efficiently.
In Unifying Image Sizes for Games, converting a white-background JPG logo (TIDE) to PNG with this site's converter also left the white background in place.
That white isn't even pure white
The natural next idea is to make just the white pixels transparent. But a JPG's white background is less even than it looks. Of the 135,774 pixels outside the logo (where the background should be), 12,711 (about 9%) were not pure white (255, 255, 255), and the darkest value went down to 210. Most of them sit near the logo's edge. JPG compresses the image in 8×8 pixel blocks, and that leaves this kind of speckle (compression noise) around sharp color changes.
What happens when you erase only the white
The usual shortcut was tried: any pixel whose three color values are all at or above a threshold becomes transparent (the same idea as a chroma key). Three thresholds were counted.
| Threshold | Background pixels left | Whitish fringe pixels | Share of the white star erased |
|---|---|---|---|
| 250 and up made transparent | 4,281 | 5,154 | 92.3% |
| 240 and up made transparent | 940 | 1,813 | 98.5% |
| 220 and up made transparent | 129 | 986 | 99.5% |

The table and images show three problems.
- White inside the logo disappears too. The computer can't tell the background's white from the star's white. At a threshold of 240, 98.5% of the white star went transparent, leaving the star-shaped hole in D.
- A light fringe (halo) stays around the edge. The pixels on the circle's edge are in-between colors, a mix of orange and white, because edges are blended to look smooth. They aren't white, so they survive the key, and on a dark background they show up as the light band in E. Even at a threshold of 220, 986 of them remained. In the originally transparent version (F), those pixels are stored as partly transparent, so no band appears on any background.
- A lower threshold breaks something else. It removes more of the leftover speckle, but a logo with light colors starts losing pieces of itself. No single threshold works for every image.
If the image will only ever sit on white, none of this shows, since the fringe is white too. It shows up on dark screens or colored backgrounds.
What to do when you need a transparent logo
- Get the original again. Whoever made or distributes the logo often has a transparent PNG or an SVG. That is the cleanest option.
- Use a background removal tool. Selection and mask tools in image editors, or dedicated background removers, soften the edge into partial transparency. This site doesn't have that feature, so it means using another tool. If the service uploads your file, check where it is stored.
- If the destination background is fixed, transparency may not be needed. An image that always sits on a navy screen, for example, can simply have a navy background. This site's converter can fill transparent areas and margins with a chosen background color. It doesn't recolor a white background, though, so this only helps when you start from a transparent PNG.
- For a simple shape logo, converting to SVG is another option. A white-background JPG traced to SVG brings the background along as a large white shape, so that shape has to be deleted in an editor.
Summary
- Converting JPG to PNG only changes the container. The white background stays as white pixels; in this test, 0 pixels were transparent.
- Erasing only the white also removes white inside the logo and leaves a light fringe along the edge.
- A clean transparent background comes from a transparent original or a separate background removal step.
If you do have a transparent PNG, its transparency survives conversion. When converting PNG to JPG, transparent areas are filled with the background color, so pick one that suits where the image goes.
Convert JPG to PNG Convert PNG to JPG