How to enhance a document photo
-
Add a photo
Choose a photo of a document, drop it on the box, or take one with Take a photo. -
Compare before and after
Drag across the preview to see the original and the enhanced version side by side. -
Pick a filter
Choose Enhanced to keep color, Grayscale for neutral tones, or Black and white for pure text. -
Adjust the strength
Move the strength slider until the paper is white and the text is crisp, without losing faint details. -
Add more photos if needed
The same settings apply to every photo you add. -
Download
Choose JPG or PDF and press the button. Several photos download as a ZIP or one PDF.
From a dull snapshot to a clean, scan-like page
Photos of documents rarely look like scans. The paper turns gray or yellow under indoor light, one corner is darker than the other, and the text looks washed out. That makes documents harder to read on screen, and printouts waste ink on gray backgrounds.
This tool fixes those problems in one step. It whitens the paper, darkens the text, evens out the lighting across the page and removes the color tint from lamps. You see the result immediately in a before and after view, adjust the strength, and download a clean JPG or PDF.
Features
Background whitening
The tool measures how bright the paper is in small areas all over the photo and builds a map of the lighting. Dividing the photo by that map makes the whole sheet evenly white, even where a shadow or a dim corner made it gray. This is the same technique used by the document scanner, applied to photos you already have.
Contrast and color cast removal
After whitening, a contrast curve pushes the darkest parts toward black and the paper toward pure white. Because the lighting map is measured per area, the yellow or blue tint from lamps is removed along with the shadows, while real colors such as red stamps and highlighter stay visible.
Text sharpening
A light sharpening step makes the edges of letters crisper, which helps both reading and OCR. It is tuned to avoid the halos that heavy sharpening creates.
Three filters
- Enhanced: white paper, dark text, colors kept.
- Grayscale: the same cleanup without color, for a neutral, photocopy-like look.
- Black and white: pure black text on pure white, ideal for forms, printing and faxing.
Strength control
A single slider controls how strong the cleanup is. Around the middle works for most photos. Turn it down for photos with faint pencil, light drawings or photos on the page; turn it up for heavily shadowed or yellowed paper.
Before and after view
Drag across the preview, or use the slider below it, to compare the original and the result at the same position. It makes it easy to check whether any detail has been lost.
Batch processing
Add several photos and the same filter and strength apply to all of them. Download them as JPGs in a ZIP, or combine them into one PDF.
Tips for best results
- Start with the sharpest photo you have. Enhancement improves contrast and lighting, not focus.
- Crop first if the table shows. Dark table areas around the page become very dark after enhancement. Use Straighten document to crop and correct perspective.
- Lower the strength for pencil. Pencil and light handwriting are close to paper brightness and can fade at high strength.
- Use Grayscale for old documents where you want a natural, aged look without strong colors.
- Use Black and white for forms you need to print, sign and send back.
- Check every page in a batch. A page with a photo or a dark area may need a different filter.
Which filter should you choose?
| Your document | Best filter | Why |
|---|---|---|
| Typed letter or printed form | Black and white | Pure text, small files, clean prints |
| Document with a colored logo, stamp or highlighting | Enhanced | Keeps colors while whitening the paper |
| Handwritten notes in pencil | Grayscale, low strength | Keeps faint strokes and shading |
| Old or yellowed document | Grayscale | Removes the yellow cast without harsh contrast |
| Page with photos | Enhanced, low strength | Keeps photos natural |
| Receipt on thermal paper | Black and white | Turns faint gray print solid |
If you are not sure, start with Enhanced at the default strength and compare with the before view.
Common uses
- Cleaning up photos of documents before emailing them to an office or attaching them to an application.
- Making handwritten notes readable on screen and in print.
- Improving old photos of letters and records taken with an older phone.
- Preparing images for OCR, since higher contrast improves text recognition.
- Saving ink by removing gray backgrounds before printing.
- Brightening whiteboard and chalkboard photos; for whiteboards, the whiteboard scanner also boosts marker colors.
Before and after: what to look for
When you compare the two versions, check three things. First, the paper: it should be evenly white, with no gray patches. Second, the faintest text on the page: it should still be visible. Third, any colored areas: logos and stamps should keep their color under Enhanced. If one of these fails, adjust the strength or the filter before downloading.
How it works
The enhancement works on the pixels of your photo in a background worker. First, the photo is divided into blocks of a few dozen pixels. In each block, the brightest part, which is almost always paper, is measured. Blocks that are full of text borrow the paper level from their neighbors, and the result is smoothed into a gentle lighting map the size of the photo.
Each pixel is then divided by the lighting map at its position. Paper becomes white everywhere, regardless of shadows. Text, which is darker than the paper around it, stays dark. Then a levels adjustment sets the black and white points based on the photo's own histogram, a gamma curve deepens the text slightly, and an unsharp mask sharpens edges. Black and white mode instead compares each pixel with the average of its surroundings to decide whether it is ink or paper, which handles uneven light better than a single threshold.
The photo is processed at up to 3,000 pixels on its long side and saved as a high-quality JPEG. PDFs are created with the open source pdf-lib library, on your device.
Privacy: your files stay on your device
Your photos are not uploaded to enhance them. The browser loads them from your device, the enhancement code runs locally in a worker, and the download is created in your browser. No copy is stored on our server, and the tool works without a connection after your first visit.
Troubleshooting
- The text became too thin or disappeared. Lower the strength, or switch from Black and white to Enhanced or Grayscale.
- There is a dark border. The photo includes the table. Crop it with Straighten document first.
- Colors look washed out. Enhanced keeps color but makes the paper white, which can make light colors paler. Lower the strength.
- The result looks blotchy. Strong shadows with sharp edges, such as the shadow of a hand, can leave marks. Retake the photo with softer light, or use Remove shadow with higher strength.
- The download is a ZIP. Several photos as JPG are packed together. Choose PDF to get one file.
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
What does "enhance" actually change?
It estimates how bright the paper is in every part of the photo and evens it out, which removes shadows and gray areas. Then it raises contrast so text gets darker, removes color casts from lamps, and sharpens edges slightly.
Will it crop or straighten my photo?
No. This tool keeps the photo's framing. To fix perspective and crop to the page, use Straighten document, or scan with the camera scanner, which does both automatically.
Can I keep colored ink and highlights?
Yes. The Enhanced filter keeps colors while whitening the paper. Grayscale and Black and white remove color.
What does the strength slider do?
Low strength gives a gentle cleanup that keeps faint pencil and light shading. High strength makes the paper whiter and the text bolder, but very light marks may disappear.
Can I enhance several photos at once?
Yes. Add multiple photos; the chosen filter and strength apply to all of them. Use the thumbnails to check each one before downloading.
Are my photos uploaded?
No. The enhancement runs in your browser and the result is saved directly to your device.
Why do some faint lines disappear?
Very light marks are close to the paper's brightness, so strong enhancement treats them as paper. Lower the strength or use Grayscale.
Will this make text readable on a blurry photo?
It improves contrast, which helps, but it cannot recover detail that the camera did not capture. For blurry photos, take a new one in better light if you can.
Related tools
Last updated 29 November 2026