Image to pdf
Combine JPG, PNG and WebP images into a single PDF with page size, orientation, margin and fitting controls.
Images
🔒
Your images never leave your browser — the PDF is generated entirely on your device.
Drag & drop images here
or click to browse · JPG, PNG, WebP · up to 20 MB each · max 40 images
⠿ Drag cards to reorder · numbers show PDF page order
+
Add more
⚠
PDF Settings
0 mm (no margin)20 mm40 mm
⚠
✅
PDF downloaded successfully! Check your downloads folder.
Building PDF…
Processing
One image per page · pages appear in the order shown above
About This Tool
This converter places your images into a PDF, one image per page, without sending anything to a server. Add JPG, PNG or WebP files, arrange them in the order you want, then choose the page size from A4, Letter or Legal, set portrait or landscape orientation or let each page match its image, and drag the margin slider anywhere from no margin up to 40 millimetres. A fitting option decides how each image sits within the printable area: fit keeps the whole image visible, fill covers the page, and stretch forces the image to the exact page shape. Each image shows its pixel dimensions and file size in the list so you can spot a low resolution file before converting. It suits turning phone photos of receipts or documents into one attachment, packaging scanned pages for an application, or building a simple portfolio to email.
How images are placed on the page
The conversion is handled by jsPDF running in the page, so the images are read from your device, drawn into a PDF document in memory and handed straight back as a download.
Each page starts as the size you choose: A4 is 210 by 297 millimetres, Letter 216 by 279, and Legal 216 by 356. Orientation swaps those two numbers, and the auto setting picks portrait or landscape per page according to whether that particular image is taller or wider than it is broad. The margin is then subtracted from all four edges, which leaves the printable area the image must occupy.
The fitting option decides the rest. Fit scales the image until it touches the printable area on its limiting side while keeping the original aspect ratio, so the whole image is visible and blank space may remain on the other axis. Fill scales until the printable area is completely covered, again keeping the ratio, which means the overflowing edges fall outside the page. Stretch ignores the ratio and forces the image to the exact printable dimensions, which fills the space but distorts anything that is not already the right shape.
Each page starts as the size you choose: A4 is 210 by 297 millimetres, Letter 216 by 279, and Legal 216 by 356. Orientation swaps those two numbers, and the auto setting picks portrait or landscape per page according to whether that particular image is taller or wider than it is broad. The margin is then subtracted from all four edges, which leaves the printable area the image must occupy.
The fitting option decides the rest. Fit scales the image until it touches the printable area on its limiting side while keeping the original aspect ratio, so the whole image is visible and blank space may remain on the other axis. Fill scales until the printable area is completely covered, again keeping the ratio, which means the overflowing edges fall outside the page. Stretch ignores the ratio and forces the image to the exact printable dimensions, which fills the space but distorts anything that is not already the right shape.
Worked example: a photo on A4 with a 10 millimetre margin
You add a photo measuring 1600 by 1200 pixels, a four by three ratio, and choose A4 portrait with a 10 millimetre margin and the fit option.
The page is 210 by 297 millimetres. Subtracting 10 millimetres from each edge leaves a printable area of 190 by 277 millimetres. The image ratio is 1600 divided by 1200, which is 1.333. If the image were drawn 190 millimetres wide, its height would be 190 divided by 1.333, which is 142.5 millimetres. That fits comfortably inside the 277 millimetres available, so width is the limiting dimension and the image is placed 190 by 142.5 millimetres, centred, with blank space above and below.
Switch to landscape and the page becomes 297 by 210 millimetres, giving a printable area of 277 by 190. Now a 277 millimetre width implies a height of 277 divided by 1.333, which is 207.8 millimetres, more than the 190 available, so height becomes the limiting dimension instead: the image is drawn 253.3 by 190 millimetres. Landscape therefore uses the page far better for a landscape photo, which is exactly what the auto orientation setting chooses for you.
The page is 210 by 297 millimetres. Subtracting 10 millimetres from each edge leaves a printable area of 190 by 277 millimetres. The image ratio is 1600 divided by 1200, which is 1.333. If the image were drawn 190 millimetres wide, its height would be 190 divided by 1.333, which is 142.5 millimetres. That fits comfortably inside the 277 millimetres available, so width is the limiting dimension and the image is placed 190 by 142.5 millimetres, centred, with blank space above and below.
Switch to landscape and the page becomes 297 by 210 millimetres, giving a printable area of 277 by 190. Now a 277 millimetre width implies a height of 277 divided by 1.333, which is 207.8 millimetres, more than the 190 available, so height becomes the limiting dimension instead: the image is drawn 253.3 by 190 millimetres. Landscape therefore uses the page far better for a landscape photo, which is exactly what the auto orientation setting chooses for you.
Getting a document that prints and reads well
Resolution decides print quality, and the tool shows each image's pixel dimensions so you can judge it. As a rule of thumb, printing at 300 dots per inch needs about 118 pixels per centimetre, so filling an A4 page at that quality wants roughly 2,480 by 3,508 pixels. A 1600 pixel wide photo spread across 190 millimetres works out at around 214 dots per inch, fine for reading but visibly soft in fine detail. Enlarging a small image cannot add detail that was never captured.
Choose the fitting option with care. Fill and stretch both cause problems with documents: fill crops the edges, which can cut off text at the top or bottom of a scanned page, and stretch distorts proportions. For anything containing text, fit with a margin of around 10 millimetres is the safe choice, since most printers cannot print to the very edge anyway.
Be aware of file size. Photographs are large, and a PDF containing twenty high resolution images can easily exceed common email attachment limits, so resize images beforehand if the document only needs to be read on screen.
Choose the fitting option with care. Fill and stretch both cause problems with documents: fill crops the edges, which can cut off text at the top or bottom of a scanned page, and stretch distorts proportions. For anything containing text, fit with a margin of around 10 millimetres is the safe choice, since most printers cannot print to the very edge anyway.
Be aware of file size. Photographs are large, and a PDF containing twenty high resolution images can easily exceed common email attachment limits, so resize images beforehand if the document only needs to be read on screen.
Frequently Asked Questions
JPG, PNG and WebP. JPG suits photographs, PNG suits screenshots and images with flat colour or transparency, and WebP covers images saved from modern websites. Formats such as HEIC from iPhones or TIFF from scanners need converting to one of these three first, which most photo applications can do on export.
No. The PDF is assembled in your browser by the jsPDF library, so the files are read from your device into the page and the finished document is returned as a download. Nothing is transmitted to the site, which matters when the images are scans of personal documents such as passports or bank statements.
Fit scales the image so all of it is visible inside the margins, leaving blank space on one axis. Fill scales it so the printable area is fully covered, which crops the overflowing edges. Stretch forces the image to the exact page shape and distorts it. Use fit for documents and fill only for photo layouts where cropping is acceptable.
Yes. One image is placed per page, in the order the files appear in your list, so five images produce a five page PDF. Rearranging the list before converting changes the page order. Use the margin and fitting controls to decide how much of each page that image occupies.
Around 10 millimetres is a sensible default, because most desktop printers have an unprintable border of roughly 5 to 10 millimetres and anything closer to the edge risks being clipped. A zero margin works fine for full-bleed photo pages viewed on screen but is a poor choice for documents you intend to print.
Tips
- •Drag image cards to reorder — the number badge shows the page order.
- •Use Fit for documents; Fill for photos where you want full coverage.
- •Auto page size creates a page exactly the right size for each image — ideal for photos.
- •Set margin to 0 for full-bleed photos; 10–20 mm for documents.
- 🔒Images are processed entirely in your browser — never uploaded.
Supported Formats
JPG / JPEG
PNG
WebP
Max 20 MB per image · max 40 images per PDF
Category
📁 File ToolsFrequently Asked Questions
JPG, PNG and WebP. JPG suits photographs, PNG suits screenshots and images with flat colour or transparency, and WebP covers images saved from modern websites. Formats such as HEIC from iPhones or TIFF from scanners need converting to one of these three first, which most photo applications can do on export.
No. The PDF is assembled in your browser by the jsPDF library, so the files are read from your device into the page and the finished document is returned as a download. Nothing is transmitted to the site, which matters when the images are scans of personal documents such as passports or bank statements.
Fit scales the image so all of it is visible inside the margins, leaving blank space on one axis. Fill scales it so the printable area is fully covered, which crops the overflowing edges. Stretch forces the image to the exact page shape and distorts it. Use fit for documents and fill only for photo layouts where cropping is acceptable.
Yes. One image is placed per page, in the order the files appear in your list, so five images produce a five page PDF. Rearranging the list before converting changes the page order. Use the margin and fitting controls to decide how much of each page that image occupies.
Around 10 millimetres is a sensible default, because most desktop printers have an unprintable border of roughly 5 to 10 millimetres and anything closer to the edge risks being clipped. A zero margin works fine for full-bleed photo pages viewed on screen but is a poor choice for documents you intend to print.