What is JPG to PDF conversion?
This tool packs one or more JPG images into a single PDF, with each image on its own page. It is ideal for turning scans, receipts, photos or screenshots into one file that is easy to print, archive and share. Everything runs locally in your browser with no upload.
How to use it
- Select or drop in one or more JPG images.
- Check the list and order (pages follow your selection order).
- Click Download PDF to save the merged document.
Handy tips
- Multiple images are paged in selection order; reselect the files to change it.
- Portrait and landscape can be mixed — each page fits its own image.
- If the originals are large and you want a smaller PDF, run them through the image compressor first.
Merging a stack of phone-shot receipts into one PDF
The classic reason to do this is paperwork — expense claims, homework, records — where you've got a pile of photos or receipts snapped on your phone (almost always JPGs) and need them as a single PDF, one image per page, so the other side opens one file instead of a dozen loose pictures. Two things to watch:
- The page order follows the order you select or drop the files in, not the filename or the time they were taken. For chronological order, tidy the filenames first or add them one by one.
- Phone photos run to several megabytes each, so a dozen of them can make a PDF too big to email. Want it smaller? Compress each JPG before merging.
The entire PDF wrapper cost 945 bytes
Wrap a 338,083-byte photograph as a PDF and you get 339,028 bytes — 945 more (0.28%). Under a kilobyte holds the whole PDF header, page object, resource dictionary, cross-reference table and trailer. It is that cheap because the JPEG is not re-encoded: PDF has a native slot for a JPEG bitstream, and when our code sees an image/jpeg input it embeds the original bytes directly. You can verify this yourself — pull the image back out with something like pdfimages and the size should match the file you fed in. Compare PNG to PDF at 11.0% to see where the difference lies. One behaviour to know up front: the page is not A4. The code creates a page whose point dimensions equal the image’s pixel dimensions, so a 1200 × 800 image becomes a 1200 × 800 pt page (about 16.7 × 11.1 inches). To print on A4, choose “scale to fit” in the print dialog — just do not expect A4 to begin with.