How to Combine Images into One PDF
Dev Nexus5 min read
How to merge several photos or scans into a single, correctly ordered PDF - without uploading your files anywhere.
You have a stack of images that belong together - the pages of a scanned contract, front and back of an ID, a set of receipts, a multi-page form you photographed one sheet at a time. Sending them as separate files is clumsy and easy to get out of order. Combining them into one PDF turns the pile into a single, ordered document anyone can open.
This guide covers how to merge multiple images into one PDF, get the page order right, and avoid the small mistakes - sideways pages, missing sheets, huge files - that turn a two-minute job into a redo.
The Problem
Multiple loose images are hard to handle. The recipient has to download each one, guess the order, and keep them together. Photos of a document are worse: they often come off a phone named IMG_undefined, IMG_undefined, and so on, with no clue which page is which. A form reviewed out of order, or missing its second page, gets bounced back.
Size is the other trap. Modern phone photos are several megabytes each, so ten of them attached to an email can blow past attachment limits. And the convenient-looking online mergers frequently upload every image to a server - a poor choice when the pages are a passport, a lease, or a medical record.
The Solution
What you want is to merge the images into one PDF where you control the exact page order, without sending anything to a server. The JPG to PDF tool does this: add all your images, drag them into the right sequence, and export a single PDF with one image per page - entirely in your browser.
Because it runs locally, the whole batch stays on your device and there is no upload to wait on. If you later need to fold these pages into an existing document, you can merge PDFs together afterward. The steps below show how to get a clean, correctly ordered result in one pass.
Step-by-Step Guide
- 1
Gather and name your images
Collect every image that belongs in the document and, if they came off a phone with names like IMG_undefined, rename them undefined, undefined, undefined in page order. A quick rename now saves a lot of dragging later and makes it obvious if a page is missing before you even start.
- 2
Add them all at once
Open the JPG to PDF tool and drag the whole set onto the drop zone, or click to browse and multi-select them. Every image is read on your own device and nothing is uploaded, so a batch of sensitive scans stays private.
- 3
Arrange the page order
Drag the thumbnails into the exact sequence you want. The top-to-bottom order is the page order in the finished PDF, so put the cover or first page at the top and work down. Double-check pairs like front/back of an ID so they land next to each other.
- 4
Fix rotation and page fit
Rotate any sideways or upside-down images so every page reads the right way up, and choose whether pages fill the sheet or sit centered with margins. Margins are safer for documents so edges and signatures are not cropped; fill is fine for edge-to-edge photos.
- 5
Combine, review, and download
Build the PDF, then scroll through the entire file to confirm the order is right, no page is rotated, and nothing is missing or duplicated. Save it, and if it is too large for email, compress the images or the PDF before you send the single file.
Common Mistakes
Getting the page order wrong
Images imported by filename can land in an order you did not intend. Always arrange the thumbnails yourself and scroll the finished PDF before sending - an out-of-order contract or form usually gets rejected.
Leaving pages rotated
In a batch, it is easy to miss one sideways scan. Check every thumbnail's orientation before converting so the reader is not tilting their screen halfway through the document.
Forgetting a page
When you are photographing sheet by sheet, it is easy to skip one. Count your images against the number of physical pages before combining, so the PDF is complete the first time.
Ending up with an oversized file
Ten full-resolution phone photos make a heavy PDF that may not send. If you hit a size limit, compress the images first or run the combined PDF through a compressor rather than deleting pages.
Frequently Asked Questions
How many images can I combine into one PDF?
There is no server-imposed limit - you can add as many as you need. Because processing is local, a very large batch of high-resolution images just takes a little longer and uses more memory on your device.
How do I control the page order?
Drag the image thumbnails into the sequence you want before converting. The top-to-bottom order of the thumbnails is exactly the page order in the finished PDF.
Can I mix JPG and PNG in the same PDF?
Yes. The [JPG to PDF](/pdf/jpg-to-pdf) tool accepts common formats including JPG, JPEG, and PNG together, and turns each image into a page regardless of its original format.
Are my images uploaded when I combine them?
No. The entire merge happens in your browser on your own device, so the images are never uploaded or stored - important for scans of IDs, contracts, and records.
What if I need to add these pages to an existing PDF?
First combine the images into a PDF here, then use [Merge PDF](/pdf/merge-pdf) to join that file with your existing document into one.
Try the Tool
JPG to PDF
Merge multiple photos or scans into one correctly ordered PDF - processed privately in your browser, nothing uploaded.
Related Tools
Related Articles
How to Convert JPG to PDF
A step-by-step guide to turning JPG and PNG images into a clean, correctly sized PDF - without uploading anything.
Read articleAre UUIDs Really Unique?
In practice UUIDs never collide - here is the math behind why, and the one thing people get wrong: a UUID is an identifier, not a secret.
Read articleencodeURI vs encodeURIComponent Explained
The clear difference between encodeURI and encodeURIComponent, with examples showing which one to use for a value versus a whole URL.
Read article