How to make a transparent PNG for a logo

Logos and photographs need opposite treatment. A photograph needs a subject separated from a scene; a logo needs flat colour separated from a background. Understanding that difference saves a lot of disappointing edges.

Why logo cut-outs fail

Segmentation models are trained on photographs. They look for a subject — a person, an animal, a product — and predict a soft mask that blends at the edges. A logo is none of those things: it is usually flat colour with hard, geometric boundaries and often thin strokes and negative space.

Run a photographic model on a logo and you tend to get one of two results: an edge with a halo of semi-transparent pixels where the background bled in, or interior holes where the model decided a white gap inside a letter was background.

What actually works

  1. Start with the highest-resolution version. Tracing a small logo produces jagged edges that no amount of cleanup fixes.
  2. If the logo is flat colour on plain white, remove the white directly. Increasing contrast first with Levels makes the boundary crisp, then Remove Background has a clean edge to find.
  3. For a truly vector logo, trace it. Vectorize to SVG converts flat artwork into paths, which is the correct output for a logo: it scales without edges at all.
  4. Export PNG or SVG, never JPEG. JPEG has no alpha channel, so every transparent pixel is filled with a solid colour.

Cleaning up a halo

If the cut-out has a light fringe, the cause is usually a background that was brighter than the logo. Two practical fixes: place the logo on a background close in tone to the original when compositing, or trim the outermost pixel with Crop, which shaves the fringe off along with a sliver of the edge. Neither is elegant, but both beat a visible grey outline on a dark page.

For a logo that will be used at many sizes, the halo will be visible at some of them no matter what. That is the argument for the SVG route: a traced logo has no concept of a fringe because there are no pixels along the edge.

The negative-space trap

Consider a wordmark where the counter of an "o" is the same white as the page. A model that removes white may remove the inside of the letter as well, leaving a hole. If that happens, the fix is to fill the hole — draw a shape over it with the editor and export again — rather than to rerun the model and hope.

Checking the result

Never check a transparent PNG on a white background. Every fringe and hole is invisible there. Open it on a dark background, then on a mid-grey one: a halo shows up immediately on dark, and leftover white patches show up on both.

Check the file properties too. A PNG that has been through a screenshot tool or a messaging app often comes back with its transparency replaced by white — the format supports alpha, but the pipeline in between may not.

When to use a designer instead

If the logo exists only as a JPEG from a website header, the honest answer is that you are reconstructing artwork rather than editing a photo. Tracing can get close for simple marks; a skilled designer with the original vector file gets it exact. No tool on this site can recover a vector that was never saved.