Convert

How to Scan a Document to PDF with Your Phone Camera

No scanner? A phone camera and a browser are enough for most upload forms. We photographed a synthetic three-page paper form, turned it into a PDF with the live tool, and measured what changed when we compressed first.

Updated ยท 12 min read

Screenshot of the Photo to PDF tool tool on Dokurapi
Screenshot of the related Dokurapi tool. All processing runs in the browser.

To scan document to PDF without a scanner, photograph each paper page flat and in good light, open Dokurapi's Photo to PDF tool, choose the photos in page order and press Create PDF. Each photo becomes one A4 page, built inside your browser tab with nothing uploaded. If the PDF is too big for the form, compress the photos first and build it again.

In our test, three phone photos of a three-page paper form made a PDF of 8,584,151 bytes. The same pages compressed to 200 KB each made a PDF of 430,703 bytes, and the text stayed readable. The form and every value on it are synthetic. This guide is about paper documents: how to shoot them, how to keep the pages in order, and how to avoid the one problem that catches people out, a page that lands sideways.

What scanning with a phone actually means

A flatbed scanner lights the page evenly, holds it flat under glass and captures it from straight above. A phone does none of that by itself. When you scan with a phone, you are taking a photo and then fixing what the photo got wrong: the angle, the shadows, the table around the page and the file size. The better the photo, the less there is to fix.

There are two common routes. A scanner app, such as the one built into your phone's notes or file app, takes the photo and corrects it in one go, then saves a PDF. The second route is to take normal photos with the camera and convert them later. That is what Dokurapi's tool does, and it suits you when the photos are already in your gallery, when they come from different places, or when you need to hit a size limit.

The Photo to PDF tool is honest about what it does: according to its code, it places each photo on a portrait A4 page without cropping, straightening or brightening it. So the work of a scanner, removing the table, squaring the page and lighting it evenly, has to happen when you shoot. The next section shows how. If you are converting ordinary photos rather than paper pages, our general photo to PDF guide is the shorter read.

Ready to try it? The tool is free and runs in your browser.

Open the Photo to PDF tool

Set up the shot: light, angle and flat paper

Five habits make a phone photo look like a scan. They take a minute and they decide whether the reviewer can read your form.

  1. Light. Work near a window in daylight and let the light come from the side. Turn the flash off: on glossy paper it leaves a white spot that hides text.
  2. Angle. Hold the phone straight above the page with the screen parallel to the paper. A tilted phone makes the far edge narrower than the near one.
  3. Flat. Unfold creases and hold the corners down with books. Curled paper bends lines of text.
  4. Frame. Fill the frame with the page. A darker surface under white paper makes the edges easy to see when you crop.
  5. Check. Zoom in on the smallest text before you move to the next page.
Diagram of a phone held parallel above a sheet of paper lying flat on a dark surface, with window light from the side, and five tips: light from the side with flash off, phone straight above, paper flat with corners held down, page filling the frame, and zooming in to check the smallest text.
The setup that makes a phone photo behave like a scan. Diagram: Dokurapi, not measured data.

Watch your own shadow. Leaning over the page with a ceiling lamp behind you casts a dark patch across the paper, and a shadow on a form reads like a stain. Step to the side or move the page so the light falls on it from the window side.

Two synthetic phone photos of the same sample registration form side by side. Left: the page is tilted on a wooden desk, with a dark shadow over the lower half and most of the frame showing the desk. Right: the page is flat, evenly lit and fills almost the whole frame.
Left, an angled photo with a shadow: the desk would become part of the PDF page. Right, a flat, evenly lit photo that fills the frame. Both are synthetic test images made for this article.

Step by step: scan a document to PDF with Dokurapi

Once the photos are taken, the conversion takes less than a minute. These steps match the live tool.

  1. Photograph every page as described above, one photo per page.
  2. In your gallery, crop each photo to the edges of the paper and rotate it upright if needed.
  3. Open Photo to PDF and press Choose files. Pick up to 10 photos; JPG, PNG and WebP all work.
  4. Check the order in the list. Each row shows a thumbnail, the file name and the size. Use the up and down arrows to move a page.
  5. Press Create PDF. The file downloads as dokurapi-foto.pdf and the status line shows its size.
  6. Open the PDF and scroll through every page before you upload it.
Screenshot of the Photo to PDF tool with three files in the list, each with a thumbnail: form-page-1.jpg 2.84 MB, form-page-2.jpg 2.89 MB and form-page-3.jpg 2.86 MB, with up and down arrows and a Remove button on each row, and the Create PDF and Clear buttons below.
Three photographed pages, in order, ready to become one PDF. Screenshot of the live tool with synthetic test photos, October 2026.

The photos never leave your device. The tool loads a PDF library into the page and builds the file in the tab, so it also works on a slow connection once the page has loaded. For pages that are already PDFs, such as an emailed letter you want to add to your scans, use Merge PDF after this step.

