How to scan a document with your phone
- Photograph the document from straight above with all four corners in the frame, then drop the photo into the box above, click it to choose one, or on a phone tap it to take one. JPG, PNG, WebP, HEIC and AVIF can be opened.
- The page corners are searched for automatically and shown as four dots. If a dot is off, drag it onto the real corner; a magnifier shows the spot while you drag. Arrow keys move a dot when it has the keyboard focus.
- Pick a look under Look: Colour keeps the colours, Clean evens the light and whitens the paper, Black and white gives dark text on white. Use Rotate if the page lies sideways. The small picture on the right is the result.
- Press Save as PDF for one page. For a document with several pages, press Add this page, then the next, choose the next photo, and save the PDF when all pages are in. Save this page as JPG gives a single picture instead.
Good to know
- Automatic corner finding works best with a light page on a darker surface. A white page on a white table, or a desk with many things on it, often fails; then the dots start inside the photo and you drag them onto the corners.
- Shoot from straight above, in even light, and keep your own shadow off the page. The tool removes soft shadows, but a hard shadow across the text cannot be recovered.
- Black and white makes the smallest files and is best for text. Use Colour or Clean for anything with a stamp, a signature in colour or a photo, because Black and white turns those into dark shapes.
- Each saved page is at most 2,800 pixels on its longest side. In the PDF every page is scaled to fit an A4 sheet, upright or sideways, so a narrow receipt gets white space around it.
- The saved files are made from pixels only, so the camera model, date and GPS location of the photo are not carried over.
How it works
How the scan is made
First the page is found: the photo is reduced, split into light and dark with Otsu’s method, and the largest light region that is not the background gives the four corners. Then the page is flattened: a projective transform maps the four corners onto a rectangle whose sides are the longer of each pair of opposite sides, and every pixel is read back with bilinear interpolation. Finally the light is evened out: the paper brightness is estimated on a coarse grid from the brighter half of each cell, and every pixel is divided by it, so shadows fade and the paper turns white.
JPG
JPG (JPEG) is the most widely supported photo format. It uses lossy compression, so files stay small, but it has no transparency and quality drops a little every time it is re-saved.
PNG
PNG uses lossless compression and supports transparency. It is ideal for screenshots, logos and graphics with sharp edges, but photos saved as PNG are much larger than JPG.
Frequently asked questions
Does it find the page corners by itself?
It tries. It looks for the biggest light region that is not the background and takes its four outermost points. That works for a light page on a darker surface. When it cannot tell the page from the table, the page says so and you drag the four dots onto the corners yourself, which takes a few seconds.
Can I make one PDF from several pages?
Yes. After the first page press Add this page, then the next, choose the next photo and repeat. The pages collect above the photo box, where you can remove one with the × on its thumbnail. Press Save PDF when they are all in.
The text looks too thin or has holes in Black and white. What now?
Choose Clean instead. Black and white turns every pixel that is not clearly dark into white, so faint pencil, light print and coloured stamps can disappear. Clean keeps them, only the light is evened out.
Is my photo uploaded to a server?
No. The photo is opened and edited inside your browser tab, and the result is saved straight from there. You can even switch to airplane mode after the page has loaded and it keeps working.
Does the saved photo still contain my GPS location?
No. The result is a fresh copy of the pixels, so the EXIF block of the original (where it was taken, camera model, date and sometimes an embedded thumbnail) is not carried over.
Which format is the result saved in?
The same as the original: JPG stays JPG, PNG stays PNG and WebP stays WebP. iPhone HEIC and AVIF photos are saved as JPG, because browsers cannot write those formats.
Guides that explain this
- Scan Documents to PDF with Your PhoneShoot documents so they read like a scan, assemble the photos into one PDF, get it under an upload limit, and turn pages back into JPGs at the right DPI.
Related tools
Found a bug, or wish this tool did something more? Tell Leo, who runs Hanji. Send feedback