Skip to content

Free tools › Images

Clean up scan

A crooked, grey scan or phone photo of a page, made to look scanned properly.

More free conversions, where you upload. The Fylane extension does the same work inside any upload form, on its own free share every day.Add to Chrome

How to clean up scan

  1. Drop the scan or photo.
  2. Pick grey, black-and-white or colour.
  3. Press Clean and download.

What happens to your file

The sheet is turned upright by its camera data, bounded to 3600 pixels, and handed to unpaper: it finds the angle of the text lines and rotates the page straight, whitens the paper, removes the dark band a scanner lid or a table leaves at the edges and the speckles a scan picks up. The result is a PNG at the page’s size.

Best on a page of text or a form. A photograph on the page is kept but its greys are flattened toward paper white — use the colour result for those.

Questions

How crooked can it be?

A few degrees either way — the usual slip on a scanner glass or a phone held slightly off. A page photographed at a steep angle needs the perspective fixed first, which this does not do.

Is this OCR?

No — it makes the picture clean. Image to text reads it; a cleaned page reads better.

Do it once, not on every form

A form that wants a square JPEG under 240 KB says so on the page. The Fylane extension reads that, fits your photo to it, and puts it in the field — without you working out what 240 KB looks like.

And it keeps the result. The next application that asks for a résumé, a cover letter and a photo fills all three from one tap, each one refitted to what that site accepts.

Your files stay in the browser, encrypted, on your machine. Nothing is uploaded to keep them and nothing is sent anywhere to fill a form.

Filmed from the extension: a phone portrait against a form that takes only a square JPEG under 240 KB.

Add to Chrome — freeWhat it does

Do this in code

curl -X POST https://api.fylane.dev/v1/jobs \
  -H "Authorization: Bearer $FYLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": "<file id>",
    "operation": "scan.clean",
    "options": {
      "mode": "gray",
      "borders": "remove"
    }
  }'

The same operation, scan.clean — A scanned or photographed sheet straightened, its background whitened, edges and speckles gone (unpaper) — gray, black-and-white or colour; the step image.to-pdf takes with clean: true. Upload first with the quickstart; every option is on the operations page. 500 free credits a month, then $5 per thousand.