OpenToolbox

How to convert JPG and other images to PDF

By the OpenToolbox team · Updated · 5 min read

In short

To convert images to PDF, add the pictures to an image-to-PDF converter, put them in order and choose a page size; each image becomes one page. OpenToolbox's Image to PDF supports JPG, PNG, WebP, GIF, BMP, AVIF and SVG, lets you rotate, set margins and lower the resolution for a smaller file, and builds the PDF in your browser.

Key points

  • Each image becomes one page, in the order of the thumbnails.
  • Fit to image makes every page the exact shape of its picture: no white borders, no cropping.
  • Phone photos are much bigger than a page needs: set Image resolution to 150 DPI for a light file.
  • JPEG compression is smaller; PNG keeps exact pixels for screenshots and text-heavy images.

Step by step

  1. Open the tool

    Go to Image to PDF. You can also paste an image from the clipboard.

  2. Add the images

    Drop them on the page or click to choose: JPG, PNG, WebP, GIF, BMP, AVIF or SVG. Add more at any time.

  3. Order and rotate

    Drag the thumbnails into the right order and use the rotate buttons on any picture that is sideways.

  4. Set up the pages

    Choose the page size (A4, US Letter, US Legal, A3, A5 or Fit to image), the orientation, the margins and how the image fits the page.

  5. Create the PDF

    Pick the compression and resolution, name the file and click Create PDF. It downloads when ready.

Page size, orientation and fit

The page settings decide how each picture sits on its page:

SettingOptionsWhen to use it
Page sizeA4, US Letter, US Legal, A3, A5Documents that will be printed or filed
Page sizeFit to imagePhoto albums, screenshots, drawings: each page takes the picture's own shape
OrientationAuto, Portrait or LandscapeAuto turns each page to match its picture
Image fitFitThe default: the whole picture is visible inside the margins
Image fitFillThe picture covers the page; its edges may be cropped
MarginsNone, Small (¼ in), Medium (½ in), Large (1 in)Small margins look like a scanned page; none for full-bleed photos

For scans of paper documents, choose the paper size the original had (A4 in most countries, US Letter in the United States and Canada) so the PDF prints at the right scale.

Keeping the PDF small

A modern phone photo has about 12 megapixels (4032 × 3024). On an A4 page with small margins, a picture is at most about 7.8 inches wide, so at 150 DPI it needs roughly 1170 pixels across: about a tenth of the pixels the photo has. Keeping all of them makes the PDF large without making it look any better on screen.

Image resolutionEffectGood for
Original pixelsEvery pixel is keptArchiving, zooming into details
Up to 300 DPI (print)Scaled down to print qualityDocuments you will print
Up to 150 DPI (screen)Scaled down to screen qualityEmail, sharing, reading on a phone or laptop

In our test, two 12-megapixel phone photos (8.6 MB together) on A4 pages with small margins and JPEG 85% gave a PDF of 5.0 MB with original pixels, 3.1 MB at up to 300 DPI and 984 KB at up to 150 DPI. Each PDF took about a second to build.

Compression matters too. JPEG (quality 85% by default) is right for photos and scans and makes much smaller files; transparent areas become white. Lossless PNG keeps every pixel: use it for screenshots, diagrams and images with small text, where JPEG can leave smudges around letters. It is also bigger: a 934 KB screenshot became a 378 KB PDF with JPEG and a 1.2 MB PDF with Lossless PNG.

Already made a PDF that is too big? Run it through Compress PDF at the Ebook level.

On iPhone and Android

The tool works in the phone's browser: tap the drop area, choose pictures from your gallery or files, and download the PDF. Two things to know:

  • iPhone photos in HEIC. HEIC is not one of the supported formats. iOS usually converts photos to JPEG when you pick them for a website; if it does not, set Settings → Camera → Formats → Most Compatible so new photos are saved as JPEG.
  • Scanning paper. For multi-page paper documents, a scanner app (or the scan feature of your notes app) will straighten and crop pages better than plain photos; you can still combine the results here.

Your pictures stay on your device

Images often contain more than you think: ID cards, receipts, faces, the location stored in a photo's EXIF data. The PDF is built inside your browser, so the pictures are never uploaded anywhere. If you share photos separately, EXIF Remover strips the location and camera data first.

Other ways to turn images into a PDF

MethodCostNotes
Image to PDF in the browserFreeAny device; page size, margins, compression and resolution
Windows: Microsoft Print to PDFFree, built inSelect the images in File Explorer, right-click → Print, choose Microsoft Print to PDF; few layout options
macOS PreviewFree, built inOpen the images together, select all thumbnails, then File → Print → Save as PDF
iPhone Files appFree, built inSelect images, then More → Create PDF; no page size control

To join the result with other PDFs, use Merge PDF. To go the other way, from PDF pages to images, use PDF to JPG.

How we tested

We ran every test on 24 October 2026 with the tool exactly as published, in Chrome 152 on a desktop PC (AMD Ryzen 7 5700X, NVIDIA GeForce RTX 5060, 32 GB of RAM). Sizes are the ones the tool shows (1 MB = 1,048,576 bytes); times include reading the files.

Settings were the defaults (A4, Auto orientation, Small margins, Fit, JPEG 85%) except for the one being compared.

Test files

Frequently asked questions

How do I put several JPGs into one PDF?

Add all the images to Image to PDF, drag them into order and click Create PDF. Each image becomes one page of the same document.

Why is my PDF so large?

Phone photos and scans have many more pixels than a page needs. Set Image resolution to Up to 150 DPI and keep JPEG compression: in our test, two phone photos went from a 5.0 MB PDF to 984 KB.

Can I convert PNG screenshots without losing sharpness?

Yes. Choose Lossless PNG compression and the Original resolution: the pixels are stored exactly, so text in the screenshots stays crisp.

Are my photos uploaded?

No. The PDF is created by your browser on your device, and the images never leave it.

Can I make each page the size of the photo?

Yes. Choose Fit to image as the page size: every page takes the shape of its picture, so nothing is cropped and no white borders are added beyond the margin you choose.

More guides