Combine Many Images Into One PDF, in the Order You Choose
Takes any number of images in mixed formats, lets you reorder them before conversion, and builds a single PDF with pdf-lib using your choice of page size, orientation and margin.
About the Multiple Images to PDF Tool
This accepts whatever your browser can decode as an image, so a folder containing JPEGs from a camera, PNG screenshots, WebP files from a website and older BMP or GIF files can all go into the same document without converting them to a common format first. Each becomes one page.
Order is set by you rather than by filename. Files appear in the order you add them and each has arrows to move it earlier or later, which matters because photo filenames rarely sort the way the story runs — a set of images numbered by camera sequence will not match the order you want them read in. Fix the sequence before pressing convert and the pages come out right the first time.
Key Features
- Mixed formats in one pass: JPEG, PNG, WebP, GIF and BMP can be combined in a single document, with the browser handling the decoding of each.
- Manual reordering: Arrows on each queued file move it up or down the sequence, so the page order is whatever you decide rather than an alphabetical accident.
- Three page-size modes: A4 and US Letter place each image on a standard sheet; Fit to image sizes every page to its own photograph, giving a document with no white space at all.
- Automatic orientation per image: In Auto mode each image is assessed on its own proportions, so portraits and landscapes each get an appropriately shaped page.
- Margin control in points: The 24-point default keeps a tidy border, and setting it to zero lets images run to the page edge.
- Built without an upload: Every image is decoded locally and pdf-lib assembles the document in the tab, so a set of personal photographs is never handed to a conversion site.
How to Use the Multiple Images to PDF Tool
- Add all the images you want in the document — select many at once.
- Use the arrows to move images into the order you want them to appear.
- Pick a page size, leave orientation on Auto unless you need to force one, and set the margin.
- Press Create PDF and download the finished document.
How It Works
Images are processed one at a time so that a large set does not have to be held in memory simultaneously. Each is decoded to a canvas, encoded as JPEG at 92 percent, embedded, and drawn scaled to fit within the page minus margins and centred.
That JPEG step has one consequence to know about: transparency does not survive it. JPEG has no alpha channel, so a PNG with a transparent background will have those areas rendered as black in the finished PDF rather than white. If you are converting logos, diagrams or screenshots saved with transparency, flatten them onto a white background first — otherwise a clean-looking icon arrives as a black rectangle.
The re-encoding also means the images in the PDF are not byte-identical to your originals. At 92 percent the difference is difficult to see, but it is a lossy step, so this is a tool for producing a document to send or print rather than an archival container for master files.
When You Need It
A homeowner making a warranty claim about botched building work has forty photographs of cracked render, damp patches and poor joinery, and a claims process that accepts a single document. Getting them into a deliberate order — overview shots first, then details — makes the case far more legible than an unsorted attachment dump. The photographs show the inside of a home and its address is on the paperwork, so building the file locally rather than through a web converter is the sensible default.
An artist responding to an open call faces a submission form that will accept one PDF and nothing else. Assembling the portfolio in a chosen sequence, with each image on its own page, meets the requirement without the work being uploaded to a third party before the gallery has even seen it.