Make Background Transparent
Choose a logo, signature or scan, and the plain background goes see-through at once. Save a PNG. It runs on your device and needs no model download.
https://flxcode.com/make-background-transparent/
or drop one here, or paste with Ctrl+V. One picture at a time.
JPG, PNG, WebP, HEIC, AVIF, GIF or BMP, up to 25 megapixels. JPG has no see-through parts, so you get a PNG. Nothing is uploaded.
Click the picture to take the colour under the pointer.
The file is a PNG with see-through parts. The preview colour is not saved. This works on colour only: for a pet or a product on a busy background use Remove background.
Works offline: load this page, choose a picture, turn off Wi-Fi, go on.
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.
Problem or idea? Email us
How to use it
- Choose a picture, or drop one on the page.
- Check the preview. The corner colour is set as the background. To change it, click the picture, or press White. No mouse: Tab to the picture, move the cross with the arrow keys, press Enter.
- Raise Tolerance until the old background is gone. Use Softness for a smoother edge.
- Keep "Only from the edges" if the picture has white inside shapes you want to keep.
- Press Download PNG.
Numbers this uses
- Distance from the background colour is measured in OKLab and multiplied by 100. Black to white is about 100.
- Alpha is 0 inside the tolerance and 1 beyond tolerance plus softness. Between them it follows a smooth curve (smoothstep).
- Defringe sets an edge pixel p with alpha a to (p - key × (1 - a)) / a in each channel, limited to 0 to 255. Fully clear pixels are saved as 0, 0, 0.
- "Only from the edges" starts at the border and spreads through pixels that are not fully solid, to the four neighbours.
- The preview is drawn at up to 1200 px on the long side. The saved file is worked out again at full size.
Limits
- One picture at a time, up to 25 megapixels.
- It works on one colour. Shadows, gradients and photo backgrounds will not clear cleanly. Use Remove background for those.
- Light parts of the logo that are close to the background colour go too. Lower the tolerance, or pick the background again.
- A picture that already has see-through parts keeps them.
- PNG only. sRGB only.
How it works and privacy
The colour maths is OKLab (also in CSS Color 4). A PNG stores see-through as an alpha channel, a fraction of full opacity. The alpha and defringe maths are checked against a separate Python version on 1,000 cases. Your browser opens and saves the picture. Nothing you choose is uploaded. We count events without cookies, like "PNG downloaded" (details).
FAQ
Can I do it with a JPG?
Yes. A JPG has no see-through parts, so the saved file is a PNG with the background cleared. JPG noise leaves faint specks of the old colour near the edges, so use a little tolerance.
What is tolerance?
How far from the background colour a pixel may be and still go. It is measured in OKLab and multiplied by 100: black to white is about 100. 0 clears only the exact colour. Around 10 to 20 is a good start for a scan or a JPG.
What does softness do?
Pixels just past the tolerance become partly see-through instead of fully solid, over that many steps. It keeps the edge of a logo smooth. 0 gives a hard edge.
What does "Only from the edges" mean?
The background is cleared only where it touches the border of the picture, so white inside a letter O, an eye or a ring stays. "Everywhere" clears every pixel of that colour, also the ones inside.
Will it cut out a person or a pet?
No. This works on colour only. A busy or shaded background has no single colour to clear. For a pet or a product photo use Remove background, which finds the subject.
Why does the preview show a checker?
It is only the colour behind the picture on this page. Choose Dark or Colour to see how the result looks on another background. It is not saved.
More from FLXCode
- Remove Background from ImageCut the background out of product and pet photos in your browser, fix it with a brush or clicks. Nothing is uploaded.
- Change Image ColorSwap one colour in a picture, or shift the colours of the whole thing. Nothing is uploaded.
- Image ResizerResize photos by pixels, percent or preset for Instagram and email. Batch and zip. Nothing is uploaded.
- Crop ImageCrop a photo with drag handles, arrow keys or exact pixels. Presets for 1:1, 4:5 and 16:9. Nothing is uploaded.