Processing…

HCODX/Image to PDF
Local-only · No upload · No watermark

Image to PDF

Combine JPG, PNG, WebP, and HEIC images into one PDF — entirely in your browser. Drag to reorder, choose page size and margins. Powered by pdf-lib; files never leave your device.

Drop images here

Or click to choose. JPG, PNG, WebP, and HEIC. Up to 100 files.

Choose images
PDF options
Page size
Orientation
Margin (mm)
Output filename
PDF title
Author
Images
0
Total size
0 B
Est. pages
0
Use cases

What you'll use this for

Expense receipts

Snap a stack of receipts and submit them as one tidy PDF.

Scanned documents

Turn pages of a scanned book or contract into a multi-page PDF.

Coursework

Bundle photos of handwritten notes or homework for an upload form.

Photo portfolio

Ship a quick photo portfolio without learning a design tool.

Step by step

How to convert images to PDF

1

Add your images

Drag and drop, or click to choose. JPG, PNG, WebP, and HEIC are all accepted.

2

Drag to reorder

Each thumbnail can be reordered or removed. The order in the list is the page order in the PDF.

3

Pick page size and margins

A4, US Letter, US Legal, A3, A5 — or fit each page to its image. Margin in mm.

4

Click Build PDF

A single PDF is generated locally and offered for download. No upload, no watermark.

FAQ

Frequently asked questions

No. Everything happens in your browser with pdf-lib. Image bytes never leave your device.

Yes. HEIC files are decoded with libheif WebAssembly and re-encoded as JPG before being embedded in the PDF.

Up to 100 per batch. Memory limits depend on your device — a phone will handle fewer large photos than a desktop.

JPEG images are embedded as-is (no re-encode). PNG and WebP are converted to JPEG at high quality to keep PDFs reasonably small.

No. EXIF is stripped during conversion. Use our EXIF Viewer first if you want to inspect what was on the original.

About

About image-to-PDF

Generating a PDF from images is a two-step process: decode each image to raw pixels, then embed it into a PDF page that’s sized correctly for print. pdf-lib handles the embedding side, and the browser’s Image + canvas APIs take care of decoding and any re-encoding required.

Page sizing

  • A4 / Letter / Legal / A3 / A5 — fixed page sizes; each image is centered with the chosen margin.
  • Fit to image — each page matches the image’s exact aspect ratio. Best for documents that should not be cropped.

Orientation

Auto picks portrait or landscape per image. Forced portrait or landscape rotates the page so the image fits without being cropped.

Related

Related tools