Online Document Scanner

This online document scanner straightens document photos and saves up to 20 pages as one PDF or separate JPG/PNG files. Each photo can be up to 50 MB; processing stays in your browser.

Drop files here or choose files
Choose or shoot photos of your paperwork · up to 20 pages in one PDF · iPhone HEIC works · nothing is uploaded · 50 MB per photo

How to use

  1. Add your photos: Drop the pictures onto the box or click to choose them — on a phone you can shoot the page there and then. Up to 20 pages per run, 50 MB per photo, and iPhone HEIC files are accepted alongside JPG and PNG.
  2. Check the four corners: The corners of the paper are detected for each page as it loads. Drag a handle, nudge it with the arrow keys, or press Auto-detect or Whole image; Rotate left and Rotate right turn a sideways photo in 90° steps.
  3. Pick a mode and a format: Choose Color enhance, Grayscale, Black & white document or Straighten only, set the slider by eye in the preview, then choose PDF, JPG image or PNG image under Save as.
  4. Create the scan and save it: Press Create the scan. The result appears below with a preview and a download button; on a phone that button opens the system share sheet where the browser supports sharing files, and downloads the file otherwise.

How this document scanner turns a photo into a scan

A photo of paperwork becomes a scan in four steps, all of them inside this page. The four corners of the sheet are located, the perspective is flattened so the page is a rectangle again, the true width-to-height ratio of the paper is reconstructed from the shape of those corners, and the lighting is evened out so the paper reads as white while the writing stays dark. You pick how far that last step goes and whether the file comes out as a PDF, a JPG or a PNG. Add up to 20 photos and, with PDF selected, they arrive as one multi-page document.

Nothing is uploaded. The image engine is downloaded with the page and the decoding, corner detection, warping and encoding all happen on your own computer or phone, which is why signed contracts, payslips, ID pages and medical letters are reasonable things to put through it. The trade-off is that your device does the work: a big photo on an older phone takes a while, and the tab is busy while a page is being processed. Each photo can be up to 50 MB, and a single photo can hold up to about 50 megapixels (roughly 8600 × 5800) before the tool asks you to shrink it first.

Straightening is more than a crop. Shooting a sheet at an angle makes the near edge longer than the far one, so simply measuring the four sides would squash an A4 page towards a square and flatten the letters with it. Instead the real ratio is reconstructed from the quadrilateral, using the approach Zhang and He published for photographed whiteboards. On a test photo of an A4 sheet shot at 28° (1600 × 1200 px, 495 KB), the detected corners sat within 0.23% of the frame width of the true ones and the reconstructed ratio came out at 1 : 1.4159 against A4's 1 : 1.4143 — a 0.1% difference — producing an 868 × 1229 px page.

Getting the four corners right

The automatic corner guess is the one thing worth checking before you press Create the scan. Detection looks for a sheet brighter than what is behind it, and also for a region whose color differs from the edges of the frame, so white paper on a wooden desk is the easy case. White paper on a pale table, a sheet that runs off the edge of the photo, or fingers holding a corner down can all defeat it.

When nothing convincing is found, the page falls back to Whole image, says so under the editor, and the Auto-detect button is grayed out for that page because there is no detected shape to return to. Drag each handle onto a corner of the paper instead, or select a handle and nudge it with the arrow keys — 0.2% of the image per press, 1% with Shift held. Rotate left and Rotate right turn the page in 90° steps. If the handles end up crossed over or enclosing almost nothing, the preview tells you the shape is too small or crosses over itself rather than pretending to work.

The panel beside the editor keeps a live scan preview, produced by the same code on a scaled-down copy of your photo (long side 1200 px at most). It shows what the crop and the enhancement are going to do, but it is not an exact miniature of the file: the output is processed again from the full-size photo, and some of the algorithm's window sizes follow the dimensions of the image they are working on, so fine detail and the exact look of the edges can differ.

A run uses one set of settings and whatever corners each page currently has, so click through the page rows and glance at each one first. Nothing has to be confirmed page by page — that glance is simply what stops a page that quietly fell back to Whole image from landing in the PDF with half the desk still in it.

Which scan mode and format to pick

Color enhance is the one to reach for when the page has a signature, a stamp or highlighter on it: the levels and gamma are applied per channel, so colored marks survive and a warm indoor light that made the paper look yellow is corrected towards white. Grayscale is for filing and printing. Black & white document makes the smallest files by far, but only in the right container — the same page came out 8.7 KB as a PNG and 98 KB as a JPG, because JPEG spends its bits smoothing exactly the hard edges a two-tone image is made of. The tool already allows for that: choose PDF together with Black & white document and the pictures inside the PDF are written as PNG, which is why that PDF is 12 KB rather than about 100 KB.

