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

  1. Add all the images you want in the document — select many at once.
  2. Use the arrows to move images into the order you want them to appear.
  3. Pick a page size, leave orientation on Auto unless you need to force one, and set the margin.
  4. 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.

FAQ

Frequently Asked Questions

In what order will my images appear?
In the order they sit in the queue, which starts as the order you added them and can be changed with the arrows on each file. It is not alphabetical and not by date taken, so check the sequence before converting — this is deliberate, because filename order and intended reading order are usually different things.
My transparent PNG came out with a black background.
That is the JPEG encoding step, which has no way to represent transparency. Areas that were transparent become black. Flatten the image onto a white background before adding it, or use a format-specific tool if you need transparency preserved through to the page.
How do I avoid white borders around my images?
Choose Fit to image as the page size. Each page is then created at the exact dimensions of its image and the margin is ignored, so the picture fills the page completely. This produces a document with varying page sizes, which is fine for viewing on screen but awkward if it is going to a printer.
Can I add a hundred images?
There is no hard limit and images are handled sequentially rather than all at once, so large sets work. The realistic constraint is memory on your device and the size of the resulting file — a hundred full-resolution camera photographs will produce a very large PDF. Resizing the images first is usually worthwhile.
Are my photos uploaded anywhere during conversion?
No. Each image is decoded by the browser and written into the document by pdf-lib, both happening in the tab with the library served from this domain. Personal photographs of a home, a portfolio of unpublished work, or anything else you assemble here stays on your own machine throughout.
Why is the PDF so much larger than my images added together?
Usually because the originals were already efficiently compressed and are being re-encoded, or because they are very high resolution and are being embedded at full size. Reducing the pixel dimensions of the images before conversion has far more effect on the result than any setting here does.