Skip to main content

Scan Cleanup · Browser Tool

Clean Document Scan

Upload a document photo or scanned image and clean it up so it is easier to read. Use the automatic preset or set brightness, contrast and sharpness yourself, and keep the color or switch to grayscale or black and white. All processing runs locally in your browser; on this site, your file is not uploaded. Compare the result with the original on a before/after slider and download it as a PNG.

Written by · Published · Last updated

Runs in your browser · No uploadPrivate by designJPG, PNG, WebP

How this tool handles files

Processing
In your browser, on-device
Storage
Nothing stored
Output
A file you download
Your responsibility
Review before official use
  • Runs in your browser. Your file is processed on your own device and, on this site, is not uploaded to our servers.
  • Nothing is stored. Your file and its output are gone the moment you close or reload the page.
  • Review sensitive files (bank, ID, medical) and check the output before sharing it.

Every tool on FormatOS runs in your browser. Read our Privacy Policy and File Handling Policy.

Input formats

JPGPNGWebP

Output formats

PNG

Common uses

  • Improve a dark or low-contrast document scan before uploading
  • Remove yellow background from aged paper photos
  • Convert a color document scan to crisp B&W
  • Sharpen a slightly blurry document photo
  • Prepare a scan for better OCR accuracy

Limitations

  • Cannot straighten a tilted page or correct the perspective of a photo taken at an angle.
  • Does not crop: the whole image is processed, including any table or background around the page.
  • Maximum image size: 30 MB.

Runs entirely in your browser

This tool processes your files locally using the Canvas API. On this site, nothing is uploaded and your files stay on your device.

Where Clean Document Scan earns its place

This tool takes a single document photo or scan and makes the text easier to read by adjusting brightness and contrast, dropping the color cast through grayscale or black-and-white conversion, and sharpening soft edges. It fits the everyday gap between a phone snapshot of a page and something you would actually file, print, or run through OCR.

Typical uses: brightening a dim scan of a letter or receipt before filing, cleaning a photo of a handout so it is legible, turning a yellowed scan into a crisp B&W copy for email, and preparing a page for OCR.

It is deliberately narrow. There is no document classification, no text extraction, and no multi-page handling here. One image in, one cleaned image out, with a before/after slider so you can judge the change rather than trust a label.

The flow and what it actually supports

Drop or select an image, choose a mode, and click Clean scan. Auto mode applies a balanced preset tuned for printed pages: a modest brightness lift, a stronger contrast boost, moderate sharpening, and grayscale conversion. Manual mode exposes the same controls directly: brightness and contrast each from -80 to +80, sharpness from 0 to 100, and a color mode choice of Color, Grayscale, or Black & White. If the result is not right, Change settings takes you back to the controls with the same file. All processing happens in your browser on an HTML canvas; on this site the file is not uploaded and nothing persists once the tab closes.

Inputs are JPG, PNG, and WebP up to 30 MB, one file per run. The export is a PNG named after your original with a -cleaned suffix; this tool writes PNG only, so there is no direct JPG or PDF save here. Sharpening is an unsharp mask (a blurred copy subtracted from the original), and Black & White is a single global luminance threshold at the midpoint rather than an adaptive, region-aware one.

What it does not do matters as much. It will not deskew a tilted page, correct perspective on an angled photo, crop to the document edges, or even out shadows from uneven lighting, and this site has no separate tools for those, so they are best fixed when you take the photo: shoot straight on, fill the frame with the page, and use even light. Removing yellowing here means the color cast disappears when you convert to grayscale or B&W, not a true white-balance correction that keeps color.

Where results go sideways

The most common disappointment is pushing contrast or the auto preset too hard: thin or faint text can break up, and light pencil or low-ink print can vanish into the background. Over-sharpening is the mirror problem; past a moderate setting it amplifies paper grain and JPEG artifacts into visible speckle. When that happens, choose Change settings, switch to Manual and ease the sliders back rather than re-running Auto.

Black & White is the sharpest trap. Because the threshold is fixed at the midpoint and applied globally, a scan with uneven lighting or a shadowed corner will turn that whole region solid black or blank white. If your photo has shadows or a light gradient across the page, use the Black & White Scan tool, whose adaptive mode sets a separate cutoff for each part of the page, or stay in Grayscale, where detail is preserved. B&W is also wrong for anything with photographic tone, gradients, or colored highlighting you need to keep.

Smaller pitfalls: sharpening cannot fix motion or focus blur, the tool does not straighten or crop, and PNG output can be heavier than the JPG you started with.

Read the worst part of the page, not the best

Use the before/after slider and read the worst part of the page, not the best. Confirm the smallest text is still fully formed, that no letters have been eaten by contrast, and that the background is clean without new speckle from sharpening. If you chose Black & White, scan the corners and any shadowed areas specifically for blown-out or filled-in regions, since that is where the global threshold fails first.

If the scan is headed for OCR, judge legibility rather than prettiness: even, well-separated characters matter more than maximum darkness. If it is headed for print or sharing, check the PNG file size is reasonable and that grayscale or B&W did not strip something you needed, such as a colored stamp, signature ink, or highlight.

For official or financial documents, compare the cleaned copy with the original and keep the untouched source.

Frequently asked questions

Yes. In Manual mode, raise the brightness slider to recover a dark scan and add some contrast to make the text crisper. Compare the result on the before/after slider, and choose Change settings to adjust it with the same file.

No. The Clean Scan tool runs entirely in your browser using the Canvas API. Your file stays on your device.

Grayscale converts the image to shades of grey while preserving tonal variation. Black & white applies a threshold so each pixel becomes either pure black or pure white; good for clean printed text but can lose detail in photos or handwriting.

Related tools

Tool last reviewed: September 27, 2026 · Report a problem