The slider under the modes does two different jobs. In Color enhance and Grayscale it is Enhance strength: turn it up when shadows are still visible or the paper isn't white enough, down when the writing looks washed out or a stamp loses color. In Black & white document it becomes Faint ink kept: high keeps faint pencil and light print, low keeps only the solid strokes. On the synthetic A4 test photo, Color enhance produced 105 KB, 107 KB and 106 KB at strength 0, 50 and 100. File size varies with image content, so choose the strength by checking readability in the preview. In Straighten only there is no slider at all, because nothing is enhanced.

Paper ratio decides the shape of the output. Auto uses the ratio reconstructed from your corners, which is what you want for receipts, cards and anything that isn't a standard sheet. A4 locks the proportions to 210 × 297 mm and follows the orientation your corners imply, so a landscape quadrilateral stays landscape. With PDF selected, every page is laid out so its long side matches A4's long side (841.89 pt) and the short side follows the picture — an A4-shaped scan therefore lands on a genuine A4 page. There is no Letter option, no margin setting and no way to change the JPEG quality.

ModeWhat it does to the pageBest formatTest page size
Color enhanceDivides out the shadow and whitens the paper while keeping stamp and highlighter color (3 channels)PDF or JPG107 KB as JPG · 108 KB as a 1-page PDF
GrayscaleSame lighting fix, color dropped to a single gray channel — made for printing and filingPDF or JPG98 KB as JPG
Black & white documentThresholds each pixel against its own neighborhood: black ink on white, like a photocopyPNG or PDF8.7 KB as PNG · 12 KB as a 1-page PDF · 98 KB as JPG
Straighten onlyCrops and flattens and leaves the colors alone; the slider disappearsJPG for photos, PNG for line art106 KB as JPG · 537 KB as PNG

The same synthetic A4 photo throughout (1600 × 1200 px, 495 KB input), measured in this project's test environment. Your own numbers depend on the photo, on how much of the frame the paper fills, and on the mode.

If the photos are already flat and well lit and all you need is a PDF, Image to PDF does that step without touching the perspective or the colors.

Shadows, pixel limits and the things a scan can't fix

The hard case for any tool in this class is a shadow with a sharp edge — your own hand or phone falling across the page. Color enhance and Grayscale estimate the paper color over a grid of cells and deliberately treat a cell more than about 55% darker than its accepted neighbors as something printed on the paper rather than as badly lit paper. That rule is what keeps a photo glued to the sheet, or a solid block of black ink, from being bleached away; it is also why a dark, sharp-edged shadow can survive into the file. Black & white document works differently, comparing each pixel with its own neighborhood, and clears much more of such a shadow: in testing, paper inside hard shadows at 40% and 55% brightness still came out white, although the band along the shadow's edge was not completely clean. Soft, gradual shading is the easy case and comes out evenly white in every enhancing mode.

The scan is a newly written picture, so some things from the original photo are gone on purpose. No EXIF or ICC data is written at all: capture time, camera model, GPS and the color profile are not in the output. The orientation tag is applied to the pixels first, so nothing ends up lying on its side. Transparency is flattened onto white. Grayscale and Black & white document write a single channel, so their color really is gone, while Color enhance and Straighten only stay 3-channel sRGB. Black-and-white pixels are strictly two-tone before encoding — choose PNG or a PDF to keep them that way, because the lossy JPEG step can put gray back along the edges.

There is no text recognition. The output is a picture of your page, including inside a PDF, so the words can't be selected, copied or searched, and the file won't satisfy a form that insists on a searchable PDF. Nothing is written over the result either: no password, no watermark, no page numbers. One photo also can't be split into two pages, so photograph a book one page at a time, and the export list is PDF, JPG and PNG only — no WebP or TIFF.

Most still-image formats go through, including iPhone HEIC, which is converted to a JPEG in the browser before anything else happens; that costs one more lossy step than a photo that was already a JPEG, and a burst or sequence HEIC contributes only its first frame. BMP and ICO files and animated images (GIF, animated WebP, multi-page TIFF) can't be read, though a static GIF is fine. A photo the browser can't decode is marked on its row as unreadable, and a page in that state stops the whole run instead of quietly leaving a page out of your document — remove that page and create the scan again.

Scanning several pages into one PDF

To scan multiple pages to one PDF, add every photo first, set Save as to PDF, then press Create the scan once: all the prepared pages are processed with the same mode, strength and paper ratio, in the order of the list. The ↑ and ↓ buttons move a page up or down and ✕ takes it out, and the drop area stays available while you work, so you can keep adding photos until there are 20. Pages can't be added once a run has started — let it finish, or press Start over.

