You photograph a document, glance at it, and there it is: a soft dark gradient down one side, or a grey band across the middle where your hand or head blocked the light. The text is readable, but the page looks like what it is — a phone photo, not a scan. Email it to anyone official and it reads as careless.
The good news is that a shadow is one of the easiest scan flaws to fix, because it has a predictable shape: it's a slow, smooth change in brightness across the page, while the text is sharp, local detail. That difference is exactly what shadow-removal tools key on. This guide explains why the shadow appears, how to remove it, and how to avoid wiping out faint content in the process.
Why the shadow is there
A flatbed scanner presses the page flat against a glass and lights it uniformly from inside the machine, so there's no shadow to begin with. A phone photo has neither of those. The room light comes from one direction, your own body blocks part of it, and the page may be slightly curved — so brightness varies smoothly from one corner to another. That gradient is the shadow. It's not in the document; it's in the lighting.
Because the gradient changes gradually across the page while the text changes abruptly, software can separate the two: estimate the slow background brightness, then divide it out, leaving the sharp text behind on an even field.
How to remove it
Open Blackpdf's Enhance PDF tool and drop your file in. The first page opens in a Before / After compare view with a draggable divider — drag it to see the shadow on one side and the cleaned page on the other.
Lean on the Whiten Background control. This is the slider that removes shadows. Under the hood it estimates the page's slow background brightness and divides it out, then forces the near-white pixels to true white — which is exactly what flattens a shadow. Push it up until the grey gradient disappears and the background reads as clean white.
If the shadow is stubborn, add a little Exposure. A deep shadow on an underexposed photo sometimes needs a brightness lift as well — raise Exposure a touch so Whiten has more headroom to clamp to white.
Click Enhance PDF (the settings apply to every page), then download.
The one trade-off to watch: shadow removal works by treating faint, gradual brightness as "background." If your page has genuinely faint content — a light pencil note, a pale highlighter, a low-contrast stamp — cranking Whiten too high can erase it along with the shadow. If you see real content fading, pull Whiten down and lift Exposure and Contrast instead to clean up more gently.
Common questions
Why can't I just brighten the photo to remove the shadow?
Because a shadow isn't uniform — it's darker on one side and lighter on the other. Brightening the whole image lifts the dark side and the already-bright side together, so the light area blows out before the shadow clears. Shadow removal has to account for the gradient, not just overall brightness, which is what the Whiten Background control does.
The shadow's gone but the text looks washed out now.
You've pushed whitening past the point where it starts eating light strokes. Back the Whiten Background slider down, then recover the text with a small Contrast bump. The goal is a flat white background with the text still solidly black, not a blank page.
Does this work on a multi-page scan?
Yes — the settings you dial in on the preview page are applied to every page when you click Enhance. That works well when all the pages were shot under the same lighting, which is usually the case for one scanning session. If one page has a very different shadow, process it separately.
Can I fix a shadow without converting the page to grayscale?
The enhancement that removes shadows also converts the page to grayscale — that's part of how it produces the clean scanned look. If you must keep colour, there's no clean shadow-removal path; the better fix is to re-shoot the page with even lighting so there's no shadow to remove.
My scan also has the text crooked / the page is tilted.
Shadow removal doesn't straighten pages. Fix orientation first with Rotate PDF (for sideways pages); a slight tilt of a few degrees is best fixed by re-shooting the page square, since 90° rotation won't correct it.
After removing the shadow, can I make the text searchable?
Yes, and you should do it in this order: enhance to remove the shadow first, then run OCR PDF. OCR is far more accurate on a clean, even page than on a shadowed one.
Wrap-up
A shadow on a scan is a lighting problem, not a document problem, and it removes cleanly:
- Open Enhance PDF and drop the file in.
- Push Whiten Background up until the gradient clears.
- Add a little Exposure if the shadow is deep; ease off if faint content starts disappearing.
- Click Enhance PDF and download.
Best of all, you can avoid the whole problem next time by lighting the page evenly and keeping your own shadow out of the shot — the full capture-to-clean workflow is in our guide on scanning a document with your phone.
