Image to PDF
Combine multiple photos into a single PDF — for receipts, assignments, document submissions, and digital archiving.
Your images never leave your browser. All processing happens locally on your device.
[ AdSense — PDF Tools ]
Common use cases
| Situation | Recommended options |
|---|---|
| Bundle receipts | A4 + auto orientation + 10mm margin. Compress photos to JPG first |
| Whiteboard / lecture captures | A4 + landscape + 5mm margin. Run OCR afterwards if you need text |
| Resume attachments (portfolio photos) | A4 + auto + 15mm margin |
| Digital archive of scans | Original size + 0 margin — preserves pixel-perfect quality |
| Travel docs (tickets, vouchers) | A4 + auto + 10mm margin |
Related tools
Why are PNG-derived PDFs bigger than JPG-derived?
JPG is a lossy format, so photo data compresses very efficiently. PNG is lossless, often 5-10x larger for the same photo. This tool embeds JPG as-is and embeds PNG with its native PNG compression. For non-text photos, convert to JPG first to shrink the PDF.
Is EXIF rotation respected?
Currently, the pixel data the browser decodes is what goes into the PDF. Some phone cameras encode rotation only in EXIF metadata while keeping pixels unrotated, which can make images appear sideways. If you see this, rotate-and-save in your photo app first, then re-upload.
Tips for large workloads
(1) Resize images down to ~1500-2000px wide. (2) Convert to JPG. (3) Then build the PDF. The output will be much smaller. On mobile, 30+ images may run out of memory — desktop is recommended.
About the pdf-lib library
pdf-lib (Andrew Dillon, MIT) — same library used for PDF Merge, Split, and Image to PDF. Vendored locally; no external CDN dependency.
Frequently asked questions
Are my images uploaded to a server?
No. PDF generation runs entirely in the pdf-lib library inside your browser. Even the site operator cannot see the contents.
Safe for IDs, contracts, and other sensitive material.
Which image formats are supported?
JPG and PNG are embedded directly. WebP, GIF, and BMP are auto-converted to PNG first, then embedded.
All common image formats work; JPG is the most space-efficient inside a PDF.
Can I change the order of images?
Yes. Use the up and down arrows in the image list. Pages are generated top-to-bottom in that order.
Remove unwanted images with the X button.
How is the page size determined?
A4, Letter, or original size. A4 and Letter scale images to fit the standard page (preserving aspect ratio) and center them.
'Original size' makes each PDF page match the image pixel dimensions — ideal for digital archiving.
How many images can I include in one PDF?
No hard limit, but it depends on browser memory. Desktop Chrome handles 50-100 images comfortably (assuming ~1-2MB each).
Mobile is best kept to 20-30. For very large photos, compress them first to keep generation fast and reliable.
The PDF is too big — can I shrink it?
JPG produces smaller PDFs than PNG. If your originals are PNG, convert them to JPG with an image compressor first, then build the PDF.
Resizing to about 1500-2000px wide also shrinks the result significantly.
References
Last reviewed: 2026-05-05 / Powered by pdf-lib (MIT).
- pdf-lib (MIT) — GitHub
- PDF specification — ISO 32000-1 / ISO 32000-2
- JPEG (ITU-T T.81) / PNG (ISO/IEC 15948) standards
⚠️ After conversion, download the PDF and open it in a viewer to verify page order and contents.