Combine Images into a PDF, Under 1MB or Any Limit
Add your photos or scans, drag them into order, pick a max PDF size like 1 MB (or none), and click Create PDF. Images are recompressed only as much as the limit needs. It all runs in your browser, with no uploads and no account.
Drop files here or browse
Supports JPG, PNG, WebP, GIF, BMP - up to 50 images, 50 MB each
Images to PDF at a specific size
Each link opens the tool with that limit already set. Add your images and create the PDF.
Why use this tool?
Fits a size limit
Set a max PDF size like 1 MB and the images are recompressed just enough to fit. Pages keep their size.
Drag to reorder
Arrange your images in any order before creating the PDF. Drag and drop to get the sequence right.
Multiple page sizes
Choose "Fit to Image" for original dimensions, or pick A4 or Letter for standard page sizes with optional margins.
How image-to-PDF conversion works
Add your images, arrange them in the order you want, and start the conversion. Each image is embedded into a new PDF page using pdf-lib, so your files are never uploaded anywhere.
When “Fit to Image” is selected, each page matches the image dimensions exactly. For A4 or Letter, images are scaled down to fit within the page margins (never upscaled) and centered on the page.
WebP images are automatically converted to PNG for PDF embedding, since the PDF format does not natively support WebP. Phone photos are placed upright: the rotation stored in a photo's EXIF data is applied on the page.
With a max PDF size set, the tool first builds the PDF from your original images. If that is over the limit, it splits the byte budget across the images in proportion to their size, recompresses each one as a JPEG toward its share, and rebuilds the PDF. An image that can't get down to its share keeps the smallest size it reached, and the others share what's left. Each page keeps its original dimensions; only the image resolution and quality drop.
Frequently asked questions
How do I convert JPG to PDF under 1MB?
Add your JPGs above, set Max PDF size to 1 MB, and click Create PDF. If the images already fit, they go into the PDF untouched. If not, each one is recompressed as a JPEG with its share of the 1 MB budget (bigger images get a bigger share) and the PDF is rebuilt until it fits, with every page keeping its size. Open /images-to-pdf?target=1mb to start with the limit already set, or use ?target=500kb, ?target=200kb, and so on.
What happens if my images can't fit the limit?
You get the smallest PDF we could make, labelled "Couldn't reach" with its real size, instead of a file that quietly breaks the limit. Each image can only shrink so far, so a very small limit with many images may not be reachable. Try a larger limit, fewer images, or crop the images to the part you need.
What image formats are supported?
You can use JPEG, PNG, and WebP images, up to 50 in one PDF. WebP images are converted to PNG for embedding. With a size limit set, images that need shrinking are converted to JPEG.
Can I reorder images before creating the PDF?
Yes. After adding your images, you can drag them up or down in the queue to arrange them in any order before creating the PDF.
What page sizes are available?
"Fit to Image" sizes each page to match the image dimensions. A4 (210 x 297 mm) and Letter (8.5 x 11 in) fit images within standard page sizes, centered with optional margins.
Are my images uploaded to a server?
No. The entire process runs locally in your browser. Your images never leave your device.