JPG to PDF
Runs entirely in your browser. Your files and data never leave your device.
About this tool
Pick a few photos or scans and they become a PDF with one image per page. The pages appear on the right as you add files, so you can see the result before you download it. Drag more files in at any time and they join the end of the list.
How do I get the pages in the right order?
The list keeps the order you added the files in. Each row has an up and a down arrow to move that image, and an X to drop it. The page preview redraws every time you change something, so the order you see is the order you get.
If you only ever add one image, the download keeps that file’s name, so receipt.jpg saves as receipt.pdf. Combine several and the file is called images.pdf.
What do the settings change?
Page size has three options. “Fit to image” sizes every page to its own picture, which is what you want for screenshots or a photo you don’t want cropped or shrunk. A4 and US Letter give you a fixed page instead, and the image is scaled to fill it while keeping its proportions, then centred. A4 is the ISO 216 size used almost everywhere outside North America; US Letter is 8.5 by 11 inches. Both are described on Wikipedia’s paper size page.
Orientation only applies to A4 and Letter. On “Auto” each page turns sideways when its image is wider than it is tall, so a mixed batch of portrait and landscape photos comes out without white bars. Force portrait or landscape when you want every page the same shape. A page that fits its image has nothing to rotate, so the setting is ignored there.
Margin adds white space on all four sides: none, a quarter inch, or three quarters of an inch. On a fixed page the margin shrinks the area the image is fitted into. On a fit-to-image page it grows the page around the picture instead.
Are my images uploaded anywhere?
No. The PDF is written in the page by pdf-lib, which runs in your browser. Nothing is sent to a server, so a passport scan or a stack of receipts stays on your machine.
JPEG and PNG files go into the PDF byte for byte, so the pixels in the document are the pixels of the original and nothing is re-compressed. WebP is the exception: PDF has no way to store it, so those images are redrawn as PNG first, which is lossless and makes the file a little larger.
This is the quick way to send a set of receipts to an accountant, turn phone photos of a signed contract into one document, or hand in a scanned form that a website only accepts as PDF.