How to Convert Images to PDF: A Complete Guide

Published August 25, 2026 · 7 min read

Whether you're submitting a set of scanned receipts for reimbursement, creating a photo portfolio, combining screenshots into a single document, or building a presentation from exported charts, converting images to PDF is a task that comes up constantly. This guide walks through every method — from simple one-click conversion to advanced batch processing with page sizing and margin control.

Why Convert Images to PDF?

Supported Image Formats

FormatExtensionNotes
JPEG.jpg, .jpegMost common. Lossy compression. Best for photographs.
PNG.pngLossless. Best for screenshots, text, charts with sharp edges.
WEBP.webpModern format. Smaller files than JPEG at similar quality. Supported by Chrome, Firefox, Edge.
GIF.gifSupports animation but PDFs are static — only the first frame is used.
BMP.bmpUncompressed. Very large files. Converts well to PDF.
TIFF.tiff, .tifCommon in scanning and medical imaging. Supports multi-page.

Page Sizing Options

When converting images to PDF, you need to decide how images map to pages:

Fit (Original Size)

Each image is placed on a page sized to match the image's dimensions. A 1920×1080 image becomes a landscape page of the same aspect ratio. Best for: portfolios, photo collections, presentations.

A4 (210 × 297 mm)

Each image is scaled to fit within an A4 page. This is the standard paper size in most of the world. Best for: documents that will be printed on A4 paper, European and Asian submissions.

Letter (8.5 × 11 in)

Each image is scaled to fit within a US Letter page. Best for: US-based documents, academic submissions, business correspondence.

Legal (8.5 × 14 in)

Longer than Letter. Used for legal documents and contracts in the US.

Step-by-Step: How to Convert Images to PDF

Using our Images to PDF Tool (Browser-Based)

  1. Select your images. Click the upload area or drag and drop multiple images at once. JPG, PNG, WEBP, and GIF are all supported.
  2. Reorder if needed. Drag images to rearrange their order in the PDF.
  3. Choose page size. Select A4, Letter, Fit (original size), or set custom dimensions.
  4. Set margins. Choose between no margin, small (10mm), medium (20mm), or large (30mm) margins.
  5. Generate the PDF. Processing happens entirely in your browser using jsPDF — no file uploads.
  6. Download. Get your PDF instantly.

Using Command-Line Tools (Free)

# Using img2pdf (Python, produces small files — no re-encoding)
pip install img2pdf
img2pdf image1.jpg image2.png image3.jpg -o output.pdf

# Using ImageMagick
convert image1.jpg image2.png output.pdf

# Using Ghostscript
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf image1.jpg image2.png
⚠️ Image quality note: img2pdf copies image data directly into the PDF without re-encoding. This produces the smallest file and preserves exact image quality. ImageMagick and Ghostscript may re-encode images, which can slightly reduce quality or increase file size. For the best results, use img2pdf or a browser-based tool that doesn't re-encode.

Maintaining Image Quality in the PDF

A common concern: does converting an image to PDF reduce its quality? The answer depends on the tool:

Always verify the output by comparing a detail crop of the original image with the PDF version. If quality matters, choose a tool that performs direct embedding.

Batch Conversion Tips

When converting dozens or hundreds of images:

Common Use Cases

Conclusion

Converting images to PDF is a simple operation, but getting the best results requires choosing the right page size, maintaining image quality, and using a tool that doesn't unnecessarily re-encode your images. For most users, a browser-based tool offers the best balance of convenience, quality, and privacy — your images never leave your device.

Convert your images to PDF — free, private, instant

Images to PDF Now

Related Guides