TheTools.World tool

JPG to PDF online

Combine one or more JPG or PNG images into a single PDF, one page per image, sized to match each image and in the order you select them. Useful for turning photos or scans into a single shareable document.

Convert images to PDF

Combine one or more JPG or PNG images into a single PDF, one page per image, sized to match each image and in the order you select them. Useful for turning photos or scans into a single shareable document.

How to convert images to PDF

  1. Choose one or more JPG or PNG images. Select multiple files at once, or add more with a second selection.
  2. Check the order matches what you intend, since pages follow file-selection order.
  3. Click Convert to PDF.
  4. Preview the result to confirm every image appears as its own page in the right order.
  5. Download the PDF.

Each page is sized to exactly match its source image's pixel dimensions, so images of different sizes produce a PDF with differently sized pages, which is normal and expected.

What this does and how it works

This tool reads each selected image, embeds it into a new PDF document, and creates one page per image sized to match that image's exact pixel dimensions, with the image drawn to fill the page completely. Images are added in file-selection order, so the first image you select becomes page 1. JPG images are embedded directly without re-encoding, and PNG images (including any transparency) are embedded using PNG's own encoding, so image quality is preserved exactly as it was in the source file.

Best practices

Common mistakes to avoid

Real-world use cases

Supported formats

Input: JPG and PNG images, any number of them. Output: a single standard PDF file, one page per image. WebP, HEIC, and other image formats are not directly supported; convert them to JPG or PNG first with the image converter (for WebP) or your device's tools (for HEIC).

Worked example: turning 3 photographed receipts into one PDF

Three receipt photos (receipt1.jpg at 1200x1600px, receipt2.jpg at 1200x1600px, receipt3.jpg at 1600x1200px, the last one photographed sideways) selected in that order produce a 3-page PDF: pages 1 and 2 sized 1200x1600, and page 3 sized 1600x1200 (wider than tall, since it inherits the sideways photo's dimensions as-is).

ImagePixel dimensionsResulting page
receipt1.jpg1200 x 1600Page 1, portrait
receipt2.jpg1200 x 1600Page 2, portrait
receipt3.jpg1600 x 1200Page 3, landscape

If page 3 should be portrait to match the others, rotate that photo before converting, or fix it afterward with rotate PDF.

Limitations

Pages are sized to match each image exactly; there is no automatic scaling to a standard paper size like A4 or Letter. Only JPG and PNG inputs are supported. Very large batches of high-resolution images may be slow to process or produce a large output file, since everything runs in your browser's memory rather than on a server.

Privacy

Your images are read and combined locally in your browser using the pdf-lib JavaScript library loaded from this site. Files are not uploaded to a server. See the privacy policy for full detail.

Troubleshooting

Preparing photos before converting

A few minutes of preparation before converting usually saves a redo later. Check each photo's orientation in your device's photo app and rotate any sideways or upside-down shots first, since fixing orientation after the fact means either re-doing the conversion or using rotate PDF on specific pages afterward. If some photos are much larger in resolution than others (a scan at 300 DPI mixed with a quick phone snapshot), consider whether that size difference matters for your use case; the resulting PDF will simply have differently sized pages, which reads fine on screen but can look inconsistent if the file is printed.

Conclusion

Use this tool to turn a set of photos or scanned images into a single, shareable PDF. To go the other direction, converting PDF pages back into images, use PDF to JPG.

FAQ

Can I mix JPG and PNG images in one PDF?

Yes. You can select a mix of JPG and PNG files together; each is embedded using its own format's encoding.

Will pages be resized to a standard paper size?

No. Each page is sized to exactly match its source image's pixel dimensions. There is no automatic fit-to-A4 or fit-to-Letter scaling.

What if one of my photos is sideways?

The resulting page will be sideways too, matching the image as-is. Rotate the source image first, or fix the page afterward with rotate PDF.

Are my images uploaded anywhere?

No. Conversion happens locally in your browser. Files are not sent to a server.

Can I add more images to a PDF I already created with this tool?

Not directly. Select all the images you want in one pass, since there's no append step; if you need to add more later, convert a new batch and combine the two PDFs with merge PDF.