PDF · 37 tools · nothing uploads

Images to PDF

Combine JPG and PNG images into one PDF, on your device.

Input

Options

Images to PDF turns a set of JPG and PNG files into one document, one page per image. Keep each image's own size, or fit them all onto A4, Letter or four other papers with an optional margin. Pages follow the order you dropped them in. The format check reads the extension, so a .webp file stops the run.

Questions

Are my photos uploaded?

No. pdf-lib builds the PDF in a Web Worker in this tab and the images never leave your browser. That matters more here than usual, since the images people combine are often scans of documents they would rather not hand to a website. Turn your network off and it still works.

Which image formats can I drop in?

JPG and PNG only, decided by the file extension. Anything else stops the run with a message naming the file: only JPG and PNG are supported. That check is on the name, so a PNG saved with a .jpg extension will fail too. Convert other formats first with one of the image tools, then come back.

What page size do I get?

Your choice. Leave it on image and each page is exactly the size of its image, so a 3000 by 2000 pixel photo makes a 3000 by 2000 point page, which suits a single screenshot. Name a paper size instead and every image is scaled to fit that sheet and centred, which is what a folder of mixed photos needs before anyone prints it.

Do sideways photos get their own page shape?

On auto, yes. The sheet turns to match each image, so a folder mixing upright screenshots and wide photos does not put half its pages on their side. Force "portrait" or "landscape" to make every page the same way up, and a wide photo on an upright sheet simply gets white above and below.

Can I add a margin?

Yes, in points, and it works on both settings. On a paper size it insets the image from the sheet edge. On image size it grows the page instead, so the image is never scaled and the white is added around it. A margin larger than the sheet is refused before anything is drawn.

What order do the images end up in?

The order you dropped them in, top to bottom of the file list, one page per image. There is no sort by name or by date. Rename or reorder before you drop if the order matters, since there is no way to rearrange after the fact except by running Organize PDF pages on the result.

Does it recompress or shrink my images?

No. The image bytes are embedded as they are, so a JPEG stays the same JPEG and a PNG stays the same PNG. The PDF is therefore roughly the sum of the images plus a little structure. Run Compress PDF afterwards if the result is bigger than you want.

What is the PDF called?

The first image's name with its extension replaced, plus a -combined suffix, so dropping scan1.jpg first gives scan1-combined.pdf. All the images go into that one document; you do not get one PDF per image. Your source images are not modified or removed.

Related PDF tools