Image to PDF Converter

Combine JPG, PNG, WebP and GIF images into a single PDF in your browser — reorder pages, choose fit-to-image, A4 or Letter, add margins and download.

The PDF is assembled locally in your browser with pdf-lib. Your images never leave your device.

Images to PDF

Click to browse images or drag & drop — JPG, PNG, WebP or GIF, multiple at once

How It Works

The PDF is assembled with the open-source pdf-lib library running entirely in your browser — there is no upload step and the files never leave your device. Each image is decoded, drawn onto a canvas to standardize its format, re-encoded as JPEG, and embedded onto its own page in the order shown in the list.

The PDF page model
PDF measures pages in points: 72 points per inch. A4 is 595.28 × 841.89 pt and US Letter is 612 × 792 pt. When you pick a fixed page size, the tool scales each image to fit inside the page (and the 2 cm ≈ 56.7 pt margin, if enabled) while preserving its aspect ratio, then centers it on the white page.
Fit to image
The default mode gives every image its own page at its native pixel dimensions mapped 1:1 to points. Nothing is cropped, nothing is resampled — what you see in the photo is exactly what lands on the page, which is why this is the best choice for scans and mixed-size batches.
Order matters
The list order is the final page order. Use the up and down buttons on each row to reorder before generating; the PDF is built top to bottom, one page per image.

Frequently Asked Questions

Which image formats can I combine?

JPG, PNG, WebP and GIF — anything your browser can decode. Each image is drawn through a canvas before embedding, so exotic color profiles, animation frames and transparency are flattened into a standard baseline the PDF spec accepts everywhere.

Why are my images re-encoded? Do they lose quality?

PDF readers universally accept JPEG, but not every reader handles every WebP or PNG variant, so the tool re-encodes each image to JPEG at quality 0.92. For photographs that setting is visually indistinguishable from the original. Lossless PNG screenshots and line art will see slight compression artifacts around sharp edges — if that matters, a vector-preserving print workflow is a better fit.

Is there a maximum number of pages?

There is no hard cap. Everything runs in your browser tab, so the real limit is memory: a few hundred phone photos combine fine, while gigabytes of 12-megapixel images will strain even desktop browsers. Add very large batches in chunks if you hit trouble.

Does it work for scanned documents?

Yes — this is the classic office use: photograph or scan pages with your phone, drop the JPGs in, reorder them to the right sequence and download one PDF that is easy to email and archive. Fit-to-image keeps each scan at its native proportions with no cropping.

Is anything uploaded to a server?

No. The PDF is assembled locally with the pdf-lib library inside your browser. Your images are never sent anywhere — there is no upload step, no account and no network request containing your files.