Images to PDF
Combine any number of PNG, JPEG or WebP images into one PDF in your chosen order — A4/Letter pages with a margin, or pages matching each image's size.
Reviewed 17 November 2026 · Free · No account needed
How to use
- Add images (PNG, JPEG or WebP) — each pick or drop appends to the list.
- Reorder them with the arrows; that is the page order.
- Choose a page size and press Create — the PDF downloads immediately.
Example
Input: receipt-1.jpg, receipt-2.png (A4, 24pt margin)
Output: images.pdf — 2 A4 pages, images centred
How it works
Each image is drawn onto its own page with pdf-lib and the pages are combined into one PDF. Images are embedded as they are — no re-encoding.
The images are processed in list order (arrow buttons set it): each is decoded to a canvas, embedded with pdf-lib as PNG (PNG sources) or JPEG at quality 92 (everything else, including WebP), and drawn onto its own page — A4 or Letter with your margin, fitted and centred, or a page matching the image's pixel size.
receipt-1.jpg + receipt-2.png as A4 pages with a 24pt margin → images.pdf with two pages, each image centred inside the margins.
Edge cases to know
- WebP sources are re-encoded to JPEG first — pdf-lib cannot embed WebP directly.
- Non-PNG images are a fresh JPEG encode at quality 92, not the original bytes; PNGs are embedded losslessly.
- 'Match image size' pages use the image's pixel dimensions at 72 DPI, one image per page.
- The margin slider runs 0–96pt.
Limits & compatibility
- WebP sources are re-encoded to JPEG first (pdf-lib cannot embed WebP directly).
- Non-PNG images embed at JPEG quality 92 — a fresh encode, not the original bytes.
- Exact-size pages use the image's pixel dimensions at 72 DPI.
Privacy
Images are embedded with pdf-lib locally in your browser. Nothing is uploaded or stored.
Guides that use Images to PDF
Related tools
Questions about Images to PDF
Which image types can go into the PDF?
PNG, JPEG and WebP. Each file you pick or drop is appended to the list, and you reorder them with the arrows — that order becomes the page order in the finished PDF. The tool accepts any number of images per run.
What page sizes can the PDF use?
Three choices: A4 or US Letter, with each image scaled to fit inside the page at a margin you set (0–96 points), or pages matching each image's own pixel dimensions at 72 DPI. The page size applies to the whole document.
What happens to WebP images?
They are re-encoded to JPEG first, because pdf-lib cannot embed WebP directly — the tool states this openly rather than failing silently. The same applies to other non-PNG images: they embed at JPEG quality 92, a fresh encode rather than the original bytes.
Are my photos uploaded when building the PDF?
No. The images are embedded with pdf-lib locally in your browser, and nothing is uploaded or stored. Receipts, scans and personal photos become a PDF without ever leaving your device; the finished file downloads the moment it is built, with no account or upload step anywhere.