Thin Transparent Edges
Shrink the visible shape of a transparent PNG inward by 1 to 10 pixels to trim soft, fringed or haloed edges. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
Drop images anywhere on this page
or paste with Ctrl / ⌘ + V ·
Accepts PNG · several at once
Your PNG files never leave this tab
Thin Transparent Edges is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.
- No upload
- No file size limit
- Works offline once loaded
- Nothing stored or logged
How to use Thin Transparent Edges
- 1. Add the transparent PNG. Drop one or more PNG files with transparency, such as product cutouts or stickers. Each is processed in your browser.
- 2. Set how much to trim. Choose 1 to 10 pixels. Every pixel takes the lowest opacity found within that distance, so the outer ring of the shape becomes transparent.
- 3. Download the result. Colors inside the shape are untouched; only the edge recedes. Download the PNG or the whole batch as a ZIP.
When to use Thin Transparent Edges
Thin Transparent Edges is a morphological erosion of the alpha channel. It removes the outer pixels of every visible shape, which is where leftover background color, glow and blurry anti-aliasing sit after a cutout. Shapes touching the canvas border are not trimmed along that border.
- Removing a halo from a cutout. A white or green fringe around a cutout, left over from the original background, disappears when the edge is pulled in by a pixel or two.
- Cleaning up soft edges from a mask. Masks made with a soft brush or a feathered selection leave a blurry ring; trimming it gives a crisper silhouette on dark backgrounds.
- Removing stray single pixels. Isolated specks and one-pixel hairs left by background removal vanish completely with a one-pixel trim.
Examples
One pixel
Input
cutout.png
Output
The shape shrinks by 1 px all around, removing the outer fringe
About the Thin Transparent Edges tool
Thin Transparent Edges is a free online tool that works entirely inside your web browser. Shrink the visible shape of a transparent PNG inward by 1 to 10 pixels to trim soft, fringed or haloed edges. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.
This page is one of 292 PNG utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.
You can shape the output with the Trim by (px) setting; the result is redone automatically when you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. A worked example further down the page shows exactly what the tool produces for a real input.
Because nothing leaves your device, the tool is suitable for sensitive images such as ID scans, screenshots of internal systems or personal photos. It is also quick, since the pixels are processed on your own machine rather than by a remote API.
Frequently asked questions
Does Thin Transparent Edges cost anything?
Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.
Are my files uploaded to a server?
No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.
Which files does Thin Transparent Edges accept?
It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.
Do I need to sign up or install anything?
Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.
How do I save the output?
Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.
Related tools
All PNG Tools →Thicken Transparent Edges
Grow the visible shape of a transparent PNG outward by 1 to 10 pixels, filling the new edge with the artwork's own colors.
Remove PNG Background
Delete background zones to cleanly isolate a foreground element.
Make PNG Transparent Around Edges
Erase a border of pixels to transparency while keeping the center intact.
Generate Alpha Channel Histogram
Chart the transparency levels in a PNG and count the fully transparent, semi-transparent and opaque pixels.