Appearance

JPG to PDF

/jpg-to-pdf/

Page size

Related tools

Comments

0/500

About this tool

Why convert JPG photos to a PDF

Many offices ask you to photograph an ID card, a bank statement or a diploma with your phone, yet the upload field accepts only PDF. Sending several JPGs separately also lets the order get mixed up and scatters attachments across an email. Putting the photos into one file in order means the recipient opens a single PDF and pages through it from top to bottom.

Read moreShow less

This tool places each chosen image on its own page and builds a single images.pdf. You choose the page size, A4 or Original size, and you can reorder or remove images in the list. Reading the images and building the PDF all happen inside this browser; no file is sent to a server.

How JPG to PDF handles A4 layout and EXIF rotation

PDF measures length in points (pt, 1/72 inch), and an A4 sheet (210×297 mm) is 595.28×841.89 pt. With A4 selected, each image is scaled as large as possible, keeping its ratio, inside a 190×277 mm area left by 10 mm (28.35 pt) margins on every side, and centered. Images wider than tall get a landscape A4 page, while portrait and square images get portrait A4, so one file can mix orientations.

A standard iPhone photo of 3024×4032 fits portrait A4 at 538.58×718.11 pt, about 190×253 mm, which works out to roughly 404 dpi when printed, comfortably sharp. A 1920×1080 screenshot lands on landscape A4 at 277×156 mm, about 176 dpi, so small text may look slightly soft on paper. Original size treats 1 pixel as 1 pt, so a 4000×3000 photo becomes a page of about 1411×1058 mm; if a side exceeds 14400 pt (200 inches), the PDF 1.x page limit, it is scaled down to fit.

JPG and PNG data is embedded unchanged with pdf-lib's embedJpg and embedPng, so there is no quality loss. Phone cameras, however, often save the image in sensor orientation and write an EXIF orientation value (1 to 8) asking viewers to rotate it, and pdf-lib ignores that value. The tool therefore reads the EXIF orientation of each JPG itself; if it is not 1 (upright), the image that the browser has already turned upright is redrawn on a canvas and saved as JPEG at 92% quality. Other formats such as WebP and GIF are converted to JPEG the same way.

Choosing a page size for the PDF

For documents going to a government office, a bank or an employer, A4 is the safe choice. It prints straight onto standard paper, and the 10 mm margin keeps printers from clipping the edges. Long, narrow photos such as receipts still fit on portrait A4 with their ratio intact.

For material that will only be viewed on screen, such as design drafts, comic pages or a set of screenshots, Original size works better. Each page matches its image with no margin, so zooming in a PDF viewer shows the original pixels. If you print such a PDF, the printer will shrink it to fit the paper.

If you are photographing paper documents without a scanning app, fill the frame with the page when you shoot. This tool does not straighten or crop the background, so each photo goes onto the page exactly as taken.

Things to check before converting images to PDF

iPhone HEIC photos are included only when the browser can open them directly, as Safari can; elsewhere the file is marked 'This browser cannot open this image'. Convert it first with the HEIC to JPG Converter. Transparent areas in WebP or GIF images turn white when they are converted to JPEG.

Because originals are embedded as they are, the PDF ends up roughly as large as the photos combined. Ten 4 MB photos produce a PDF of around 40 MB, which can exceed attachment limits. In that case shrink the photos with the Image Resizer first and then make the PDF.

All images are processed in device memory, so dozens of high-resolution photos at once may be slow or fail on a phone. The tool also does no text recognition (OCR), so text in the resulting PDF is part of the picture and cannot be searched or copied.

FAQ

Are my photos uploaded to a server?

No. Reading the images and building the PDF are both done by pdf-lib inside this browser, and the result downloads straight from your device. Sensitive images such as ID copies never leave it.

Does converting JPG to PDF reduce quality?

JPG and PNG data is embedded unchanged, so quality stays the same. Only JPGs rotated by EXIF orientation and other formats such as WebP are redrawn on a canvas and saved as JPEG at 92%.

Why is my phone photo lying on its side in the PDF?

The tool reads each JPG's EXIF orientation and turns it upright before adding it. If a photo is still sideways, the orientation was recorded incorrectly when it was taken; rotate and save it in your photo app, then add it again.

How is the page orientation chosen for A4?

Images wider than tall go on landscape A4, and portrait and square images on portrait A4. This is decided per image, so one PDF can mix orientations.

How large is an Original size page?

One pixel is treated as 1 pt (1/72 inch). A 1200×800 image becomes a 1200×800 pt page, about 423×282 mm. Images with a side over 14400 pt are scaled down to fit.

Can I turn iPhone HEIC photos into a PDF?

Only if your browser can open HEIC. If it cannot, the list shows an error for that file; convert it with the HEIC to JPG Converter first and add the JPG.