With PDF selected you get a single file: receipt-scan.pdf for one page, scan-3pages.pdf for three. With JPG image or PNG image you get one file per page instead, numbered 01-receipt-scan.jpg, 02-… and so on, and the results panel shows them one at a time with thumbnails to switch between them. Download all saves them one after another rather than bundling them into a ZIP, so expect several separate downloads.

For paperwork you have to send on, a few habits help. Shoot every page from the same height in the same light, so one set of settings suits them all. Keep the paper filling as much of the frame as you can: on the A4 test photo the sheet covered 36.9% of the frame and the finished scan was 0.22 times the size of the input, because cropping the desk away is itself a saving. And check the preview of each page before you press the button, since a PDF is produced in one pass from the list as it stands.

If a portal still refuses a multi-page color scan for being too big, Compress PDF is the next step after you have saved it.

How this tool is checked

  • The logic behind this tool is covered by 41 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
  • Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
  • Your files are processed in your browser and are never uploaded to our server.
  • Formulas, figures and definitions are checked against the sources listed at the end of this page.

How we build and test our tools →

Frequently asked questions

How do I scan a document with my phone camera?
Photograph the page from directly above in even light, with the whole sheet inside the frame and a background that contrasts with the paper. Then open this tool on the phone and add the photo: the corners are detected for you, you drag them if the guess is off, pick a mode and press Create the scan.
Are my photos uploaded to a server?
No. The decoding, corner detection, straightening, enhancement and PDF writing all run in your browser, so the photos stay on your device. There is no account and no history — close the tab and nothing is kept.
Can I scan multiple pages to one PDF?
Yes, up to 20 photos in one run. Add them all, choose PDF under Save as, and you get one file whose pages follow the list order, which you can change with the ↑ and ↓ buttons. Choosing JPG image or PNG image instead gives one numbered file per page.
Will the text in my scan be searchable?
No — there is no text recognition here, so the result is a picture of the page even inside a PDF. The words can't be selected or searched. If a portal asks for a searchable PDF, put the scan through a separate OCR tool afterwards.
Why couldn't it find the edges of my paper?
Because the sheet didn't stand out clearly enough: white paper on a pale table, a page cropped by the frame, or fingers across a corner all defeat detection. The page then uses Whole image and Auto-detect is grayed out, so drag the four corners yourself — the arrow keys nudge a handle 0.2%, or 1% with Shift held.
Which mode and format give the smallest file?
Black & white document saved as PNG, or as a PDF, since that mode writes the pictures inside the PDF as PNG. On one test A4 page the black-and-white PNG came out at 8.7 KB and the one-page PDF at 12 KB, against 98 KB for the same page as a JPG.
Does it remove the shadow of my hand or phone?
Not reliably. Soft, gradual shading is evened out well, but a dark shadow with a sharp edge is read as part of the page by Color enhance and Grayscale. Black & white document clears much more of it, though specks or a dark band can remain along the shadow's edge.
Can I use iPhone HEIC photos?
Yes. A HEIC file is converted to a JPEG in your browser before anything else happens, so it goes through one more lossy step than a photo that was already a JPEG. A burst or sequence HEIC contributes only its first frame.
Does the result look exactly like the preview?
It follows the preview closely, but it is not an exact enlargement of it. The preview is computed on a copy no more than 1200 px on its long side, while the file is produced from the full-size photo, so fine detail, the edges and the exact threshold points can differ.

Add this tool to your website

Free for any website, personal or commercial. Paste the code where you want the tool to appear — it works on WordPress, Blogger, Google Sites, Notion and plain HTML.

This tool needs a browser mode that only works on its own page, so the embed shows a card with a button that opens it in a new tab.

<div class="gingertool-widget" data-embed="https://gingertool.com/embed/en/image/document-scanner/" data-height="240" style="font-size: 13px; line-height: 20px; margin: 6px 0 16px; text-align: left">Online Document Scanner &#183; <a href="https://gingertool.com/en/image/document-scanner/">Gingertool</a></div>
<script src="https://gingertool.com/embed.js" async></script>

Please keep the credit link below the tool. Embedded tools show no ads.

Step-by-step: Google Sites · Blogger · WordPress · Notion

Cite this tool

Using a result in a report, paper or assignment? Copy a ready-made reference.

APA
Gingertool. (2026). Online Document Scanner [Online tool]. Retrieved November 22, 2026, from https://gingertool.com/en/image/document-scanner/
MLA
“Online Document Scanner.” Gingertool, November 22, 2026, https://gingertool.com/en/image/document-scanner/. Accessed November 22, 2026.
BibTeX
@misc{gingertool-photo-scanner,
  author = {{Gingertool}},
  title = {Online Document Scanner},
  year = {2026},
  url = {https://gingertool.com/en/image/document-scanner/},
  note = {Accessed: 2026-11-22}
}