LocalTools All tools →

JPG to PDF

Combine JPG, PNG, WebP and HEIC images into a single PDF. Drag to reorder, choose page size and orientation, set margins. Everything runs in your browser — nothing is uploaded.

Upload images

⬆
Drop images here or click to browse

Combine any number of images into one PDF

JPG · PNG · WebP · GIF · HEIC · No upload

Convert JPG, PNG, WebP and HEIC to PDF — in your browser

This is a free image-to-PDF converter that combines JPG, JPEG, PNG, WebP, GIF and HEIC photos into a single PDF document without uploading anything. Everything happens locally in your browser using JavaScript, so your photos, screenshots, scanned documents and ID pictures never leave your device.

Unlike most online converters that upload your images to a server, keep them for hours, watermark the output, or require an account, this tool reads the images into memory on your machine, embeds them in a PDF, and gives you a downloadable file. You can disconnect from the internet after the page loads and keep using it.

How to convert JPG to PDF

  1. Add your images. Drop one or many images onto the drop zone, or click to browse. Multiple files can be selected at once. You can also paste from the clipboard.
  2. Check the list. Every image shows its filename, pixel dimensions and file size. Images that fail to open are marked in red.
  3. Reorder. Drag any image in the list to move it up or down. The list order becomes the page order in the PDF.
  4. Choose page settings. Pick a page size (A4, Letter, Fit to image, etc.), orientation, margins and scaling mode.
  5. Convert. Click Convert to PDF. A progress bar shows how many images have been embedded.
  6. Download. Click Download PDF. The file is saved with a date-based name like images-2026-10-12.pdf.

Page size options

The right page size depends on what you plan to do with the PDF:

SizeDimensionsBest for
Fit to imageEach page = its imageScanned documents, screenshots, keeping original quality
A4210 × 297 mmStandard international paper
Letter8.5 × 11 inStandard US paper
A3297 × 420 mmPosters, large prints, detailed diagrams
A5148 × 210 mmBooklets, notebooks, small prints
Legal8.5 × 14 inUS legal documents and contracts

If you're unsure, choose Fit to image — it produces the smallest PDF and preserves every pixel of every image without any letterboxing or cropping.

Image scaling explained

When the page and the image have different shapes, scaling determines what happens:

  • Contain — the image is scaled to fit entirely inside the page. Empty space appears on the sides or top and bottom. This is the default and the safest choice — nothing gets cut off.
  • Cover — the image fills the entire page, cropping the edges. Best for full-bleed layouts like photo albums where you want no white borders.
  • Stretch — the image fills the page exactly, distorting if aspect ratios differ. Rarely the right choice, but sometimes useful for template-style documents.

With Fit to image as the page size, scaling is irrelevant — the page always matches the image exactly.

Supported image formats

  • JPG / JPEG — embedded directly at full quality. This is the fastest format to convert.
  • PNG — embedded directly, including transparency. Transparent areas become white in the PDF.
  • WebP — decoded in your browser first, then embedded as PNG. Modern web images convert seamlessly.
  • GIF — the first frame is used. Animated GIFs become a static image in the PDF.
  • HEIC / HEIF — iPhone and iPad photos are decoded in your browser using heic2any, then embedded as PNG. No separate conversion app needed.

How the conversion works

The tool uses three open-source libraries that run entirely in your browser:

  • pdf-lib — creates the PDF document and embeds images as PDF objects.
  • heic2any — decodes HEIC files from iPhones into standard PNG, only loaded when a HEIC file is added.
  • Canvas API — re-encodes WebP, GIF and any unusual formats to PNG before embedding.

JPG and PNG images are embedded directly without re-encoding, so they keep their original quality and file size. Other formats go through a lossless canvas step. Either way, no visible quality loss occurs.

Common uses

  • Scanned documents. Combine photos of multiple pages into one PDF for emailing or uploading.
  • Photo albums. Turn a folder of photos into a shareable PDF that opens on any device.
  • Receipts and invoices. Assemble photos of receipts into a single file for accounting.
  • Portfolios. Combine design work, screenshots or mockups into one PDF for clients.
  • Applications. Attach ID photos, certificates and reference letters as one PDF.
  • Presentations. Combine diagrams and screenshots into a printable document.
  • Legal evidence. Bundle photos of damage, scenes or documents into a court-ready PDF.
  • Real estate. Combine property photos into a single PDF brochure for buyers.
  • Medical records. Merge photos of lab results and prescriptions into one file for a specialist.
  • Schoolwork. Combine handwritten assignment photos into one submission.

