Unpad an Image
Strip uniform padding or empty space from around an image. Runs entirely in your browser, so your data never leaves your device.
Drop a file here, or click to browse
Files never leave your device
Output
The result appears here as you type.
How to use Unpad an Image
- 1. Upload the padded image. Add an image that has extra blank space or a uniform-colored margin around its actual content.
- 2. Set the Color tolerance. Raise tolerance if the padding isn't a perfectly flat color, such as a faint gradient or compression noise; lower it to only strip pixels matching the padding color exactly.
- 3. Download the unpadded image. Save the result once the surrounding blank space is gone from the preview.
When to use Unpad an Image
Unpad an Image strips uniform padding or empty space from around a picture, tightening the canvas to just the actual content. It's for images that came out of an export or template with extra margin baked in.
- Tightening an exported icon's canvas. An icon exported from a design tool has a chunk of unnecessary transparent or white padding around the actual glyph. Unpadding it gives a tightly cropped file ready to use at any size.
- Fixing an inconsistent image export size. A batch of exported assets all have varying amounts of padding depending on how they were originally drawn. Unpadding each one brings them to a consistent, content-only size.
- Preparing an image for a fixed-size template. A layout template expects images with no wasted margin so it can control spacing itself. Removing the built-in padding avoids double-spacing when the image drops into the template.
Examples
Trim whitespace
Input
padded.png
Output
padded.png with the surrounding blank space removed
About the Unpad an Image tool
Unpad an Image does its work locally, right in the browser. Strip uniform padding or empty space from around an image. There is no upload step, no queue and no account, and your data never travels over the network.
It belongs to the Image Tools collection on EditSafely, a set of 200 small, focused Image utilities that share the same instant, private workspace.
You can shape the output with the Color tolerance (%) setting, and the result refreshes the moment you change it. 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.
Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.
Frequently asked questions
Is Unpad an Image free to use?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Are my files uploaded to a server?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
Which files does Unpad an Image accept?
It accepts images in any common format (PNG, JPG, WebP, GIF and more). 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?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
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.