FileKit
All posts
·4 min read

How to Convert Images to PDF — Combine Photos into One Document

How to create a single PDF from multiple images — covering page size options, format considerations, and tools from browser-based to command line.

Why Combine Images into a PDF?

Scanned receipts, ID documents, photo portfolios, and presentation boards are easier to share as a single PDF than as a folder of loose image files. PDFs preserve page order, work on every device, and are universally accepted by email, cloud storage, and print services.

How to Create a PDF from Images

1. Browser-Based Conversion

FileKit's Images to PDF tool lets you drop multiple images (JPG, PNG, WebP, AVIF), rearrange them in any order, choose a page size (Auto, A4, or Letter), and build a PDF instantly. JPG and PNG images are embedded without re-encoding, so quality is preserved exactly. Everything runs in your browser.

2. macOS Preview

Select your images in Finder, right-click → Open With → Preview. Show the sidebar, arrange thumbnails in order, then File → Export as PDF. Clean and simple, but Mac-only.

3. Command Line with ImageMagick

magick *.jpg -auto-orient output.pdf

The -auto-orient flag respects EXIF rotation data from phone cameras, preventing upside-down or sideways pages.

Page Size and Layout Tips

  • Auto — Each page matches its image dimensions. Best for photos and scanned documents where you want pixel-perfect output.
  • A4 / Letter — Standard paper sizes. Images are centered and scaled to fit within margins. Best for printing.
  • Use portrait orientation for documents and landscape for wide photos or panoramas.

Image Format Considerations

  • JPG and PNG are embedded directly — zero quality loss
  • WebP, AVIF, GIF, and BMP are decoded and re-saved as JPEG before embedding
  • For the smallest PDF, pre-compress your images before combining them