Your privacy is protected

Every operation happens in your browser. Images are read into memory, embedded in a PDF, and written back to disk by your own device. No image is ever sent to any server, logged, or retained.

The only network requests the page makes are for three open-source libraries — pdf-lib, heic2any and Google Fonts — all loaded from public CDNs when the page first opens. After that, the tool works entirely offline. You can disconnect from the internet and keep converting.

This makes the tool safe for sensitive photos: passport scans, ID cards, medical documents, family photos you wouldn't want on someone else's server.

What this converter can't do

Being honest about limits is more useful than pretending they don't exist. This converter does not:

  • Convert PDF to images. Use PDF to Image for that.
  • Merge PDFs. Use Merge PDF for combining existing PDFs.
  • Edit images before converting. Crop, rotate or adjust colors first with an external editor, or use our Image Editor.
  • OCR text from images. Text in a JPG is not recognized — the PDF contains the image as-is. For searchable text, run the image through an OCR tool first.
  • Compress the output aggressively. Images are embedded at full quality, so the PDF size is roughly the sum of the image sizes. To reduce, compress the images before converting.
  • Add password protection. The output is an unprotected PDF. Encrypt it with a separate tool if needed.

Troubleshooting

  • "Still reading image…" — a large HEIC or WebP is being decoded. Wait a few seconds. If it never completes, the file may be corrupted.
  • "Could not decode image" — the file is damaged or uses an unusual sub-format. Try opening it in a photo viewer first.
  • PDF is very large — total image size is over 100 MB. Compress images first, or convert in smaller batches.
  • HEIC files don't convert — the heic2any library hasn't loaded yet. Refresh the page. If on a slow connection, wait a moment after the page loads before adding HEIC files.
  • GIF only shows the first frame — this is expected. PDFs are static documents. Animated GIFs become a single static image.
  • Transparent PNGs show a black background — this should not happen, but if it does, re-save the PNG with a white background and try again.
  • Page margins look wrong — check that the margin select isn't set to "None" when you expected "Standard". Margins apply uniformly to all pages.
  • Mobile browser crashes on many images — memory limit reached. Convert in batches of 20–30 images at a time.

Common questions

Can I combine multiple images into one PDF?

Yes. Drop as many images as you like. Drag to reorder them, then click Convert to PDF. Each image becomes one page.

Which image formats are supported?

JPG, JPEG, PNG, WebP, GIF and HEIC. The tool converts everything to PDF in your browser.

Can I choose the page size?

Yes. Choose A4, Letter, A3, A5, Legal or Fit to image. Set orientation to portrait, landscape or auto-match.

Are my images uploaded?

No. Everything happens in your browser. Your images never leave your device.

Does converting reduce image quality?

No. Images are embedded at full resolution. Choose Fit to image to keep them at their original pixel dimensions.

Can I combine HEIC photos from my iPhone?

Yes. HEIC images are decoded in your browser first, then embedded in the PDF. No conversion app needed.

Is there a file size limit?

No hard limit, but PDFs over 100 MB may be slow to generate on low-end devices because processing happens in memory.

What's the maximum number of images?

No fixed limit. PDFs with 500 or more images can take a minute to build. The progress bar shows the current state.

Can I reorder images before converting?

Yes. Drag any image to move it up or down in the list. The order in the list becomes the page order in the PDF.

What does Fit to image mean?

Fit to image makes each PDF page the exact size of its source image. Best for scanned documents, screenshots and keeping original quality.

Can I add margins to the PDF pages?

Yes. Choose from None, 10pt, 20pt, 36pt or 72pt margins. Margins apply uniformly to all pages.

Does it work on iPhone and Android?

Yes. Tap the drop zone to select photos from your camera roll, reorder with the drag handle, and download directly to your device.

Can I convert images to PDF offline?

Yes. After the page loads once, the tool works entirely offline. Disconnect from the internet and keep converting.

How is this different from Adobe Acrobat?

For converting images to PDF, nothing — it does the same job. Acrobat offers OCR and form creation, but for creating PDFs from images this tool matches it for free and without uploading.