Several pages: keep them in order

A form scanned in the wrong order is one of the most common reasons a reviewer asks for a file again. The tool keeps the order in which you pick files, and a phone gallery often sorts by time taken, so the simplest habit is to photograph pages in order, from page 1 to the last page, without going back.

If you had to retake page 2 at the end, its photo now sits after page 3. Fix it in the list with the arrows rather than starting over. The thumbnails are small but clear enough to spot a page that is out of place, especially if every page has a printed page number at the bottom. Our guide to checking PDF page order shows how to confirm the order in the finished file.

The tool takes up to 10 photos per PDF. For a longer document, scan it in two parts of up to 10 pages, make two PDFs and join them with Merge PDF. Do the same when part of the document is a scan and part is a digital PDF. Our article on combining images into one PDF covers the 10-photo limit and mixed page shapes in more detail.

When a page comes out sideways

This is the surprise our test found. Some phones save a portrait photo with the pixels lying on their side and add a small note inside the file, the EXIF orientation tag, that says how to turn it. Galleries and browsers read the note: MDN's page on image-orientation explains that browsers rotate images from their EXIF data by default. So the photo looks upright everywhere, including the thumbnail in the tool's list.

The PDF does not follow the note. The tool embeds a JPEG byte for byte, through the open-source pdf-lib library, and the stored pixels lie on their side. We made a test photo, IMG_0001.jpg, with sideways pixels and the tag set to rotate 90 degrees. Its thumbnail was upright, but the page in the downloaded PDF lay on its side, shrunk to fit the width of the A4 page.

Two A4 pages rendered from the downloaded PDFs. Left: the photo of the sample form lies on its side across the middle of the page with white space above and below. Right: the same photo, compressed first, fills the page upright.
Left, IMG_0001.jpg converted directly: the page is sideways. Right, the same photo after the Compress Image tool: upright. Image: Dokurapi, rendered from the PDFs the live tool downloaded.

The fix is easy. Run the photo through Compress Image first. That tool draws the photo on a canvas the way the browser displays it, upright, and saves new pixels. Our sideways photo came out at 1800 by 2400 pixels, portrait, and the PDF built from it was upright and 155,949 bytes. Rotating and saving the photo in your gallery app can also work, but always open the PDF and check.

File size: three photos, 8.58 MB

Phone photos are big. Each of our test photos was 3024 by 4032 pixels, a common 12-megapixel size, and about 2.8 MB. The tool puts a JPEG into the PDF without re-compressing it, so the PDF weighs about the sum of the photos. Our three pages made a PDF of 8,584,151 bytes, too big for a form that allows 1 or 2 MB.

Compressing the photos first solves it. We ran each page through the Compress Image tool with a 200 KB target. The tool aims 6% under the target, caps the longest side at 2400 pixels and lowers quality step by step until the file fits. All three pages landed at 74% quality and 1800 by 2400 pixels, between 138,686 and 149,894 bytes.

Screenshot of the Compress Image tool with form-page-1.jpg of 2.84 MB, target size 200 KB, starting quality 84%, the status Safe target reached. A 6% safety margin was applied, and the result Original 2.84 MB, Output 140 KB, 74% at 1800 by 2400 px.
One page compressed to the 200 KB target: 2.84 MB in, 140 KB out, still 1800 by 2400 pixels. Screenshot of the live tool with a synthetic test photo, October 2026.
Scan document to PDF test: three paper pages, measured in the live tool, October 2026
RoutePage 1Page 2Page 3PDF
Original phone photos2,837,293 B2,886,035 B2,859,121 B8,584,151 B
Compressed to 200 KB first140,429 B149,894 B138,686 B430,703 B

The PDF from compressed pages was 95% smaller, and the form was still sharp: 1800 pixels across an A4 page is about 218 pixels per inch. Pick a target that fits your form, such as the 200 KB preset per page for a 1 MB PDF. If the PDF still does not fit, our guide to files that stay too big covers the next steps.

Screenshot of the Photo to PDF tool with form-page-1-dokurapi.jpg 140 KB, form-page-2-dokurapi.jpg 150 KB and form-page-3-dokurapi.jpg 139 KB in the list and the status Done. 431 KB under the Create PDF button.
The compressed pages made a 431 KB PDF. Live tool, October 2026.
Diagram of two routes: original photos of 2,837,293, 2,886,035 and 2,859,121 bytes make an 8,584,151-byte PDF; the same pages compressed to 200 KB first, 140,429, 149,894 and 138,686 bytes, make a 430,703-byte PDF, 95% smaller.
Compress first, then convert: 8.58 MB against 431 KB. Chart: Dokurapi, from the downloaded files.

Built-in scanners on iPhone and Android

