How to Enhance a Scanned PDF: Clear Text, White Pages, Straight Scans

By Adel Elmoslemany, founder of DonePDF About 12 minutes to read

A grey page, a shadow across a phone photo, yellowed paper, text that leans to one side or has faded almost to nothing – most scans can be made much easier to read. This page shows how to clean up a scanned PDF with the free Enhance PDF tool: which preset to start with, how to whiten the background and straighten crooked pages, how to darken faded text and sharpen soft letters, how to prepare a scan for OCR – and what no tool can fix.

Open Enhance PDF

Enhance a scanned PDF step by step

  1. Open Enhance PDF and add your file. Click "Select PDF" or drop the PDF anywhere on the page. It is processed in your browser and not uploaded.
  2. Pick a preset. For documents, start with one of the "Document presets": "Clean scanned document", "Phone photo of a document", "Darken faded text" or "Prepare for OCR". Every preset only moves the sliders, so you can fine-tune it afterwards.
  3. Check the preview and adjust. The preview changes as you move a slider. Press and hold "Hold to see the original" to compare, and use the page arrows to check other pages – the same settings are applied to every page.
  4. Choose the output. "PDF" or "Images (ZIP)", an "Output resolution" (150, 200 or 300 DPI) and, if you only need some pages, a "Page Range" such as 1-3,5.
  5. Click "Enhance PDF". The new file downloads with "_enhanced" added to its name, for example contract_enhanced.pdf. Your original stays unchanged.

Clean up a scanned document →

Which preset for which scan

Your scanStart withWhat it does
A normal scan that looks grey or a little softClean scanned documentWhitens the background, straightens the pages, adds contrast, light sharpening and a little noise reduction
A photo of a document taken with a phone – shadows, uneven light, slightly tiltedPhone photo of a documentThe same, with stronger cleaning and less colour cast
Pale, washed-out or faded text, low toner, an old copyDarken faded textWhitens the paper, stretches the tones so the lightest text becomes dark, and sharpens
A scan you want to make searchable or convert to WordPrepare for OCRWhitens, straightens, converts to grey, adds contrast and removes specks – without turning thin strokes into broken letters
Text only, and you want pure black on whiteBlack & White, then the "Threshold" sliderGrey page first; Threshold then makes every pixel black or white
Pages with photosPhoto EnhancementMore saturation, vibrance and clarity, gentle sharpening

The other presets – High Contrast, Soft, Vintage, Cinematic, Night, Text Enhancement and Enhanced Text – are looks rather than repairs. "Default" resets every slider and filter.

Remove shadows and yellowed paper

Raising brightness makes a shadow lighter, but it also lightens the text, and yellow paper stays yellow. "Whiten background (remove shadows)" in "Filters & Effects" works differently: it measures the colour of the paper across the whole page – darker in a shadow, yellow on old paper, grey on a dull scan – and evens it out to white. Text and lines keep their contrast, and coloured ink stays coloured.

In our test, a page photographed with a strong shadow from one corner and a yellow tint came out with an even white background and dark text. The filter is part of all four document presets.

Remove shadows from a phone photo →

Straighten crooked pages

Tick "Straighten pages automatically" and every page is measured on its own: the tool finds the angle of the text lines – up to 10° either way – and turns the page so the lines are horizontal. Pages that are already straight, and pages with too little text to measure, are left as they are. In our test, pages tilted 3° to one side and 2° to the other both came out level, while a straight page was not touched.

To turn the whole document by hand, use the "Rotation" slider – it now moves in steps of 0.1°, or type the angle into the box next to it. Small corrections of up to 15° keep the page size, and the corners that appear are white, not black. For quarter turns of whole pages, Rotate PDF is better: it turns pages without converting them to images (see How to Rotate a PDF). "Flip Horizontal" and "Flip Vertical" fix mirrored scans.

Make faded text darker

Faded text is light grey on white. Making it dark again means pushing the light greys towards black without turning the paper grey. The "Darken faded text" preset does that in three steps: it whitens the paper, stretches the tones with "Auto Enhance" so the darkest marks on the page become black, and darkens the mid-tones with "Gamma". In our test, text printed in light grey came out close to black.

If you prefer to do it by hand:

