How to convert JPG to PDF
- Add your photos: click the box above or drag files onto it. You can add more later; new photos go to the end of the list.
- Pick a page size: US Letter or A4 puts every photo on a standard sheet with the orientation and margin you choose. Fit to image makes each page exactly the shape of its photo.
- Set the order: move photos with the up and down arrows, or press Sort by name. Remove a photo with the ✕ button.
- Download: press Create and download PDF. Photos are placed one per page, from the top of the list down.
Nothing is uploaded at any step. Reading the images, building the PDF and saving it all happen inside your browser, so the tool also works for private documents such as ID scans or medical receipts.
Page size and margins
| Setting | Page size | How the photo is placed |
|---|---|---|
| US Letter | 8.5 × 11 in (216 × 279 mm), turned sideways for landscape | Keeps its proportions, scaled to fill the area inside the margins, centered |
| A4 | 210 × 297 mm (8.27 × 11.69 in), turned sideways for landscape | |
| Fit to image | Each pixel counts as 1/96 inch, so a photo 1920 pixels wide gives a page 20 inches wide | Fills the whole page, no margin |
US Letter is the standard paper size in the United States and Canada; most other countries use A4. If you will print the PDF, pick the size of the paper in your printer. If it will only be read on screen, either works.
Margins are the same on all four sides: 0.25 inch for Narrow and 0.5 inch for Normal. On Letter and A4 pages, small photos are enlarged to fill the printable area, so low-resolution images may look soft when printed.
Photo order and orientation
Photos appear in the PDF in the order of the list. Sort by name compares numbers by value, so scan2.jpg comes before scan10.jpg instead of after it.
Phone cameras often save a photo sideways and add a note telling viewers how to rotate it. The tool reads that note and turns the photo upright before placing it. If the preview in the list looks upright, the page in the PDF will be upright too.
What happens to image quality
JPG and PNG files are placed into the PDF exactly as they are, without being compressed again. The quality stays the same, and the PDF is roughly as large as all the photos added together.
Two kinds of images are redrawn first: JPG photos that carry a rotation note, and formats a PDF cannot hold directly, such as WebP, GIF or HEIC. These are drawn upright in the browser and saved as JPG at 92% quality. The difference is usually hard to see, but the file size can change slightly. Transparent areas are filled with white.
The PDF is built with the open-source library pdf-lib (MIT license).
Examples
- Receipts for an expense report: add five receipt photos from your phone, choose US Letter, Auto and Narrow, and you get one five-page PDF ready to attach.
- Homework pages for an online class: photograph each worksheet, sort the photos by name, and submit a single file instead of separate images.
- Photo handouts: choose A4 or Letter with a Normal margin so each picture prints with a white border around it.
- Front and back of a card: add both sides and choose Fit to image for a two-page PDF with no white space around the photos.
Frequently asked questions
- Are my photos uploaded to a server?
- No. Your photos are read and turned into a PDF inside your browser. The only download is the PDF library (pdf-lib) from a public CDN the first time you create a file; your photos are not sent anywhere. Closing the page clears them.
- Can I use HEIC photos from an iPhone?
- Only if your browser can open HEIC. Safari on iPhone and Mac can, so it works there. In browsers that cannot, the photo is marked "Can't open in this browser" and left out. iPhones often convert photos to JPG automatically when you pick them for a website, so this is less of a problem than it sounds.
- How many photos can I add?
- There is no set limit. Everything is held in your device's memory, though, so a very large batch, or a total of several hundred megabytes, may be slow on a phone. The tool shows a warning above 200 MB.
- The PDF is too large. Can I make it smaller?
- Because JPG and PNG files are not compressed again, the PDF is about the same size as the original photos combined. To get a smaller file, reduce the photos first with an image resizer, then create the PDF.
- Can I convert photos taken by someone else?
- This tool only puts images into a PDF. Please make sure you have the right to copy and share the images you use.
Last updated