# Image to PDF

Combine JPG and PNG files into one PDF in your browser. Arrange the images and choose the page size, orientation and margins.

[Open the tool on PDF Fan](https://pdf.fan/image-to-pdf/)

## How to combine images into a PDF

1. Select JPG or PNG files and drag the thumbnails into order.
2. Choose A4 or US Letter and set the orientation, or fit each page to its image. Adjust the margins and check the preview.
3. Convert the images and download the PDF.

Use up to 200 JPG or PNG images totaling up to 25 MB. Files are processed in your browser.

### Make a two-page PDF

Add both sample images. Put the blue image first to make it the first page of the PDF.

- [Download the blue PNG](https://pdf.fan/samples/sample-blue.png)
- [Download the amber JPG](https://pdf.fan/samples/sample-amber.jpg)

### Choose a page size

Use A4 or US Letter for printing. Select Fit to image to size each page to its image.

- [Convert PDF pages to PNG](https://pdf.fan/pdf-to-png/)
- [PDF Fan FAQ](https://pdf.fan/faq/)
