PDF Tips

How to Convert Images to PDF Online (JPG, PNG, WebP and More)

When your pictures are a mix of phone photos, screenshots and web graphics, you want one converter that takes them all. Here is how the batch is handled, how to control the order and how to keep the PDF a usable size.

👉 Try it free: Image to PDF: combine any images into one PDF
Drop images of any common type, drag them into order and press Convert to PDF.

One batch, any mix of image types

The difference between this page and the single-format converters is the file picker. Image to PDF accepts any image your browser can open, so a folder with phone JPGs, a few PNG screenshots and a WebP logo can go in together. Each file becomes its own page, in the order of the list.

  1. Drop the images onto the box labelled Drop images here, or click it and select them.
  2. Drag the rows into the order you want. The top row is page 1.
  3. Choose Page size and Orientation.
  4. Press Convert to PDF, then Download PDF. The result is images-to-pdf.pdf, and the result line shows the page count and size, for example "Created 6-page PDF".

How each format is handled

FormatWhat the tool doesWatch for
JPGPlaced in the PDF as it isPDF size follows the photos; some phone photos can appear sideways
PNGPlaced in the PDF losslesslyLarge for photos; transparency shows white
WebP, GIF, AVIF, BMPDecoded by your browser, then stored as PNGCan grow in size; only the first frame of an animation is used
HEICMany browsers cannot open itUse HEIC to PDF instead

If a file type in your batch is one that your browser itself cannot display, the conversion stops with "Something went wrong. Please try again." Remove that file or convert it first. For WebP in particular, WebP to JPG and WebP to PNG are quick ways to normalise a batch.

Getting the order right before you convert

Sorting after the fact means rebuilding the PDF or dragging thumbnails around in another tool, so a minute of planning pays off. Three habits help with larger batches:

Pick the page size by purpose

A PDF of mixed images is only as tidy as its page size setting.

A worked example: a six-file application pack

Say a form wants identity proof, address proof and a signed page in one PDF, and you have a JPG photo of the ID, a PNG screenshot of an online statement, a WebP downloaded from a portal and three phone photos of signed paper pages. Rename them 01 to 06, add them in one go, and leave Page size on Fit image to A4 with Orientation on Auto. Six pages come out at A4 size, each picture scaled to fit without distortion.

Open the PDF afterwards and check two things: that the phone photos are not on their side, and that the file size is within the portal's limit. If one page is turned, fix it with Rotate PDF, and if the file is too big, go back and shrink the heaviest images. Doing this in the right order avoids uploading a PDF that gets rejected.

Where the work happens

The images are read and assembled in your own browser tab, so they are not sent to a server to be converted. The page does load the pdf-lib library from the cdnjs network when it opens, which is code, not your files. If you are on a shared computer, remember that the finished PDF lands in your downloads folder and delete it when you are done.

Keeping the combined file small enough

The PDF is roughly the sum of its parts, so ten images of 3 MB each lead to a PDF near 30 MB. If a limit applies, shrink the biggest pictures before you convert with Resize Image or Compress JPG, and compress the final file with Compress PDF if needed. The detailed steps are in what actually works when a PDF is too large to email.

When one PDF is not what you want

This tool always produces a single document. If you want to join several existing PDFs, Merge PDF is the right place, and the matching guide is how to merge PDF files online. For photos from a single format the focused guides are JPG to PDF and PNG to PDF.

Frequently Asked Questions

Can I combine JPG and PNG files in the same PDF?

Yes. Image to PDF accepts a mixed batch. Each file becomes one page in the order shown in the list.

Does the tool support WebP images?

Yes. WebP and other formats your browser can display are decoded and stored in the PDF as PNG. The result can be larger than the original WebP.

What happens to an animated GIF or WebP?

Only a single still frame is placed on the page. The PDF has no animation.

Why does my iPhone HEIC photo not work here?

Many browsers cannot open HEIC files. Use the HEIC to PDF tool, which is built for that format.

How do I make every page the same size?

Choose Fit image to A4 or Fill A4. Both give A4 pages, while Use image dimensions gives each page the size of its picture.

Can I add more images after converting?

Add them to the list and convert again, since each conversion builds a new PDF. To join two finished PDFs, use Merge PDF.