JPG to PDF
Combine one JPG or a hundred into a single PDF, in the order you choose, without the photos leaving your browser.
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
- 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.
- 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.
- 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.
- 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.
- 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?
Does converting lose any quality?
Why is the page so big when I try to print it?
Some of my photos came out sideways.
Can I add PNG or HEIC files too?
Will the text in my photos be searchable?
Can I get one PDF per image instead?
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.