JPG to PDF

Combine one JPG or a hundred into a single PDF, in the order you choose, without the photos leaving your browser.

Runs on your devicePDFWorkingNo account needed

What this tool does

JPG to PDF assembles a document with pdf-lib and gives every photo a page of its own. The JPEG data goes in byte for byte — the original stream is embedded rather than decoded and re-encoded — so the pictures inside the PDF are the pictures you started with, at the same quality, with no second round of compression laid over the first.

That has a consequence worth knowing before you start. The finished PDF is roughly as heavy as the photos that went into it, plus a little structure: this is a container, not a compressor. Forty phone snaps of four megabytes each produce a document of around a hundred and sixty megabytes. If that is too much, shrink the images with Image Compressor beforehand, or run Compress PDF on the result.

Page size defaults to Fit the page to each image, which sizes every sheet to the picture's own pixel dimensions — one image pixel becomes one PDF point, and any margin you set is added outside that, so a 400 by 300 photo with a 10 mm margin lands on a 457 by 357 point page. Nothing is scaled, which reads well on screen, but a 4000 by 3000 photo becomes a page roughly 1411 by 1058 millimetres, which no printer will take. Choosing A4, US Letter, A3 or A5 instead scales each image to fit inside the sheet, keeps its aspect ratio, centres it, and fills what is left with the background colour.

The whole conversion runs in this browser tab, so the photos are read from disk into memory and nothing is transmitted. The honest limit is rotation: the embedded JPEG carries its pixels exactly as stored, and the EXIF Orientation tag that phone galleries quietly obey is not applied. A picture that looks upright in your camera roll but was captured sideways will sit sideways in the PDF — straighten it with Rotate Image first, or correct the finished document with Rotate PDF.

How to use it

  1. Add the JPGs. The picker takes .jpg and .jpeg files, as many at once as you like. Every image you add becomes one page of one document.
  2. Decide which photo comes first. Leave Image order on As added, or switch to File name A → Z, which compares numbers as numbers, so IMG_2 lands before IMG_10 rather than after it.
  3. Choose the page size and orientation. Fit matches each page to its image. A4, US Letter, A3 and A5 scale instead, and Match each image turns a portrait sheet landscape whenever the photo is wider than it is tall.
  4. Add a margin and pick the background. The margin is in millimetres and applies to all four edges. The background colour, white unless you change it, shows in that margin and in any band the image does not reach.
  5. Name the file and save. Left blank, a single photo keeps its own name with a .pdf extension and several become something like holiday-and-4-more.pdf. A missing .pdf is appended for you.

Processing & privacy

Runs on your device. Your file is processed directly in this browser.

Common use cases

Sending photographed paperwork

A receipt, a signed form and an ID card shot on a desk arrive as one document rather than six attachments that have to be opened in the right order.

Handing over a set of scans

A flatbed that saves one JPG per sheet leaves you a folder of files. Sorting by file name A → Z reassembles them in the order they came off the glass.

Submitting to a portal that only takes PDFs

Claims systems, visa applications and expense tools routinely refuse images and accept documents. This is the jpeg to pdf step that gets them through.

Printing a batch of photos

A4 with a 10 mm margin centres every picture on ordinary paper rather than giving each one a page the size of its own pixel grid. Set Orientation to Portrait when the whole run should face the same way — Match each image, the default, turns wide photos onto a landscape sheet.

Questions

Do the photos ever leave this computer?
No. The document is assembled in this browser tab with pdf-lib, which this site serves itself. The images are read from disk into memory, and nothing about them is transmitted, logged or stored.
Does converting lose any quality?
No. The JPEG stream is copied into the PDF as it stands rather than decoded and re-saved, so there is no second generation of compression. The trade-off is weight: the PDF ends up about as large as the photos were.
Why is the page so big when I try to print it?
Fit the page to each image maps one image pixel to one PDF point, so a high-resolution photo produces a page far larger than any paper size. Pick A4, US Letter, A3 or A5 and each image is scaled to fit the sheet instead.
Some of my photos came out sideways.
The EXIF Orientation tag is not applied here — the JPEG is embedded exactly as stored, and the tag your phone's gallery honours is ignored. Rotate the originals with Rotate Image first, or fix the finished file with Rotate PDF.
Can I add PNG or HEIC files too?
The file dialogue is filtered to JPEG, but the filter stops at the dialogue: a PNG dragged onto the drop zone is accepted and embedded losslessly, because this tool, PNG to PDF and Image to PDF all run the same converter behind a narrower picker. HEIC is the genuine exception — it is refused by name with a message pointing at the HEIC Converter, since no browser can decode it.
Will the text in my photos be searchable?
No. Each page holds a picture, not characters, so nothing on it can be selected, searched or copied. PDF OCR reads a photographed page and adds a text layer over the image when you need that.
Can I get one PDF per image instead?
Not from this tool — everything you add goes into a single document. Convert the images one at a time for separate files, or split the finished PDF with Split PDF.

Related tools

  • Merge PDF — Combine several PDFs into one document in the order you choose.
  • Split PDF — Split one PDF into separate documents by page range.
  • Compress PDF — Reduce PDF file size while preserving the quality that matters.
  • PDF to JPG — Export every page of a PDF as a JPG image.
  • Protect PDF — Add a password and set permissions on a PDF.
  • Sign PDF — Draw, type or upload a signature and place it on the page.