Text that has disappeared completely cannot be brought back – enhancement only strengthens what is still faintly there. Thermal receipts often work if the print is still visible; check the numbers carefully afterwards.

Darken faded text →

Sharpen blurry text – and where the limit is

"Sharpness" makes edges crisper, and "Clarity" raises contrast around them. Add a little "Noise Reduction" first, so sharpening does not turn grain into noise, then raise Sharpness step by step and stop when letters look crisp – too much creates bright halos. Negative values do the opposite and soften a scan that was over-sharpened.

The page looks…What helps
Slightly softSharpness and Clarity – a clear improvement
Blocky or pixelatedNothing. The detail was never captured. Get the original or scan again at 300 DPI.
Blurred by camera shakeA little. Take the photo again with steady hands and good light.
Spoiled by strong compressionNothing. Compress the original again with a lighter level in Compress PDF.
Blurry only on screenOften nothing is wrong: viewers show a low-resolution preview while loading. Zoom to 100% and wait.

"Convert 72 DPI to 300 DPI" does not make a page sharper: it only spreads the same pixels over more dots. Choosing "300 DPI" as output resolution helps only when the source has that much detail. More on DPI in How to Change the DPI of a PDF.

Remove specks and grain

"Noise Reduction" (0–100) smooths grain, dust and colour noise before the other settings are applied. Low values (10–20) are enough for most scans; high values make small text soft. For a clean black-and-white page, combine moderate Noise Reduction with the "Threshold" slider – isolated grey specks usually disappear when they fall on the white side of the threshold.

Black and white, grey or colour

OptionResultGood for
Colour (default)Colours stay; tone settings change brightness onlyStamps, signatures in blue ink, highlighted text, photos
GrayscaleEvery colour becomes a shade of greyText pages on coloured paper, OCR, printing in black
Threshold (slider)Every pixel becomes pure black or pure whiteText-only pages, the crispest print – check thin strokes and small text
Preserve ColorsTone changes keep the original colour balancePages where colours must not shift

Too high a Threshold breaks thin letters apart; too low fills in letters such as "e" and "a". Move it slowly and look at the smallest text. Coloured stamps disappear in Grayscale and Threshold – leave both off if they must stay visible. "Invert" swaps black and white, for example for a negative scan.

Prepare a scan for OCR

OCR reads letters more reliably when they are dark, straight and on a clean background. The "Prepare for OCR" preset whitens the background, straightens each page, converts to grey, adds contrast and a little noise reduction – but no threshold, because hard black and white can break thin strokes. Then:

  1. Download the enhanced PDF.
  2. Open it in OCR PDF to add a searchable text layer – see How to OCR a PDF for every setting.
  3. Proofread names, numbers and tables – OCR always needs a check.

If a scan is already crisp and white, skip enhancement and run OCR directly – it will not get better. Avoid strong Sharpness and Clarity before OCR: halos around letters can confuse recognition.

Prepare a scan for OCR →

Every setting explained

SettingWhat it does
BrightnessMakes the whole page lighter or darker, paper and text alike
ContrastSpreads the tones: dark gets darker and light gets lighter
ExposureLike more or less light when the photo was taken; strong values burn out white areas
GammaChanges the middle tones: below 1 darker, above 1 lighter, black and white stay
Shadows / HighlightsLighten or darken only the dark or only the light half of the tones
Whites / BlacksMove only the very lightest or very darkest tones – paper and ink
Saturation / VibranceMore or less colour; Vibrance protects colours that are already strong
SharpnessCrisper edges; negative values soften
ClarityLocal contrast – makes text stand out; negative values flatten
Noise ReductionSmooths grain and specks
ThresholdTurns the page into pure black and white at the chosen level
RotationTurns every page by the chosen angle, in steps of 0.1°
Straighten pages automaticallyMeasures and corrects the tilt of each page, up to 10°
Whiten background (remove shadows)Evens out shadows and paper colour to white
Auto EnhanceStretches the tones of each page from its darkest to its lightest pixels
Histogram EQ / CLAHESpread the tones evenly over the whole page / region by region
Grayscale, Sepia, InvertGrey, brown-toned or negative page
Flip Horizontal / VerticalMirror the page

Resolution, file size and page range

Each page is rendered again at the resolution you choose under "Output resolution" and saved as a JPEG image at high quality, at the size of the original page:

