How to remove shadows from a document photo
-
Add the photo
Choose a photo with a shadow on the page, or take one with Take a photo. -
Look at the preview
Drag across the before and after view to see the shadow removed. -
Adjust the strength
Increase the strength for dark or hard-edged shadows; reduce it if the image starts to look flat. -
Add more photos if needed
The same strength is applied to each photo you add. -
Choose a format
Pick JPG or PDF. -
Download
Press the download button to save the result.
Shadows are the most common problem in document photos
When you photograph a page on a desk, the light usually comes from above, and you and your phone are in the way. The result is a soft gray patch across part of the page, often with one darker corner. Add a desk lamp to one side and the page is bright on one edge and dim on the other. Text remains readable to your eye, but the photo looks gray and patchy, prints poorly and confuses OCR software.
This tool removes those shadows. It works out how bright the paper should be everywhere and evens it out, without bleaching the text or turning the image into a stark black-and-white copy.
Features
Lighting correction, not just brightening
Brightening a whole photo makes the bright parts too bright while the shadow stays. Instead, this tool builds a lighting map of the page and corrects each area by its own amount. Shaded areas are lifted a lot, already bright areas barely change, and the page ends up evenly lit.
Natural look
Unlike stronger filters, shadow removal does not crush blacks, sharpen edges or remove color. Photos, logos, colored ink and signatures look the way they did, just evenly lit.
Strength slider
At low strength, the correction is gentle and keeps some of the original lighting, which looks natural for photos of objects or textured paper. At high strength, the paper becomes uniformly bright, which suits documents.
Before and after
Drag across the preview to compare the original and corrected versions at the same position, or use the slider below the preview.
Batch and export
Add several photos and download them as JPGs (in a ZIP when there are several) or as one PDF.
Tips for best results
- Crop first. Dark table areas around the page can look blotchy after correction. Use Straighten document to crop and straighten.
- Soft shadows work best. A diffuse shadow from your body is easy to remove. A sharp shadow edge, such as from a phone held close to a lamp, may leave a faint line; raise the strength.
- Avoid shadows next time by keeping the light in front of you, not behind, and holding the phone a little higher.
- Use Enhance for gray paper. If the paper itself is gray or yellow, Enhance document photo also whitens it.
- Check dark corners for noise. Very dark corners become brighter but grainier. Retake the photo if detail is important there.
Why shadows appear, and how to avoid them
Knowing where shadows come from makes them easy to prevent on the next photo, and helps you judge how well this tool can fix an existing one.
Your own shadow
Most rooms are lit from the ceiling. When you lean over a desk to photograph a page, your head, arms and phone sit between the light and the paper. The result is a soft, wide shadow, often darker on the side closest to you. This kind of shadow is the easiest to remove because it changes gradually across the page.
Next time: stand so the main light is in front of you, on the far side of the page, or raise the phone higher and zoom in slightly.
The phone's own shadow
Holding the phone close to the paper under a single lamp casts a small, sharp shadow of the phone itself. Sharp edges are harder to correct, because the brightness changes suddenly across a few pixels.
Next time: hold the phone higher, or move the lamp so it shines from the side at an angle.
One-sided light
A window or desk lamp on one side makes one half of the page bright and the other half dim. This gradient is removed very well, since the lighting map follows it smoothly.
Next time: turn the page so the light falls along it from the top, or add a second light source on the other side.
Folds and curls
A folded letter or a curled receipt casts tiny shadows along its creases. The tool reduces them, but the paper's shape remains. Flattening the paper under a heavy book for a few minutes before photographing helps more than any filter.
Strength settings explained
| Strength | Best for | What to expect |
|---|---|---|
| Low (0 to 30%) | Photos with objects, artwork, textured paper | Gentle evening of light, original mood kept |
| Medium (30 to 70%) | Most documents | Even, bright paper, natural colors |
| High (70 to 100%) | Strong or dark shadows, document archives | Uniform paper brightness, slightly flatter look |
Start in the middle and move the slider while watching the darkest part of the shadow in the before and after view.
Common uses
- Photos of documents taken under ceiling lights, with the photographer's shadow across the page.
- Pages photographed near a window, bright on one side and dim on the other.
- Book pages with a dark gutter near the spine. For whole books, try Scan book.
- Forms and handwritten notes that need to look clean for submission.
- Preparing photos for OCR, because even lighting improves text recognition.
- Artwork and drawings photographed on a desk with lamp light.
How it works
The photo is split into blocks about one thirty-sixth of its shorter side. In each block, the tool collects a histogram of brightness and averages the brightest 15 percent of pixels, which in a document is almost always paper. Blocks that are mostly text would give a too-dark estimate, so each block takes the maximum of its own value and its neighbors' values. The block grid is then smoothed twice to remove sudden changes, and enlarged back to the full image size with smooth interpolation. The result is a map of how bright the paper is at every pixel.
Each pixel of the photo is then multiplied by the ratio between pure white and the map value at its position. The strength slider blends between no correction and full correction. A gentle levels adjustment finally sets the white point. All of this runs in a background worker, on your device.
Privacy: your files stay on your device
Your photos are never uploaded. They are loaded and processed in your browser, and the corrected image or PDF is created in memory and saved to your device. Our server does not receive or store anything you add here.
Troubleshooting
- A faint line remains where the shadow edge was. Increase the strength. Very sharp shadow edges can leave a trace; a new photo in softer light gives the best result.
- The image looks flat. Reduce the strength.
- The area outside the page turned gray. Crop the photo to the page first.
- Dark areas look grainy. That is noise from the camera that becomes visible when shadows are lifted. It cannot be fully removed.
- Colors look washed out. Lower the strength slightly.
Supported devices and browsers
Works in current versions of Chrome, Edge, Firefox and Safari on computers, and in Safari, Chrome and Samsung Internet on iPhone and Android. JPG, PNG, WebP and HEIC photos are supported.
Frequently asked questions
How does shadow removal work?
The tool estimates how bright the paper would be at every point if there were no shadow, by looking at the brightest parts of small areas across the page. It then brightens each area by the right amount, so the paper is even and the text keeps its contrast.
Does it change the colors of the text?
Colors are kept. Ink, highlights and stamps keep their hue, though they may appear slightly brighter in areas that were shaded.
Can it remove very dark shadows?
Shadows that still show some text detail can usually be removed well. In areas that are nearly black, little information is left, and the text there may look grainy after brightening.
What is the difference from Enhance document photo?
This tool only evens out lighting and keeps the photo natural. Enhance also raises contrast, sharpens and can convert to black and white. Use this tool when you want a faithful copy without a heavy filter effect.
Will it work on photos of whiteboards?
Yes, but the whiteboard scanner adds stronger color boost for markers, which usually looks better.
Does it crop the photo?
No. To crop and straighten, use Straighten document first, or scan with the camera scanner, which does everything at once.
Are my photos uploaded?
No. All processing happens in your browser on your device.
Why does the table around the page look odd?
The tool treats the brightest nearby areas as paper. Dark areas outside the page can turn gray or blotchy. Crop to the page for the cleanest result.
Related tools
Last updated 29 November 2026