Convert JPG to PDF

Turn photos and images into one PDF, in the order you choose. JPEGs are embedded exactly as they are, with no re-encoding and no quality loss. Everything happens in your browser, so your images are never uploaded.

Drop your images here

or tap to choose files · they stay on your device

How it works

Your browser downloads pdf-lib, a PDF toolkit written in JavaScript, and runs it locally. It builds a new PDF and adds one page per image, in the order you set.

A normal JPEG is embedded using its original bytes, unchanged, so there is no re-encoding and no quality loss. If a photo's orientation tag says it needs rotating, that one image is corrected on a canvas before embedding. PNG and WebP images are drawn onto a white background first, since PDF pages are effectively white, then embedded at high quality.

Because the work happens on your device, there is no upload, no queue, and no server holding your photos.

Questions

Will my JPEGs lose quality?

No, not usually. A normal JPEG is embedded in the PDF using its original bytes exactly as they are: no re-encoding, no recompression. The only exception is a photo whose orientation tag says it needs rotating, which is common straight out of a phone held sideways. That single image is corrected before embedding, which does re-encode it at high quality. Every other image in the same PDF stays untouched.

Are my images uploaded to a server?

No. The conversion happens inside your browser using pdf-lib, which your browser downloads once and then runs locally. Your images never leave your device, so we cannot see them. Once the page has loaded, converting works offline too.

What page size does the PDF use?

"Fit to image" (the default) makes each page exactly the size of its image, so nothing is cropped or padded. A4 and US Letter place the image on a standard page instead, in portrait or landscape depending on the image, with a small margin. The image is scaled down to fit if it needs to be, but never scaled up past its original size.

Does this support HEIC photos from an iPhone?

Not yet. HEIC needs a much heavier decoder than JPG, PNG, or WebP, and we have not added it. If your photos are HEIC, convert them to JPG first (most Photos apps can do this on export or share), or set your iPhone to Settings, Camera, Formats, Most Compatible, so new photos save as JPG.

What happens to PNG or WebP images with a transparent background?

The transparent areas are filled with white before the image is embedded. PDF pages are effectively white already, so this keeps the result predictable no matter which PDF viewer opens it, rather than leaving transparency that some viewers render inconsistently.

Can I put more than one image on a page?

Not in this version. Each image becomes its own page, in the order you set. If you need a specific final file size afterwards, run the result through the compress tool. Compress PDF.

What does "Compress this PDF first" do on the result?

It sends the converted PDF straight to the compress tool without you having to download it and pick it again. The file is held briefly in your browser’s own storage, never sent anywhere, and is deleted the moment the compress tool loads it.