Output resolutionA4 pageUse it for
150 DPI – smaller fileabout 1240×1754 pixelsE-mail, upload portals, reading on screen
200 DPI – recommendedabout 1654×2339 pixelsMost documents, office printing, OCR of normal text
300 DPI – printabout 2480×3508 pixelsSmall print, printing, archiving

In our test, three A4 pages took about 4 seconds at 200 DPI (1.6 MB) and about 9 seconds at 300 DPI in grey (3.0 MB). An enhanced scan is often larger than a heavily compressed original. To make it smaller afterwards, use Compress PDF, ideally with the "Recommended" level – see Compress a Scanned PDF.

"Page Range" takes single pages and ranges, such as 2, 1-3 or 1-3,5,7; empty means all pages. "Images (ZIP)" saves every page as a JPG file (page_1.jpg, page_2.jpg …) in one ZIP file.

What changes in your file

Not sure whether your problem is the scan itself, the resolution or the file size? How to Improve PDF Quality explains which kind of quality problem you have and which tool fits it.

Problems and fixes

ProblemWhat to do
The background is still grey or yellowTick "Whiten background (remove shadows)", then raise "Whites" a little.
A page was not straightenedIt has too little text to measure, or it leans more than 10°. Use the "Rotation" slider for that page with a "Page Range".
Text looks broken or has holes"Threshold" is too high. Lower it, or use Grayscale instead.
Letters have bright halosLower "Sharpness" and "Clarity".
The page became too darkLower "Contrast", raise "Gamma" towards 1, or choose "Default" and start again.
A coloured stamp disappearedTurn off Grayscale and Threshold.
The file is much largerChoose "150 DPI – smaller file", use Grayscale for text pages, or compress afterwards.
I can't select the text any moreThe pages are images now. Run OCR PDF on the result, or keep using the original.
"This PDF is password-protected"Remove the password with Unlock PDF, then try again.

Frequently asked questions

How do I enhance a scanned PDF for free?

Open Enhance PDF, add the file, pick a document preset such as "Clean scanned document", check the preview and click "Enhance PDF". It runs in your browser, without sign-up or watermark.

How do I remove shadows from a scanned document?

Tick "Whiten background (remove shadows)" or use the "Phone photo of a document" preset. The tool measures the paper colour across the page and evens shadows out to white while the text stays dark.

How do I make a yellowed or grey scan white?

The same filter, "Whiten background (remove shadows)", turns yellowed, recycled or dull grey paper white. Raise "Whites" a little if needed.

Can it straighten a crooked scan?

Yes. "Straighten pages automatically" measures each page and corrects tilts of up to 10°. For other angles, use the "Rotation" slider in 0.1° steps.

How do I make faded text darker?

Use the "Darken faded text" preset, or Auto Enhance with Gamma below 1. Text that has disappeared completely cannot be brought back.

Can a blurry PDF be made sharp?

Slightly soft text becomes clearly crisper with Sharpness and Clarity. Pixelated text, camera shake and compression damage cannot be repaired – scan again or use the original.

Does enhancing improve OCR?

For grey, noisy, faint or tilted scans, yes. Use "Prepare for OCR", then run OCR PDF. A scan that is already clean will not get better.

Will the text in my PDF stay selectable?

No. Every page is saved as an image. Run OCR PDF afterwards to make the text searchable again, and keep the original file.

Which output resolution should I choose?

200 DPI for most documents, 150 DPI for e-mail and smaller files, 300 DPI for small print and printing.

Can I enhance only some pages?

Yes. Enter them under "Page Range", for example 1-3,5. The same settings apply to all pages you choose.

Can I keep stamps and signatures in colour?

Yes. Leave Grayscale and Threshold off; the background filter keeps coloured ink coloured.

Can I get the pages as images?

Yes. Choose "Images (ZIP)" to get one JPG file per page in a ZIP file.

Is my file uploaded?

No. Enhance PDF works in your browser, so the file stays on your device.

Does it work with password-protected PDFs?

Not directly. Remove the password with Unlock PDF first, then enhance the file.

Ready to clean up your scan?

Pick a document preset, check the preview and download – free, in your browser.

Enhance a scanned PDF now

Images too large instead of too blurry? See How to Change the DPI of a PDF.