Convert JPG to PDF

Turn photos and scans into one PDF. Runs on your device.

A JPG is what a phone camera saves, so a JPG to PDF job usually starts with a handful of photos: the pages of an assignment, a receipt, both sides of an ID card, a signed form. This page is set up for that case. Add the photos, put them in order, and the tool makes one PDF with one photo per page. A photo that was taken with the phone turned is straightened first, because PDF software ignores the rotation note a phone stores in the file. Leave Compress images on if the PDF has to be emailed or uploaded to a form: photos over 2000 pixels on the longest side are shrunk to 2000 and saved at quality 80, while an upright JPG of 2000 pixels or less goes in untouched. Turn it off and every upright JPG goes in untouched, which keeps every pixel but can give a larger file. PNG and WebP images are accepted on this page too, so a screenshot can sit next to the photos. Everything happens in your browser.

How it works

  1. Add your images
  2. Order and rotate them
  3. Download the PDF

Page size, orientation and margins

Each image gets its own page. A4 is 595 by 842 points and Letter is 612 by 792 points, where one point is 1/72 of an inch. With Orientation on Auto, a wide picture gets a landscape page and a tall one gets a portrait page, so a mix of photos and scans does not leave half of them sideways. Margin is None, Small (18 points, a quarter of an inch) or Normal (36 points, half an inch). The image is scaled to fit inside the margins and centred, and a small image is enlarged to fill the page, because the pixel size of a picture says little about how large it should print. Auto page size works differently: each page is exactly as large as its image, counting one pixel as one point, with no margin. If an image would need a page over 14400 points on its longer side, the page is scaled down to that limit.

How compression affects the PDF

With Compress images on, anything over 2000 pixels on its longest side is shrunk to 2000 and saved again as a JPEG at quality 80. A JPEG that is upright and already 2000 pixels or less is not touched: it goes into the PDF exactly as it is, byte for byte, so a small photo does not get smaller. A PNG without transparency becomes a JPEG, which is usually much smaller for a photo or a scan. A PNG with transparent areas stays a PNG, so the clear parts stay clear. With Compress off, an upright JPEG and a PNG are placed in the PDF exactly as they are, and nothing is shrunk. The size shown before you create the PDF is worked out from the images as they will be stored, so it is close to the final size. It is not a promise: the finished PDF is measured and shown as Inputs against PDF. It can even be larger than the files you started with, for example when WebP images with transparent areas have to be stored as PNG.

Why WebP is converted first

A PDF can hold JPEG and PNG pictures, but not WebP. So a WebP image is redrawn on a canvas in your browser and saved as a JPEG, or as a PNG when it has transparent areas, before it goes into the PDF. The same happens to an image you rotate, and to a phone photo that carries a rotation flag. Phones often store a portrait photo sideways and add a flag that tells apps to turn it. PDF software ignores that flag, so the page would show the photo on its side. This tool applies the turn first and marks the row as straightened. These images are saved again, which costs a little quality and can add size, and the Done screen says so when the PDF ends up larger than the images that went in.

Your images never leave your device

The PDF is built by your browser, in this tab. There is no upload step and no server that receives your pictures. The page counts visits with Google Analytics, using rough groups such as 1 to 10 MB and never a file name, an image or an exact size. Because everything runs on your device, its memory sets the limits: up to 50 images at a time, about 500 MB in total on a computer or 150 MB on a phone, and single images up to 100 megapixels, or 50 on a phone. Images are prepared one at a time to stay inside that. If the device runs out of memory while the PDF is being built, you get a message to remove some images or turn on Compress.

Frequently asked questions

Will my JPG be recompressed?

Only if you ask for it. With Compress images on, a JPG over 2000 pixels on its longest side is shrunk and saved at quality 80, and smaller upright JPGs are placed as they are. With Compress off, every upright JPG goes into the PDF byte for byte.

Why was my phone photo straightened?

The photo was stored sideways with a rotation note, and a PDF would show it sideways. The tool turns it upright and saves it again as a JPG. The row says Straightened, and the PDF can be a little larger as a result.

How do I change the page order?

Drag a row up or down, or use the up and down arrow buttons on each row. The first row becomes page 1. The order in the list is the order in the PDF, and you can come back and change it with Edit order after the PDF is made.

Can I make the PDF smaller?

Yes, mostly for large images. Leave Compress images on: anything over 2000 pixels on its longest side is shrunk to 2000 and saved at quality 80, and opaque PNGs become JPEGs. A 4000 by 3000 phone photo is stored at 2000 by 1500. A JPEG that is already 2000 pixels or less and upright is placed as it is, so it does not get smaller. The estimate above the button updates as you change settings, and the finished size is shown on the Done screen.

Why is one page sideways?

Most often the picture was taken with the phone turned, and the file only carries a note saying how to rotate it. This tool applies that note, so those photos should be upright. If a page is still turned, use the rotate buttons on its row, then create the PDF again. With Orientation on Auto, a picture you turn right becomes a landscape page if it is now wider than tall.

Does it support WebP?

Yes. A PDF cannot store WebP, so the image is converted first: to JPEG, or to PNG if it has transparent areas. You do not need to do anything. The conversion is done in your browser, and the PDF can end up a little larger than the WebP files you added.

What does Auto page size do?

Each page takes the size of its picture, counting one pixel as one point (1/72 of an inch), with no margin. An 800 by 600 image gives an 800 by 600 point page. Orientation and Margin are switched off while Auto is selected. Pages are capped at 14400 points on the longer side.

Is there a page limit?

You can add up to 50 images at a time, and each image becomes one page. A batch can total about 500 MB on a computer or 150 MB on a phone. These limits come from how much memory a browser tab can use, not from an account or a paid plan.