Image to PDF
Combine images (PNG, JPEG, WebP) into a single PDF. Drag-drop, reorder, rotate, choose page size and fit mode. All in your browser.
Interactive tool
Drop images to combine into a PDF
PNG, JPEG, WebP. Reorder and rotate before saving.
What is the Image to PDF tool?
A multi-image PDF builder. Drop PNG, JPEG, or WebP files into the canvas, drag them into the order you want, rotate the ones that need it, and export everything as a single PDF. Page size, orientation, fit mode, margin, and background colour are all configurable. The conversion runs entirely in your browser via pdf-lib.
How to Combine Images into a PDF
- 1Drop image files (PNG, JPEG, or WebP) into the upload area
- 2Drag thumbnails to reorder them; click the rotate button to fix orientation
- 3Pick a page size (A4, Letter, … or Auto for image-native sizing)
- 4Choose a fit mode: Contain, Cover, Stretch, or Actual
- 5Adjust margin and background colour as needed
- 6Click Build PDF and download the result
Key features
Multi-image drag-drop
Drop entire folders of images and the tool ingests all supported formats
Drag-to-reorder
Native HTML5 drag-and-drop on the thumbnail grid
Per-image rotation
Rotate any thumbnail by 90° increments before building the PDF
Eight page-size presets
A3, A4, A5, B5, Letter, Legal, Tabloid, Executive, plus Auto
Four fit modes
Contain, Cover, Stretch, Actual: each suits a different layout intent
Background colour
Letterboxed pages get a custom background colour for clean visual framing
PNG, JPEG, WebP input
WebP is canvas-converted to PNG/JPEG before embedding for compatibility
100% client-side
pdf-lib and canvas processing run in your browser; no upload
Why a local image-to-PDF tool?
Photos of receipts, scanned signatures, and screenshots routinely need to become a single PDF, and they almost always contain something private. Server-side converters typically upload the originals (and often retain copies for analytics or "improving the model"). This tool keeps every image on your device, embeds the bytes directly via pdf-lib, and never makes a network call.
Common use cases
- Submitting expense receipts as a single PDF
- Bundling scanned signatures and ID photos for a form
- Combining product shots into a one-pager catalogue
- Generating a printable contact sheet for a photography client
- Wrapping screenshots into a PDF for a bug report
- Building a quick portfolio PDF from a folder of images
Fit mode reference
- Contain: Preserve aspect ratio; fit inside (page − 2 × margin). Letterboxes when needed. Default.
- Cover: Preserve aspect ratio; fill the page entirely. Crops if the aspect differs from the page.
- Stretch: Warp the image to fill (page − 2 × margin). Distorts if aspects do not match.
- Actual: Use the image's native pixel size centred on the page. Useful for screenshots you want to display 1:1.
Limitations
- WebP is converted to PNG/JPEG before embedding, which adds a small re-encoding step
- Animated GIF or APNG: only the first frame is embedded
- Very large source images (> 50 MP) may slow down the canvas conversion step
- Images are always one-per-page; multi-up layouts are out of scope
Tips & best practices
Use Auto page size for screenshots
When you just want a 1:1 PDF wrapper around screenshots, pick Auto + Actual fit. The output dimensions match each image exactly.
Use Cover for full-bleed photo books
Cover plus zero margin gives a glossy magazine feel. Beware of the crop on extreme aspect mismatches.
JPEG is smaller for photos
Save PNG for diagrams and transparency; let the tool default to JPEG (92% quality) for photographic content: file size drops 4-10×.
Use ⌘+↵ to build
Cmd+Enter (Ctrl+Enter on Windows) triggers Build PDF without leaving the keyboard.
Combine with PDF Merge
Build per-set PDFs first, then use PDF Merge to combine them into the final document: keeps reordering manageable for big batches.
Privacy & security
Images and the resulting PDF never leave your browser. pdf-lib does the writing and the canvas re-encodes WebP and rotated JPEGs locally. Closing the tab clears everything from memory.
Related tools
- PDF to Text
Extract every word from a PDF as plain text or structured JSON. 100% browser-side using pdfjs-dist. No upload, no signup.
PDF Tools
- PDF Rotate & Reorder
Rotate, reorder, and delete pages in a PDF visually with thumbnails. Drag pages to reorder, click to rotate or remove
PDF Tools
- PDF Extract / Delete Pages
Keep or drop pages from a PDF. Pick visually with thumbnails or type a page range like 1-3, 5, 7-9. Lossless and 100% browser-side.
PDF Tools
- PDF Page Numbers
Add page numbers to a PDF in any position. Pick the corner, format, font and start number: all client-side, no upload.
PDF Tools
- PDF Password Remover
Remove the password from a PDF you have access to. Works entirely in your browser: your password and document never leave your device.
PDF Tools
- PDF Header & Footer
Add headers and footers to a PDF. Six independent slots (header L/C/R + footer L/C/R), text or image, opacity, page range. All in your browser.
PDF Tools
Frequently Asked Questions
What image formats can I use?
PNG, JPEG, and WebP. PNG and JPEG are embedded directly into the PDF; WebP is converted to PNG (or JPEG) on the fly via canvas before embedding.
What is the difference between Contain, Cover, Stretch, and Actual?
Contain preserves aspect and fits inside the page minus margins. Cover preserves aspect and fills the page (may crop). Stretch warps the image into the page area (may distort). Actual uses the image's native size centred on the page.
How do I keep image dimensions exactly?
Pick "Auto" page size with Actual fit. The PDF page will match the image's native pixel size at 72 DPI, so the result is a perfect 1:1 wrapper.
Will rotation lose quality?
Rotation is performed on a canvas with no resampling for 90° / 180° / 270° turns. PNG keeps its lossless quality; JPEG re-encoding adds one round trip at 92% quality.
Is the file size optimised?
Roughly. JPEG inputs are passed through, PNG inputs use lossless compression, and WebPs are converted to JPEG (for photos) or PNG (for graphics) at 92% quality. For aggressive optimisation, run the result through the PDF Compress tool.
Are the images uploaded?
No. pdf-lib and the canvas API run entirely in your browser. The originals, the rotated previews, and the final PDF stay on your device.