JPG to PDF

Photos and scans into one document, with the page size and margins you choose. Assembled on your device, never uploaded.

  • 0 uploads
  • No limits
  • No signup
  • Works offline

What it is for

Almost every official process that accepts documents online wants PDF. Almost every document people actually have is a photo taken with a phone. This page closes that gap.

The common cases:

  • Photographed documents for an application. Passport pages, certificates, proof of address.
  • Receipts for an expense claim. A dozen photos, one document, in date order.
  • Homework and coursework. Handwritten pages photographed and submitted as a single file.
  • A contract signed on paper and photographed rather than scanned.

Page size, margins and fit

The three settings interact, and it is worth a sentence each.

Page size sets the paper. A4 (210 × 297 mm) is the international standard; Letter (8.5 × 11 in) is North American. Both are safe defaults for anything that will be printed or fed to a form validator. “Fit the image” instead makes each page exactly as large as the photo on it, which produces a tidy image album but a document that prints unpredictably.

Margin is the white border, in millimetres. Ten is a reasonable default that survives most printers’ unprintable edge. Zero is right if you want the photo to bleed to the paper edge, though consumer printers will still clip it.

Orientation follows each image by default — a landscape photo gets a landscape page — which usually gives the largest possible picture. Force portrait or landscape if the document needs consistent pages.

The size problem, and how to avoid it

A 12-megapixel photo from a modern phone is somewhere between 3 and 6 MB. Twelve of them is a 50 MB PDF, and a great many upload forms cap attachments at 5 or 10 MB.

The fix is to compress before assembling, not after. Compressing a finished PDF means re-rendering every page, which loses text sharpness. Compressing the source photos means each one gets a proper encode at the resolution it actually needs.

A practical recipe: run the photos through the compressor with a 300–500 KB target, then build the PDF from those. A twelve-page document lands around 4 MB and still looks completely legible on screen and in print.

A note on scanned text

If you photograph a page of text and turn it into a PDF, you get a picture of text — not text. It cannot be searched, selected or copied, and a screen reader cannot read it aloud.

Making it real text requires OCR, which is a different job from what this tool does. We would rather be honest about that than quietly produce a file that looks searchable and is not. If you need selectable text, use a scanning app with OCR built in.

How it works

  1. 01Add your imagesJPG, PNG, WebP and HEIC all work. Drop a folder if the pages are already named in order.
  2. 02Order the pagesUse ↑ and ↓ on each row. The list order is the page order.
  3. 03Set page size and marginA4 and Letter are the usual answers. “Fit the image” makes each page exactly the size of its photo, with no white border.
  4. 04Download the PDFOne file, built by pdf-lib inside this tab.

Questions people actually ask

Which image formats can I use?
JPG, PNG, WebP and HEIC. PDF itself only embeds JPEG and PNG natively, so WebP and HEIC are decoded and re-encoded as high-quality JPEG first — this happens on your device, in a background thread.
Should I choose A4, Letter, or “fit the image”?
A4 for anywhere outside North America, Letter inside it — choose these when the PDF will be printed or submitted to a form expecting standard paper. Choose “fit the image” when the PDF is really just a container for pictures and you do not want white borders.
Does it reduce the image quality?
JPG and PNG sources are embedded byte-for-byte, so there is no re-encoding at all. WebP and HEIC are converted once at quality 92, which is visually lossless. If you want smaller output, compress the images first and then build the PDF.
Why is my PDF so large?
Because a modern phone photo is 3–6 MB and ten of them is a 40 MB document. Run the images through the compressor first — even a 200 KB target usually looks fine on a page — and the PDF shrinks proportionally.
Can I add more images later?
Add them to the list before merging, or build a second PDF and combine the two with Merge PDF. The result screen hands the file straight over.
Is anything uploaded?
No. Both the image decoding and the PDF assembly run inside your browser tab. The counter in the page header measures binary data sent by the page and stays at zero throughout.