basetools
PDF

Build a PDF from photos or images

Controls page order, paper size, and margins — built for pages photographed with a phone, not for PDFs that already exist.

Drag one or more images here, or click to choose

JPG, PNG, WebP, GIF, BMP, or AVIF, up to 25 MB each

Page size

Very large images significantly increase the final PDF size. If the result is too heavy, consider shrinking each image first with reduce image size.

Local processing: your file never leaves your computer.

  • Does:Controls page order, paper size, and margins — built for pages photographed with a phone, not for PDFs that already exist.
  • Processes:Your PDF is processed entirely in your browser — nothing is uploaded to a server.
  • Doesn't do:Every image is re-encoded as JPG internally before going into the PDF, including ones that were already JPG — that's what lets the quality setting control the final file size.

Why several images become a "single file" problem

A lot of places that accept a file upload ask for exactly one: an attachment field that doesn't allow multiple selection, a form with a single upload slot, an email where attaching five separate photos gets messy fast. When what you actually have is a set of images — a batch of photos to submit as one document, pages of something photographed with a phone, a set of images that only really makes sense filed together — the most direct fix is to combine everything into a single file before sending it, and PDF is the format almost any system accepts for that.

Doing that combination usually means opening a full PDF editor or installing an app just for this one task. This tool does only that part: it takes the images, lets you decide the order and a few page options, and hands back a finished PDF — nothing to install, and no account or sign-up of any kind required before you can use it.

How the PDF gets built

Each uploaded image becomes one page of the final document, in the order it appears in the list. The whole process happens in your browser, using a library (pdf-lib) that assembles the PDF from the already-processed images: every image is first re-encoded as JPG — even ones that were already JPG — because that's what lets the chosen compression quality control the final document size predictably, regardless of each image's original format.

Pages are assembled one at a time, with a progress bar showing which page is currently being built and a button to cancel. If a specific image can't be processed, it's flagged in the result and the rest continue normally — the final PDF comes out missing just that one page, instead of failing outright.

Page order

Page order is this tool's most important control, since it's what separates an organized document from a pile of loose images. Every uploaded image shows up as a numbered thumbnail, and its position can be adjusted two ways: dragging the thumbnail to where you want it, or using the up/down buttons on each one. The buttons exist because dragging alone isn't reliable — it doesn't work from a keyboard, and it tends to be imprecise on a phone screen. You can also remove an image from the list without affecting the order of the rest.

Page size, orientation, and margin

Three options control how each page looks. Size can be A4, Letter, or "fit to image" — in that last case, each page is sized to match its own image instead of a standard paper size. Orientation can be automatic (decided by each image's aspect ratio, portrait or landscape), or locked to portrait or landscape for the whole document. Margin ranges from none to medium; in every combination, the image is always fit entirely inside the page, never cropped or stretched — if the image's proportions don't exactly match the page's, empty space is left around it, centered.

Quality and final file size

The quality control (1 to 100, default 85) directly affects how much each image weighs inside the PDF — higher values keep more detail and produce a larger file, lower values compress more. But the factor that usually matters most for final size is the resolution of the source images: very large photos, even at reduced quality, still produce a heavy PDF. If the result is bigger than expected, it's worth shrinking each image first with this site's reduce-image-size tool, and only then assembling the PDF.

What this tool doesn't do

It doesn't recognize the text that appears inside the images: the generated PDF has each page as an image, not as selectable or searchable text — even if the image is a photo of a page full of text. It also doesn't edit a PDF that already exists: it only creates a new document from images. And it doesn't compress or shrink an existing PDF — if that's your actual problem, this tool simply isn't the right one for it. In both of those cases, look for a tool built specifically for that job instead of trying to force this one to do something it was never designed for.

Frequently asked questions

A system only accepts one file, but I have several images to submit. Does this help?

Yes. Upload all the images, put them in the order you want, and generate a single PDF — exactly the case for an upload system, form, or email that only accepts one attachment, but the content is made up of several photos or photographed pages.

Can I build a document from pages I photographed with my phone?

Yes, that's one of the most common uses: a set of pages photographed in sequence becomes a single PDF, in the right order. Keep in mind the tool doesn't recognize the text inside the images — the generated PDF has the pages as images, not as selectable or searchable text.

How do I choose the order of the pages?

Each uploaded image shows up as a numbered thumbnail. You can drag a thumbnail to a different position, or use the up/down buttons on each one — the buttons exist because dragging alone doesn't work well on a phone or with a keyboard.

Why did the PDF come out much bigger or smaller than I expected?

Final size depends on three things: the size of each original image, the compression quality you picked (1 to 100), and the page size you selected. Very large images stay heavy even at reduced quality — in that case, it's worth shrinking each image first with this site's reduce-image-size tool.

Does this tool edit or compress a PDF I already have?

No. It only creates a new PDF from images — it doesn't open, edit, or recompress an existing PDF. If what you need is to shrink a PDF that already exists, this isn't the right tool for that.

Related tools