How to use this tool
- Drop one or more images, or use the file picker. Reorder the list so the first picture is page 1.
- Choose a page size. “Fit to image” makes each page the same shape as that picture, at 72, 150 or 300 DPI. A4, Letter and 4 × 6 inches centre the picture on a fixed page, with an optional margin.
- Press Create PDF, check the reported size, and download images.pdf.
How the pages are built
JPG and PNG bytes are embedded with pdf-lib, so a photograph is not re-encoded unless the file is in another format. WebP (and anything else the browser can paint) is drawn onto a white canvas and stored as PNG first. Each image becomes exactly one page. On a fixed page size the image is scaled uniformly to fit, never stretched. The optional margin is measured in PDF points (72 points = 1 inch).
If you already needed a passport-style crop or a 20 KB / 50 KB file, do that first in the photo tools, then bring the downloaded JPG here. This page does not crop faces or enforce a kilobyte cap on the finished PDF.
Worked example
You have two receipt photos, each about 3000 × 4000 pixels. Add them in date order, leave the page size on “Fit to image” at 150 DPI, and create the PDF. Each page will be 20 × 26.67 inches at that DPI — large, but faithful. If you would rather attach an A4 document, switch the page size to A4, set a 36-point margin if you want a half-inch border, and build again. The automated tests convert a small PNG into a one-page PDF and check that the download is a readable PDF with one page.
Limitations
- Up to 25 images, each 40 MB or smaller.
- Transparency in a PNG is kept when the file is embedded as PNG; rasterised formats are flattened onto white.
- Some iPhone HEIC photos will not decode until you export a JPG.
- EXIF camera metadata is not copied into the PDF.
Frequently asked questions
Which image types can I use?
JPG and PNG are embedded directly. WebP and other formats your browser can display are drawn to a canvas and stored as PNG first. HEIC from some iPhones opens only if the browser can decode it; if it fails, convert to JPG in your photos app first.
Will the pictures be stretched?
No. On a fixed page size (A4, Letter, 4 × 6 in) each image is scaled to fit inside the page, plus the margin you set, and centred. On “Fit to image” the page is made the same shape as the picture, at the DPI you choose.
What does the DPI setting do?
Only when the page size is “Fit to image”. A 1200 × 1800 pixel photo at 150 DPI becomes an 8 × 12 inch page (1200/150 by 1800/150). At 300 DPI the same photo becomes a 4 × 6 inch page. It does not resample the photograph.
Do you upload my photos?
No. Images are read into this tab and written into a PDF on your device. After the page and the local pdf-lib script have loaded, the tool can finish offline.
Can I rearrange the pages?
Yes. Use Up and Down in the list so the first image becomes page 1, and so on, before you build the PDF.
Should I compress the photo first?
If an upload form also has a kilobyte cap on the finished PDF, start with the photo compressor under /tools/photo/compress-image-to-kb/, then convert the smaller JPG here. This page does not try to guess a file-size target for the PDF.