Docuboxer
By ··Updated: ·6 min read

Convert Images to PDF Without Uploading Them

How to turn photos and screenshots into one PDF: page order, size, iPhone HEIC, final file size and what happens to EXIF data, in your browser.

To put several images into one PDF, drag them into the JPG to PDF converter, put them in order and choose a page size. Everything happens in your browser, so photos of receipts, contracts or ID cards are not uploaded to any server. This guide covers the settings that change the result, what to do with iPhone HEIC photos, what decides the final file size and which photo data travels inside the PDF.

Why convert images to PDF at all

  • Photographed documents: the photos of a contract or a paperwork process become one file you can archive or attach.
  • Receipts and invoices: several screenshots of proofs of payment in one PDF, with the pages in the order you want.
  • Portfolios and printing: many print shops ask for a PDF instead of a folder of JPGs.
  • Fixed order: a PDF opens the same on any device and keeps its page order, which loose images in a zip file never do.

How to convert, step by step

  1. Open the tool: go to JPG to PDF.
  2. Drag your images in: JPG, PNG and WebP are accepted, up to 50 MB each.
  3. Reorder: drag the thumbnails until they match the page order you want.
  4. Configure: page size, orientation, margins and how each image fits.
  5. Create and download: press Create PDF. The tool shows the page count and the size of the result before you download it.

The settings that actually matter

  • Page size: A4, Letter, Legal, A3 or Auto. With Auto each page takes the size of its image plus the margin on each side; to leave no white border, also choose Margin: No margin (the default margin is Small, 20 points).
  • Orientation: portrait, landscape or automatic, which decides image by image depending on whether it is wider than tall.
  • Margins: none, small, medium or large. None suits screenshots; a margin suits anything going to print.
  • Fit: Contain keeps the aspect ratio and shows the whole image, which is almost always right for documents. Cover fills the page and crops what overflows, so it can cut the edge of a photographed sheet. Stretch fills the page and distorts the image when the proportions differ.

Formats and limits: what the tool does with each file

It accepts JPG, PNG and WebP up to 50 MB each. It checks the real content of the file rather than the extension, so a PNG renamed to .jpg does not break it. After that each format is handled differently:

  • A regular JPG is embedded as it is, without recompressing it. A PNG is decoded and stored again without quality loss (pdf-lib writes it Flate-compressed), so its weight inside the PDF can differ from the original file.
  • A WebP cannot be embedded in a PDF, so it is converted to JPG at high quality (0.92) and its transparent pixels are filled with white.
  • A JPG with an EXIF orientation, which is common for phone photos taken upright, is also re-encoded so the page comes out the right way up.
  • HEIC and HEIF files are rejected with a notice. Convert them first.

iPhone photos in HEIC

According to Apple's documentation, an iPhone saves photos as HEIF (.heic files) when the camera is set to High Efficiency. You have two ways out. Convert the photos with the HEIC to JPG tool (the HEIC guide walks through it) and then add them to the converter. Or set Settings, Camera, Formats to Most Compatible, which saves new photos as JPG. That last option does not affect photos you already have.

How big the resulting PDF is

Because JPG files are embedded without recompressing and PNG files are stored without loss, the PDF weighs roughly what your images add up to. With many phone photos the PDF grows fast. Before creating it you can shrink the photos with the image compressor or change their dimensions with resize image. Afterwards, the guide to compressing a PDF without losing quality and the one on a PDF too large to email cover the rest.

Which photo data travels inside the PDF

Photos of documents are usually payslips, ID cards or contracts, and an image file can carry EXIF metadata, including the coordinates of where it was taken. A tool that works without uploading anything keeps a third party from receiving that data, but it does not remove it from the PDF: a regular JPG is embedded whole, EXIF block included. We checked with a test photo: the EXIF text was still in the generated PDF. Photos with an EXIF orientation and WebP files are re-encoded and come out without it.

If you are going to share the PDF, strip the metadata first with the EXIF tool. The guide to removing location from a photo explains how, and what your photos reveal lists the fields.

After you create the PDF

To add the result to another document, merge PDF files in the order you want. From a phone, the guide to photos to PDF on a phone covers the whole process, and if you need the text of a scan, see how to extract text from a scanned PDF.

Convert your images now

Free, no signup, and your photos are never sent to a server.

Open JPG to PDF →

Photos are some of the most private files on a phone. The task-by-task guide to PDF work without an upload covers the rest of the PDF jobs.

Frequently asked questions

Which image formats can be converted to PDF?

JPG, PNG and WebP, up to 50 MB each, and you can mix them in one PDF. iPhone HEIC files are not accepted directly: convert them to JPG first with the HEIC to JPG tool, or switch the camera to Most Compatible. GIF, BMP and TIFF are also better converted to JPG or PNG beforehand.

Can I put several images into one PDF and choose the order?

Yes. Each image takes one page and the pages follow the order of the list. Drag the thumbnails to rearrange them before creating the PDF, or remove one with the cross if you don't need it.

Does the PDF keep the EXIF data of my photos, like the location?

Sometimes. A regular JPG is embedded as it is and its EXIF block travels inside the PDF; photos with an EXIF orientation (many taken on a phone) and WebP files are re-encoded and do not keep it. If you are going to share the PDF, strip the metadata first with the EXIF tool instead of assuming it disappears.

What page size should I choose?

A4 or Letter for anything you will print or file. Auto gives each page the size of its image plus the margin you pick on each side; with Margin: No margin the page is exactly the image and no white border is left, which suits screenshots and portfolios. With the default margin (Small, 20 points) a 20-point border remains. A3 and Legal are for when the destination asks for that size.

How big will the PDF be?

Roughly what your images add up to. JPG files are embedded without recompressing and PNG files are decoded and stored again without quality loss, so a PNG can weigh slightly more or less inside the PDF. If the PDF is too heavy to send, shrink the photos first with the image compressor, or compress the PDF afterwards.

Does the tool upload my photos to a server?

No. The PDF is built in your browser with the pdf-lib library. You can check by opening the Network tab of your developer tools while you create the PDF, or by cutting the network after you have created a first PDF: the library is already loaded, so you can create another one offline.

Related tools

Sources