Convert images to PDF
Build one PDF from a mixed batch of JPG, PNG and WebP images, with drag-to-reorder pages plus page size, orientation, margin and fit controls.
- Runs in your browser
- Files are never uploaded
- Free, no account
Add as many images as you like — they become pages in the order shown, and you can reorder or remove any of them before exporting.
How to combine images into one PDF
- Drop in any mix of JPG, PNG, WebP, AVIF, GIF or BMP files. They are decoded on your device as they arrive.
- Reorder the pages — drag any card, or use its arrow buttons, which are fully keyboard accessible.
- Remove anything you do not want with the × button on the card.
- Choose the page layout: Auto for borderless pages that match each image, or a fixed size with a margin for printing.
- Press Create PDF and download. Your images stay loaded, so you can rebuild with different settings instantly.
How each format is handled
The PDF specification only defines two image types that map onto everyday web formats: JPEG (DCTDecode) and PNG's underlying zlib stream (FlateDecode). Anything else has to be converted before it can go into a document. This tool is explicit about which path each file takes.
| Input | Path into the PDF | Quality |
|---|---|---|
| JPG / JPEG | Embedded byte-for-byte | Identical to the original — no re-encode |
| PNG | Embedded byte-for-byte | Identical to the original — lossless |
| WebP | Decoded in the browser, stored as PNG | Lossless relative to the decoded pixels |
| AVIF | Decoded in the browser, stored as PNG | Lossless relative to the decoded pixels; needs a browser with AVIF support |
| GIF | First frame decoded, stored as PNG | Lossless; animation is not preserved |
| BMP | Decoded in the browser, stored as PNG | Lossless, and usually much smaller than the source |
Re-encoding WebP as PNG can make the embedded image larger than the original file, because WebP is a far more modern compressor. That is unavoidable: a PDF reader from 2010 has to be able to open the result.
Auto page size versus a fixed size
With Auto, each page is created at exactly the pixel dimensions of its image, treated as PDF points. Nothing is scaled, nothing is cropped and there are no borders — ideal for screenshots, artwork and comics, but it produces a document whose pages are all different shapes.
With a fixed size such as A4, every page has the same dimensions and the images are placed inside your chosen margin. That is what you want for anything destined for a printer, a binder or a document management system. Leave orientation on Auto and each page rotates to suit its own image, so a landscape photo is not letterboxed onto a portrait page.
Photo orientation is handled for you
Cameras usually store photos in the sensor's native orientation and add an EXIF tag saying how to rotate them for display. PDF has no such tag, so a naive converter produces sideways pages. This tool reads the orientation tag and bakes the rotation into the embedded image, so portrait phone photos come out portrait.
Nothing is uploaded
Decoding uses the browser's own image pipeline and the document is assembled with pdf-lib, all inside this tab. There is no upload, no queue, no account and no watermark, and the tool continues to work if you disconnect from the network. Related tools: JPG to PDF, PNG to PDF and PDF to JPG for the reverse direction.
Questions
Which formats can I mix?
JPG, PNG, WebP, GIF, BMP and AVIF, in any combination and any order. JPG and PNG are embedded untouched; everything else is decoded and re-encoded to lossless PNG, so nothing is visibly degraded.
Why is WebP converted to PNG?
The PDF format itself has no WebP image type — readers would not know how to draw it. We decode the WebP in the browser and store it as PNG, which every PDF viewer understands, with no quality loss.
How many images can I add at once?
There is no fixed cap. Very large batches are limited only by memory; the tool shows determinate progress and stays responsive because it yields to the browser between images.
Does it keep the file order I selected?
Files are added in the order the picker returns them, then you can drag any card or use its arrow buttons to move it. The page order in the PDF always matches the order shown on screen.