Sharpen Image
Drop images, set the amount and radius of the unsharp mask, and download the crisper copies — computed on your device, never uploaded.
- Free
- No account
- Runs in your browser
- Nothing uploaded
Sharpening cannot recover detail that was never captured — it exaggerates the contrast at edges and also amplifies noise and JPEG artifacts.
Add an image to see a sharpened preview here.
Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy
What is Sharpen Image?
This tool sharpens a PNG, JPG, WebP, GIF, BMP or AVIF image in your browser using an unsharp mask — the same technique photo editors call "Sharpen". A blurred copy of the picture is compared with the original, and the difference — the contrast the blur threw away — is added back, scaled by the amount you choose. Where the picture is flat the difference is zero and nothing changes; at an edge the lighter side is pushed lighter and the darker side darker, which is what reads as crispness. It is for making a soft scan or a resized photo look more defined, for putting a little bite back after an image has been shrunk, or for a product and social photo that needs to pop next to others.
The most important thing to understand is what sharpening is not. It cannot recover detail that was never captured. A blurred, out-of-focus or heavily compressed photo stays blurred — sharpening exaggerates the contrast that is there, so a soft edge becomes a more contrasty soft edge, not a truly sharp one. It also amplifies whatever noise and JPEG blocking is already in the picture, because those are small details too. Sharpening is contrast, not new information; a genuinely sharper large picture can only come from a sharper or larger original. This tool says so on the page rather than selling a miracle.
Two numbers control the effect. The amount is how much of the difference is added back: 1 is the standard strength, below 1 is a gentle touch-up, and at an amount of 2 or more the bright rims along high-contrast edges — halos — become visible, so the tool warns you there. The radius is the size of the edges that get the boost, in whole pixels: 1 px works on the finest detail, while a larger radius (say 5–20 px) fattens edges and increases local contrast, which can look satisfying on hazy landscapes but is exactly what creates halos if pushed. For a normal photo, an amount around 1 and a radius of 1–2 px is a safe, natural starting point. (Unlike many editors, this tool has no threshold setting, so a smooth area is never left alone — keep the amount modest on noisy images.)
Because the maths runs on the raw pixels rather than a browser filter, the result is the same on every device. Your browser decodes each image (turning a phone photo upright with its EXIF orientation), draws it onto a canvas at full size, and rewrites the red, green and blue values in JavaScript. Transparency is never touched: the alpha channel is left exactly as it was, so a transparent PNG stays transparent. The canvas is re-encoded and offered as a download, and because the image is redrawn on a canvas, EXIF metadata — camera, date and GPS location — is not copied into the result.
"Same as input" keeps PNG as PNG, JPG as JPG and WebP as WebP. GIF, BMP and AVIF are saved as PNG, because browsers can read those formats but cannot reliably write them from a canvas, and an animated file keeps only its first frame. You can also pick PNG, JPG or WebP explicitly: PNG is lossless, so the sharpened pixels are saved exactly, while JPG and WebP are re-encoded at the quality you choose. JPG cannot store transparency, so transparent areas are filled with the colour you pick.
Limits: up to 50 images at a time, 50 MB each, and about 100 megapixels (16,384 px per side). iPhones and iPads allow a canvas of only about 16.7 megapixels, so a very large photo may fail there with a message saying so. Your images stay on your device: the Network tab in your browser's developer tools shows no request carrying them.
1. The file's size is checked (50 MB) before it is read, and its first bytes confirm it is PNG, JPG, WebP, GIF, BMP or AVIF; the browser then decodes it upright. 2. The image is drawn onto a canvas at full size and its RGBA pixels are read. 3. A blurred copy is made with the same three-pass box blur the Blur Image tool uses — three passes of a box blur of the radius you set, in px, horizontally then vertically, with edges clamped and colours handled premultiplied by alpha. It is a close approximation of a Gaussian blur. 4. Each red, green and blue channel is replaced, per pixel, by the unsharp mask formula: sharpened = original + amount × (original − blurred), rounded to the nearest byte and clamped to 0–255. A flat area has original = blurred, so it is unchanged; at an edge the values overshoot, which is the visible sharpening. 5. The alpha channel is never written, so transparency is preserved; only colour is sharpened. 6. The pixels are written back, the canvas is encoded as PNG, JPG or WebP, and the file is named like photo-sharpened.jpg or logo-sharpened.png.
| Method | What it does | Can it recover detail that was never captured? | |
|---|---|---|---|
| Unsharp mask (this tool) | Adds back the difference between the image and a blurred copy, scaled by the amount | No — it exaggerates edge contrast and also amplifies noise and JPEG artifacts | |
| Deconvolution | Models how the image was blurred and tries to invert it | Sometimes, but only in microscopy and astronomy where the blur is known — not on a general photo | |
| AI / neural sharpening | A trained model guesses plausible texture | It invents detail that looks convincing, not the detail that was actually there |
Worked examples
- One channel, sharpened = original + amount × (original − blurred): original 100, blurred 104, amount 1 → 96; original 100, blurred 115, amount 1 → 85; original 200, blurred 163, amount 1 → 237 (the light side overshoots); original 128, blurred 100, amount 1 → 156.
- A flat pixel is never changed, whatever the amount: original 100, blurred 100, amount 3 → 100, because the difference is zero. A 9 × 9 image filled with (128, 128, 128, 255) comes back exactly (128, 128, 128, 255).
- The result is clamped to 0–255 per channel, with no wrap-around: original 0, blurred 170, amount 1 → 0 (0 − 170); original 255, blurred 170, amount 1 → 255 (255 + 85); original 1, blurred 200, amount 3 → 0; original 254, blurred 100, amount 3 → 255.
- A row of red values 100, 100, 100, 200, 200 sharpened with amount 1 and radius 1 → 96, 85, 63, 237, 219 (the blur first gives 104, 115, 137, 163, 181).
- 255, 0, 255 sharpened with amount 1 and radius 1 → 255, 0, 255: the blur is 170, 170, 170, so the differences are +85 and −170 and both are clamped rather than wrapping.
- Alpha is never changed: a 2 × 1 image of (100, 100, 100, 128) comes back exactly (100, 100, 100, 128).
- photo.jpg saved as PNG at amount 1, radius 1 → photo-sharpened.png, described as "Sharpened (amount 1, radius 1 px)"; being lossless, the only warning is the honesty note that sharpening cannot recover detail.
- logo.png kept as PNG ("Same as input") at amount 1.5, radius 2 → logo-sharpened.png.
- An amount of 2 adds the halo warning: photo.jpg at amount 1.9 warns only about recovery, while at amount 2 it warns about both recovery and halos.
- photo.png saved as JPG with a white background at amount 1, radius 2 → photo-sharpened.jpg, with transparent areas filled with white and a note that JPG output is re-encoded at the chosen quality.
- photo.png saved as WebP at amount 1, radius 1 with quality 80 → photo-sharpened.webp, re-encoded at that quality.
- An image of 20000 × 12000 px is refused before any pixels change: more than the 100-megapixel, 16,384-px-per-side canvas limit.
How to use Sharpen Image
- Click "Choose images", drop files on the box, or paste a screenshot with Ctrl+V (Cmd+V on a Mac) — up to 50 at once.
- Set the amount (1 is standard; below 1 is a touch-up) and the radius in pixels (1–2 px for fine detail, larger for broader edges); the preview updates as you type.
- Choose the output under "Save as" — Same as input, PNG (lossless), JPG or WebP — and set the quality for JPG or WebP.
- Click "Sharpen images", then download each result or all of them together as a ZIP.
Common errors
- "Amount must be a number from 0.1 to 5 — 1 is the standard strength." — the amount box is empty, has a value outside 0.1–5, or is not a number. Leave it at 1 unless you have a reason to change it.
- "Radius must be a whole number of pixels from 1 to 50." — the radius box is empty, has decimals, or is out of range. Use a whole number; 1–2 px suits most photos.
- "Quality must be between 1 and 100." — the quality slider only appears for JPG and WebP output, where re-compression actually uses it. Keep it between 1 and 100.
- "IMG_0042.HEIC" is actually a HEIC file, not PNG, JPG, WebP, GIF, BMP or AVIF. The extension does not match the contents — use a HEIC tool for this file. — convert HEIC photos to JPG first.
- "The output would be 20000 × 12000 pixels — more than a browser can safely draw (100 megapixels, 16,384 px per side). Choose a smaller size." — resize the image smaller first, or sharpen a smaller copy.
- "IMG_1234.jpg" is 62.40 MB, over the 50.00 MB limit for this tool. Everything runs in your browser's memory, so very large files can crash the tab. — resize or compress the file first.
- "photo.png" is empty (0 bytes). Choose the file again — it may not have finished downloading. — re-select the file, or re-download it.
- "Your browser could not encode an image this large (20000 × 12000). Try a desktop browser, or resize it smaller first." — iPhones and iPads allow a canvas of only about 16.7 megapixels, so a very large photo can fail there.
- "Your browser could not read the image pixels. Try closing other tabs and retry." — the browser ran out of memory for this image; close other tabs, or try a smaller image.
FAQ
How do I sharpen an image?
Drop the image in, set the amount (start at 1) and the radius (1–2 px for fine detail), and click "Sharpen images". An unsharp mask compares the picture with a blurred copy and adds the difference back, so edges gain contrast and the image reads as crisper. It is processed in your browser and never uploaded.
What amount and radius should I use for sharpening?
For most photos, an amount of about 1 and a radius of 1–2 px looks natural. A smaller amount (0.5–0.8) is a gentle touch-up on an already-good image; a larger radius (5–20 px) increases local contrast on a hazy landscape but quickly creates halos. Watch the live preview and stop before it looks artificial — the tool warns you once the amount reaches 2.
Does sharpening make a blurry photo sharp?
No. Sharpening exaggerates the contrast that is already at the edges — it cannot recreate detail that was never captured. A soft, out-of-focus or heavily compressed photo becomes a more contrasty soft photo, not a sharp one. It also amplifies noise and JPEG blocking. Genuinely recovering lost detail is a different class of tool, and even those guess rather than restore the truth.
Does sharpening add noise or halos?
It can do both, because noise and JPEG artifacts are small details too, so the same pass that sharpens edges also sharpens grain. Strong sharpening also creates halos — a bright rim on the light side of a high-contrast edge — which is why the tool warns you at an amount of 2 or more. Keep the amount modest on noisy or heavily compressed images, and use a smaller radius.
What is the difference between sharpening and upscaling?
Sharpening changes the pixels that are already there to increase edge contrast at the current size. Upscaling makes the picture larger, adding pixels that the browser estimates from the existing ones. They are often used together — enlarge first, then a mild sharpen to put the edge contrast back — but neither can invent detail that was never in the original.
Does sharpening lose quality?
Sharpening rewrites the pixels, but if you save as PNG the result is lossless — the sharpened pixels are stored exactly, and transparency is preserved because the alpha channel is never touched. JPG and WebP cannot be lossless: the image is re-encoded at the quality you choose and is no longer a pixel-exact copy, so save as PNG when quality matters.
Does sharpening an image remove EXIF metadata like GPS location?
Yes. Each image is redrawn on a canvas and re-encoded, so EXIF metadata — camera model, date and any GPS location — and embedded colour profiles are not carried into the saved file. Photos are turned upright before sharpening, so they still display the right way round.
Can I sharpen several images at once?
Yes, up to 50 in one batch, each up to 50 MB, with the same amount, radius and output settings. The preview shows the first image; download the results one by one, or all together as a ZIP file.
Related tools
- Blur & Pixelate ImageDrop an image, draw boxes over faces, names or numbers, choose Blur, Pixelate or Solid box, and download the censored copy — processed on your device.
- Upscale ImageDrop images, choose 2×, 3×, 4× or a target long side, and download the enlarged copies — resampled on your device, never uploaded.
- Invert Image ColorsDrop images, choose whether to keep transparency, and download the inverted copies — processed on your device, never uploaded.
Prefer AllUtil on Google
One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.