Skip to content
JPG to PDF

How to convert WebP, GIF, or BMP images to PDF

Updated

Contents

To turn WebP, GIF, and BMP images into a PDF, open JPG to PDF, add the images, put them in order and press Create PDF. Each image becomes one page of the PDF, and you can mix them with JPG and PNG files in the same document. PNG to PDF takes the same files and works the same way.

A PDF can hold JPEG and PNG pictures but not the other formats as they are, so each WebP, GIF, or BMP image is first decoded by your browser and saved again: as a JPEG at 92% quality when it has no transparent areas, and as a PNG when it has any.

It runs in your browser, so your images stay on your device. Each image can be up to 25 MB.

Open JPG to PDF

Step by step

  1. 1Open the JPG to PDF tool and drop your images on the box at the top of the page, or click it to pick them. WebP, GIF, and BMP files are taken alongside JPG and PNG.
  2. 2Put the pages in order with the up and down arrows on each image, and press the cross on an image to take it out.
  3. 3Choose the Page size, Orientation and Margin, or keep the ones shown.
  4. 4Under Output, keep One PDF, or choose One PDF per image (ZIP) to get several PDFs, one for each image.
  5. 5Press Create PDF, then Download PDF. With several images and a PDF per image, the button downloads them together as a ZIP instead.
Open JPG to PDF

Why the image is saved again, and what that changes

A JPEG or PNG is copied into the PDF as it is. The other formats have to be redrawn first, and that is a second save of the picture, which has two costs worth knowing about.

A WebP photo saved again as a JPEG can come out a little softer, or a little larger in bytes, than the file you had, because WebP often compresses better than JPEG. And what the image file carried beside its pixels, such as the camera details and the date it was taken, is not kept. Keep the original file if you need either.

GIF and BMP

An animated GIF gives its first frame only: one image, on one page. To keep a later frame, save that frame as an image of its own first.

A BMP is stored without compression, so it is usually much larger than the same picture as a JPEG or PNG; once saved into the PDF, it usually takes far less room. A picture with transparent areas keeps them, and the white page shows through.

Formats that are turned away

HEIC, TIFF, and AVIF images are not taken: browsers do not all have a decoder for them. Such a file is turned away when you add it, with a note naming its real format, so save or export it as a JPG or PNG first.

Each file is judged by its contents, not its name, so a WebP saved with a .jpg name still goes in as a WebP. If the finished PDF is larger than you want, Compress PDF can make it smaller.

Common questions

How do I convert a WebP image to PDF?

Open JPG to PDF, drop the WebP file on the box, and press Create PDF. The image is decoded in your browser and saved into the PDF as a JPEG, or as a PNG if it has transparent areas.

Does an animated GIF keep its animation?

No. A PDF page holds a still picture, so only the GIF's first frame goes into the PDF.

Will the image lose quality?

A little, possibly. A WebP, GIF, or BMP image is saved again before it goes into the PDF, as a JPEG at 92% quality when it has no transparency, which can soften fine detail slightly. With transparency it is saved as a PNG, which does not soften detail.

Can I convert HEIC, TIFF, and AVIF images?

No. They are turned away when you add them, with a note naming the format. Save or export them as JPG or PNG first, then add those.

Are my images sent to a server?

No. The images are decoded and the PDF is made in your browser tab; the files are not sent to pdf.xyz.

Tools used in this guide

All tools