What is this calculator for?
Your contractor sends you the signed agreement as three iPhone photos. The mortgage broker wants a single PDF, not three JPGs. You photograph all four corners of a damaged shipping package and your insurance claim form needs them combined into one file. You scan a stack of receipts with your phone's camera app and want them stored as one PDF instead of dozens of loose images. Whatever the trigger, converting photos to a PDF is one of those small workflows that lives entirely in the gap between "I have what I need" and "I have what the other person wants."
This tool combines as many JPG and PNG images as you upload into a single PDF, in the order you choose, on the page size you pick. It runs entirely in your browser using pdf-lib. Each image becomes one page; pdf-lib embeds the original JPG or PNG bytes directly without re-encoding, so the photo in the PDF is exactly as sharp as the photo on your disk. You can reorder pages, switch between US Letter and A4 paper sizes, and toggle portrait or landscape orientation before generating the output.
The local-processing detail matters. Many people are happy to upload vacation photos to a third-party converter — but you probably don't want to upload photos of your driver's license, signed contracts, medical paperwork, or financial documents to whatever site Google ranked first for "image to pdf." Browser-side conversion sidesteps that question entirely. The images load into your tab's memory, pdf-lib builds the PDF locally, you download it. Disk → browser → disk, no network steps in between.
How to use this calculator
Step 1: pick your images. Click the upload area and select your JPG or PNG files. You can pick multiple in one shot, or upload in batches if the images live in different folders. Each uploaded image appears as a thumbnail in a numbered grid — the number tells you which page that image will become.
Step 2: reorder if needed. The images usually upload in the order your operating system sorted them, which may or may not match the order you actually want. Each thumbnail has an up arrow, a down arrow, and an × button. Drag-equivalent without the dragging: tap the arrows until the order matches what you want.
Step 3: pick page size and orientation. US Letter (8.5 × 11 in) is the default — that's what banks, government forms, and most US office documents expect. A4 (210 × 297 mm) is the international standard. Pick orientation based on the shape of your images: tall portrait photos go on portrait pages; wide landscape photos go on landscape pages. Mixed orientations are fine — the tool centers each image on the page with a 0.5-inch margin and scales it down if needed, so wide photos on a portrait page just appear smaller.
Step 4: create and download. Click the create button. pdf-lib embeds each image into a new page, sized to fit within the page margins while preserving the original aspect ratio. The download button appears with the size of the output PDF. Click and save.
Understanding your results
The output PDF has one page per uploaded image, in the order shown in the grid. Images are embedded at their original resolution — pdf-lib doesn't re-encode JPGs or PNGs, so a 4000×3000 photo stays at 4000×3000 inside the PDF. The page itself is rendered at the chosen size (Letter or A4) and the image is scaled to fit within a 0.5-inch margin while preserving aspect ratio. Tall images on portrait pages fill most of the page; wide images on portrait pages appear smaller, centered horizontally.
File size depends on what you started with. JPGs embed byte-for-byte: ten 2 MB JPGs produce a roughly 20 MB PDF, plus a small per-page overhead. PNGs are also embedded losslessly, so a stack of large PNGs (especially screenshots with a lot of solid color) can produce a larger PDF than equivalent JPGs would. If output size matters, convert PNGs to JPG before uploading (a 90-quality JPG is visually identical to most PNGs for photographic content and is 5-10× smaller). If you've already produced the PDF and want to shrink it, run it through the PDF Compress tool — though for image-heavy PDFs, savings will be modest because the per-image data is already what's taking up the space.
Image quality in the PDF is identical to your source. JPGs do not get re-compressed (which would lose quality each time); PNGs stay lossless. The PDF's apparent quality when viewed depends on the viewer's zoom level and the image's native resolution — a 4000×3000 photo rendered at full page on Letter paper (about 7.5 × 10 inches at 0.5-inch margins) shows at roughly 400 DPI, which is well above print quality. A 1000×750 photo on the same page shows at about 100 DPI, which is fine for screen viewing but might look soft when printed.
What the tool can't do: HEIC (Apple's modern iPhone format), WebP, GIF, TIFF, BMP — pdf-lib only handles JPG and PNG natively. If your photos are HEIC, change your iPhone setting under Settings → Camera → Formats → Most Compatible to start saving as JPG, or convert existing HEIC files using your operating system's built-in tools (macOS Preview can export HEIC to JPG; Windows Photos can do the same). For WebP and other formats, convert to JPG first using any image editor.
A worked example
James is a freelance handyman. A client asks him to invoice for a recent repair job. The client's bookkeeping software requires the invoice to be a PDF, and James also wants to attach before/after photos to support the line items. He has the photos on his phone — five JPGs, varying orientations (two portrait shots of the broken hardware, three landscape shots of the finished work).
He opens the image-to-PDF tool on his phone browser. Taps to upload, selects all five photos from his camera roll, and they appear as numbered thumbnails. The order from the camera roll is reverse-chronological (newest first) — but he wants the photos in actual chronological order, before → during → after. He taps the up and down arrows to reorder: broken hardware first, mid-repair second, finished work third. Page size: US Letter (he's in Phoenix). Orientation: portrait, since most of his photos are oriented that way and the landscape ones will appear centered and slightly smaller on portrait pages.
He taps Create PDF. About four seconds later, the download button appears showing 12.4 MB. He downloads images.pdf, renames it to Repair-photos-Mar-15.pdf in his Files app, and attaches it to his invoice email along with the actual invoice PDF. The client opens both attachments without trouble; the photos display sharply because the JPGs are embedded at full resolution.
Variation: Layla is filing an insurance claim after a kitchen flood. The claim form has a single "supporting documentation" upload slot that takes one PDF. She has 23 photos — different angles of the damage, the source of the leak, receipts for emergency cleanup services, photos of the affected appliances. She uploads all 23 to the image-to-PDF tool, reorders them so all the "scene of damage" photos come first, then the appliance close-ups, then the receipt photos. She picks US Letter portrait and creates the PDF. Result: a 31 MB combined PDF that meets the insurance company's "one file, supporting photos and receipts" requirement. She uploads it to the claim portal and the adjuster acknowledges receipt the same afternoon. Total time at the tool: under three minutes.
Variation: Theo is putting together a portfolio for a photography job application. He has 15 high-resolution JPGs (each about 6 MB, so ~4000-pixel-wide originals). The agency wants a single PDF portfolio, A4 landscape. He uploads the JPGs, reorders them by quality (his strongest shots first), picks A4 + landscape, and generates a 92 MB PDF that displays each photo full-bleed. Quality is excellent because the JPGs are embedded at full resolution — exactly the same image data on disk, just wrapped in PDF page containers. He sends the file via WeTransfer (his email service rejects attachments over 25 MB), and the agency's art director responds the next morning.
Related resources
To combine multiple image-PDFs into a single document with other PDFs, see PDF Merge. To pull specific images back out of a PDF as individual pages, the PDF Split tool handles that with per-page mode. To shrink the resulting PDF if it's too large for your email service, the PDF Compress tool re-saves with optimized object streams. For the underlying image-embedding details, see the pdf-lib embedJpg / embedPng documentation.