How to use
- Drop your JPG files onto the box, or choose them. You can add up to 100.
- Put them in order with the arrows. Choose A4, Letter or the size of each photo, the orientation and the margin.
- Press Create PDF. The file downloads with one photo on each page.
Examples
Three JPG photos, A4
→ A PDF with 3 pages
A 1600×900 photo, A4, orientation automatic, margin 0
→ A landscape A4 page (841.89 × 595.28 points) with the photo filling its widthA wide photo gets a wide page. The photo is 473.56 points tall, so a band of about 61 points is left above and below it.
A 900×1600 photo, A4, margin 36 points
→ A portrait A4 page with the photo 433 points wide and 770 points tall, centeredThe photo is made as large as fits inside the margins, with its shape kept.
A 960×720 photo, page size: the size of each photo, margin 0
→ A page of 720 × 540 points, which is 10 × 7.5 inchesPixels become points at 96 to the inch. A margin of 36 points would make the page 792 × 612.
A margin of 500 points
→ Treated as 144 points, two inchesThe margin is limited to 144 points on each side.
A phone photo that is stored sideways with a rotation note
→ The photo stands upright in the PDFThe tool reads the rotation note and turns the picture before it is placed.
How it works
This page is the image to PDF tool with JPG files chosen. The open-source pdf-lib library, in its maintained @cantoo fork, writes the PDF with one page for each photo, in the order of your list.
How a photo is placed
| Choice | Result |
|---|---|
| Page size A4 or Letter | The page is 595.28 × 841.89 or 612 × 792 points, turned sideways for a landscape page |
| Page size: the size of each photo | The page is the photo’s pixels times 0.75, which is 96 pixels to the inch, plus the margin on every side |
| Orientation automatic | Landscape for a photo wider than tall, portrait for the others |
| Margin | 0 to 144 points on every side; a larger value counts as 144 |
On a fixed page the photo is centered and made as large as fits inside the margins, with its shape kept, so a photo that does not match the page leaves empty bands on two sides.
Why nothing is lost
A JPG is embedded as its own data, so the PDF holds the very same bytes. Only a photo that carries a rotation note is redrawn first, so that it stands upright, and it is redrawn as a JPG. Any other kind of picture is handled by the image to PDF tool, which keeps it lossless.
The page layouts above, the byte-for-byte embedding and the page count are tested; the PDF is opened again to check them.
Sources
Frequently asked questions
- Does the PDF lose quality?
- No. A JPG goes into the PDF exactly as it is, byte for byte and without being compressed again, so the quality is the same as the original. The PDF is about as large as the photos together.
- What happens to a photo with a rotation note?
- It is turned upright and redrawn, and it stays a JPG, so the PDF stays small. Only such a photo is redrawn; a photo that is already upright is put in untouched.
- What do the page size choices mean?
- A4 is 595.28 × 841.89 points and Letter is 612 × 792 points (72 points make an inch). The size of each photo makes every page exactly as big as its photo, plus the margins.
- What does automatic orientation do?
- A photo that is wider than tall gets a landscape page, and any other photo gets a portrait page. You can also force portrait or landscape for all pages.
- How do I turn phone photos into a PDF?
- Choose the photos from your gallery with the file box, put them in order, and press Create PDF. The PDF is saved to your phone's downloads. Nothing is sent to a server.
- How do I make the PDF smaller?
- Shrink the photos before you add them. The image compressor or the image resizer on this site makes JPG files smaller, and a smaller photo gives a smaller PDF.
- Can I mix JPG with other pictures?
- Yes. The image to PDF tool takes JPG, PNG, WebP, GIF, BMP, AVIF and iPhone HEIC photos together.
- Is there a limit?
- Up to 100 photos at a time, each up to 50 million pixels.
- Are my photos uploaded?
- No. The PDF is built in your browser and downloaded directly.
Related tools
Version history
- 1.0.2 — Adds how a photo is placed on the page (sizes, orientation, margins and the 144-point limit), why the JPG is not recompressed, and examples with the exact page sizes.
- 1.0.1 — Makes the search title and description state the supported task, key formats and privacy benefit more clearly.
- 1.0.0 — First release.