Sharpen Image
Sharpen a slightly soft photo to bring out edges and detail, with a strength slider and the original size kept.
Lower quality gives a smaller file.
Your file is ready
Was this tool helpful?
Thanks for the feedback!
This tool makes a slightly soft photo look crisper by boosting the contrast along edges and fine detail. It helps with phone photos that look a little smudgy, product shots for a listing, and pictures that went soft after being resized. Everything runs in your browser, the original size is kept, and nothing is uploaded.
The Sharpening slider
The slider is labelled Sharpening and runs from 0% to 100%, starting at 50%. At 0% the picture is unchanged; higher values give a stronger effect. Set it and press Process image, then compare the Original and Result side by side. The preview is scaled down to fit the page, so download the result and view it at full size before you decide. To try a different strength, move the slider and press Process image again. A JPEG source is saved as a JPG at 92% quality; other formats are saved as PNG.
How the sharpening is calculated
The tool looks at each pixel together with its four direct neighbours (above, below, left and right). With k as the slider value divided by 100, each red, green and blue value becomes:
new = centre × (1 + 4k) − k × (above + below + left + right)
At the default 50%, k is 0.5, so the centre is multiplied by 3 and half of each neighbour is subtracted. At 100%, k is 1, which gives the classic sharpening kernel with 5 in the middle and −1 on each side. Results are kept between 0 and 255, and transparency is copied unchanged. Pixels on the outer edge of the picture reuse their own value for the missing neighbour, so no dark frame appears around the photo.
The key property is that a flat area does not change at all. If a pixel and its four neighbours are all 100, the result at 50% is 100 × 3 − 0.5 × 400 = 100. Only places where neighbours differ, such as edges, text and texture, are affected.
Worked example
| Centre value | Four neighbours | Sharpening | Result |
|---|---|---|---|
| 100 | 100 each | 50% | 100 (flat area, no change) |
| 100 | 80 each | 25% | 120 |
| 100 | 80 each | 50% | 140 |
| 100 | 80 each | 100% | 180 |
| 80 | 100 each | 50% | 40 |
Now take a vertical edge where a dark area of 60 meets a light area of 180, so a row reads 60, 60, 60, 180, 180, 180. At 50% it becomes 60, 60, 0, 240, 180, 180. The dark pixel next to the edge drops to 0 and the light one rises to 240. That extra contrast is what makes the edge look sharper, and it is also the thin dark and light outline, often called a halo, that appears when sharpening is pushed too far. At 100% the light side reaches 255 and clips.
What sharpening can and cannot do
- It cannot rescue a photo that is badly out of focus or blurred by camera shake. It only strengthens detail that is already there.
- It strengthens noise and JPEG blockiness as well as edges, so dim indoor photos can turn grainy. Try 20% to 40% on those.
- Resize first, sharpen last. Shrinking a photo softens it, so run it through the image resizer before this tool.
- Sharpening twice adds up. Processing the result again at 50% is stronger than one pass, and halos build quickly.
- Every pixel is calculated in JavaScript, so very large photos take a little longer to process.
- Text in screenshots usually needs little or no sharpening. A low setting such as 20% can help a blurry scanned page, but higher values make letters look rough.
- Judge the effect on faces and skin, which show halos and grain first, rather than on buildings or leaves, which hide them.
A sensible routine for a product photo is: crop, resize to the size the marketplace or website needs, sharpen at 30% to 50%, then download and check at full size. If you want the opposite effect for a background, use blur image.
Frequently asked questions
How do I sharpen a blurry photo online?
Can this tool fix an out-of-focus photo?
What sharpening percentage should I use?
Why do I see light and dark outlines after sharpening?
Does sharpening change the image size?
What happens at 0% sharpening?
Related guides
- JPG vs PNG vs WebP: Which Image Format Should You Use? JPG for photos and forms, PNG for screenshots and logos, WebP for websites. Real size tests, transparency, browser support in 2026, plus HEIC and AVIF...
- How to Compress an Image to 20 KB, 50 KB or 100 KB Get a photo under 20 KB, 50 KB or 100 KB for forms, email or a website: pixel sizes that fit, the quality to use and which free tool to pick.
- Resize Photo and Signature in KB for SSC, IBPS and UPSC Forms Resize an exam photo to 20–50 KB and a signature to 10–20 KB in your browser: exact steps, 2026 SSC, IBPS and UPSC sizes, pixels vs KB, and fixes for...