Your phone may already have a scanner. Apple's support page on scanning documents on iPhone or iPad describes the Notes app: open a note, tap the Attachment button, then Scan Documents, and in Auto mode the page is captured by itself. You can drag the corners to fit the page before you tap Keep Scan.

On Android, Google's help page on scanning documents with Google Drive says to tap Camera in the Drive app; a blue line outlines the document where the picture will be cropped, and you can crop, rotate, apply a filter and add pages before saving as PDF or JPG.

These scanners straighten and crop the page for you, which the Dokurapi tool does not. The table helps you choose.

Phone scanner app or photos plus Photo to PDF
SituationBetter choiceWhy
Paper in front of you, scanner app availableBuilt-in scannerIt crops and straightens while you shoot.
Photos already in your gallery or sent by someonePhoto to PDFNo need to reshoot the pages.
The form has a strict size limitCompress photos, then Photo to PDFYou choose the size of every page.
The scanner's PDF is too bigCompress PDFShrinks the finished PDF in the browser.
You do not want to sign in or save to a cloud folderPhoto to PDFFiles stay in the browser tab.

Google Drive saves the scan to your Drive, so it is uploaded to your account by design. That is fine for many people, but worth knowing for a document with personal data.

Checklist before you upload the scan

A scan that looked fine on the phone can still be rejected. Run through these checks on the finished PDF, not on the photos.

  • Every page is there, upright, in order, and readable at 100% zoom, including stamps and small print.
  • No table, fingers or shadow are visible around the paper.
  • The file size is under the form's limit. The PDF size checker shows the exact bytes and the page count, and our guide to checking file size before upload explains KB and MB.
  • The file name is clear. Rename dokurapi-foto.pdf to something like form-registration.pdf if the portal shows names.
  • The form asked for one PDF, not separate images. For submissions with several fields, see our guide to merging PDFs for submissions.

If the portal's notice gives a size or format rule, follow the notice rather than any general advice, including ours. Rules change between intakes, and only the official page is binding. Dokurapi does not promise that a portal will accept a file, it only helps you meet the rule you read.

Is my scan uploaded anywhere?

No. Photo to PDF and Compress Image read your files, process them and save the result inside the browser tab. There is no upload request, and the photos in your gallery are not changed. You can confirm this yourself in the browser's network panel, as shown in our article on how Dokurapi's browser tools work.

That matters more for scans than for most files. A built-in scanner that saves to a cloud folder, or a free website that asks you to upload, keeps a copy somewhere you do not control. With a browser-only tool the only copies are the ones on your own phone or laptop, which you can delete whenever you like.

Paper documents often carry more personal data than people expect: ID numbers, addresses, signatures, family details. Scan only the pages the form asks for, crop away anything else on the desk, and never send a photo of a document to a support chat. If something goes wrong, describe the problem in words. Delete extra copies from your phone once the upload is done.

Frequently asked questions

How do I scan a document to PDF without a scanner?
Photograph each page flat and in good light, crop the photos to the paper, then open Photo to PDF, choose the photos in order and press Create PDF. Each photo becomes one A4 page.
Does the tool crop or straighten my photo?
No. It places the whole photo on a portrait A4 page without cropping, straightening or changing colours. Crop and straighten in your gallery before converting, or use a scanner app.
Why is a page in my PDF sideways when the photo looks upright?
Some phones store the photo sideways with an EXIF note to rotate it. Browsers follow the note, but the JPEG goes into the PDF as stored. Run the photo through Compress Image first, which saves it upright.
How many pages can I scan into one PDF?
Up to 10 photos per PDF. For longer documents, make two PDFs and join them with Merge PDF.
Why is my scanned PDF so big?
Phone photos are large and the tool embeds JPEGs without re-compressing. Our three photos of about 2.8 MB each made an 8.58 MB PDF. Compressed to 200 KB first, they made a 431 KB PDF.
Is text still readable after compressing to 200 KB?
In our test, yes. The pages stayed 1800 by 2400 pixels at 74% quality, about 218 pixels per inch on A4. Always zoom in on the smallest text before uploading.
Should I use the scanner built into my phone instead?
If the paper is in front of you, a built-in scanner such as Notes on iPhone or Google Drive on Android crops and straightens for you. Use Photo to PDF when the photos already exist or you need to control the file size.
Are my scanned documents uploaded to Dokurapi?
No. The PDF is built inside your browser tab and the photos stay on your device.

Sources

  1. Apple Support: How to scan documents on your iPhone or iPad
  2. Google Drive Help: Scan documents with Google Drive (Android)
  3. MDN: image-orientation CSS property
  4. pdf-lib: create and modify PDF documents in JavaScript

Need help?Result not quite right, or unsure about a form rule? Ask Dokurapi support on WhatsApp. Please do not send personal documents in chat.

Chat on WhatsApp

Related articles

Try Dokurapi for Free

No account needed. Pick a tool, drop in a file, and download the result, free.