PDF Tools

How to Merge Images Into a PDF: The Complete 2025 Guide

Learn how to combine multiple images (JPG, PNG, WebP) into a single PDF document. Covers page sizes, margins, image fit modes, and free browser-based conversion.

DocsConverter TeamJune 17, 20259 min read

Why Would You Need to Convert Images to PDF?

In a world of cloud storage and image viewers, the question "why PDF?" comes up often. The answer is practical: PDFs are the universal standard for documents that need to maintain their appearance across different devices, operating systems, and applications. Images, by contrast, may display differently depending on the viewer, screen resolution, and application settings.

Here are the most common reasons people need to merge images into a PDF:

  • Scanning documents — When you photograph physical documents (receipts, contracts, certificates) with your phone, you get individual JPGs. Merging them into a PDF creates a single, professional document file.
  • Submitting applications — Many government portals, banks, and universities require documents in PDF format. If your documents are photos (passport, utility bills, ID cards), you need to convert them to PDF before uploading.
  • Creating portfolios — Designers, artists, and photographers often compile work samples from multiple image files into a single PDF portfolio for easy sharing.
  • Sharing multiple screenshots — When reporting a bug, documenting a process, or creating a visual tutorial, merging screenshots into a PDF creates a single shareable document that preserves the sequence.
  • Archiving photos — For long-term storage, PDF is a more structured and self-describing format than a folder of loosely named image files.
  • Email and size limits — Some email systems handle a single PDF attachment better than multiple image files. Merging images into one PDF can also reduce total file size depending on image content.

Understanding PDF Page Sizes

When you convert an image to PDF, you're placing that image on a virtual page. Understanding page sizes ensures your document looks correct when printed or viewed at standard zoom levels.

Page SizeDimensions (mm)Common Use
A4210 × 297 mmStandard paper in most of the world (India, Europe, Australia)
A3297 × 420 mmPosters, large format prints, architectural drawings
Letter215.9 × 279.4 mmStandard paper in USA and Canada
Legal215.9 × 355.6 mmLegal documents in USA
CustomAny dimensionsSpecific requirements (photo books, ID card sized documents)

If you're creating a PDF purely for screen reading and digital sharing — not for printing — you can also match the page size to the image dimensions exactly. This prevents any borders or scaling and creates a PDF where each page is exactly one image.

Image Fit Modes Explained

When your image dimensions don't exactly match the page dimensions (which is almost always), you need to choose how the image fits on the page:

Fit (Contain)

The image is scaled down (or up) so that it fits entirely within the page, maintaining its original aspect ratio. White margins appear around the image where the page is larger than the image. This is the safest option — nothing is cropped, and the full image is always visible.

Best for: Documents, screenshots, scanned papers where showing the full content matters more than filling the page.

Fill (Cover)

The image is scaled so that it completely fills the page, maintaining aspect ratio. Portions of the image that extend beyond the page boundaries are cropped. No white margins.

Best for: Photos and artwork where having a clean, full-bleed page appearance is more important than showing every pixel of the image.

Stretch

The image is stretched to exactly match the page dimensions, ignoring the original aspect ratio. This fills the page completely but distorts the image if the aspect ratios don't match.

Best for: Rarely recommended. Only use when the image's original aspect ratio happens to match the page size closely.

Original Size

The image is placed at its actual pixel size (at 72 DPI). High-resolution images may extend beyond the page boundaries. Low-resolution images will appear small with large margins.

Best for: When you need pixel-accurate placement and you know the image dimensions match your page requirements.

How to Merge Images Into a PDF Using DocsConverter

Our free Image to PDF Converter lets you combine multiple images into a single PDF in your browser. Your images are never uploaded to any server — everything is processed locally.

  1. Open the tool — Navigate to docsconverter.in/image-to-pdf. No account or sign-in required.
  2. Upload your images — Drag and drop multiple image files onto the upload area, or click to browse. Supported formats: JPG, JPEG, PNG, WebP. You can add as many images as needed.
  3. Arrange the page order — Drag images to reorder them. The sequence you set here becomes the page order in the final PDF. This is especially important for multi-page documents where sequence matters (steps in a process, pages of a scanned contract).
  4. Rotate images if needed — Each image has individual rotation controls. Rotate clockwise or counter-clockwise to correct orientation without returning to your image editor.
  5. Choose page settings — Select your page size (A4, Letter, A3, Legal, or Custom), orientation (Portrait or Landscape), and margin preset (None, Small, Medium, Large).
  6. Select image fit mode — Choose how images are scaled: Fit (shows full image with margins), Fill (crops to fill page), or Original Size.
  7. Generate and download — Click "Create PDF" to generate your document. The resulting PDF downloads directly to your device.

Tips for High-Quality Image-to-PDF Conversion

Start With High-Resolution Source Images

PDF conversion doesn't add resolution — it can only work with what's already in your image. For documents intended for printing, start with images captured at the highest quality setting. Phone cameras in their default settings typically produce images at 3000–4000 pixels wide, which is sufficient for A4 print at 300 DPI.

Choose the Right Orientation

Portrait orientation (taller than wide) is correct for most documents. Landscape (wider than tall) works better for slides, certificates in landscape format, and wide images. Using the wrong orientation forces your images to display sideways or with excessive scaling.

Use Margins for Professional Documents

A small margin (10–15mm) makes PDFs look more professional and prevents content from being cut off by printers that have non-printable border areas. For ID documents and photographs where you want the image to fill the page, use zero margins with the Fill fit mode.

Compress Images Before Converting (Optional)

If file size is a concern — for email attachments or upload size limits — compress your images before converting to PDF. Use our Image Compressor to reduce file size, then convert with the Image to PDF tool. This typically produces a much smaller final PDF than compressing after conversion.

Check the Order Before Generating

For multi-page documents, review the image sequence carefully before clicking Create PDF. Re-ordering pages in a PDF after creation requires additional tools. Our Image to PDF converter shows a visual preview of the order — take a moment to verify it's correct.

Common Image-to-PDF Use Cases with Specific Settings

Scanned Passports and ID Documents

Page size: A4 or matching the document's original size | Fit mode: Fit | Margins: Small | Orientation: Portrait. Important: keep ID photos at reasonable resolution for legibility but don't use Fill mode (which might crop the document edges).

Photography Portfolio

Page size: A4 or Custom to match your images' aspect ratio | Fit mode: Fill for a clean full-page look | Margins: None | Orientation: Match each image's orientation individually.

Multi-Page Scanned Contract

Page size: A4 or Letter (depending on original document size) | Fit mode: Fit | Margins: None (scanned images already have borders) | Orientation: Portrait. Ensure correct page sequence before generating.

Bug Report Screenshots

Page size: Custom (match screenshot dimensions) or A4 | Fit mode: Fit | Margins: Small | Orientation: Landscape (most screenshots are wider than tall).

Frequently Asked Questions

Can I convert PNG images to PDF?
Yes — DocsConverter's Image to PDF converter supports JPG, PNG, and WebP formats. PNG images with transparency are supported; the transparent areas are replaced with a white background in the PDF output.

Is there a limit on how many images I can merge?
There's no hard limit imposed by the tool. The practical limit depends on your device's available memory. Most devices can comfortably handle 50–100 images in a single conversion.

Will the PDF be editable?
No — images converted to PDF produce image-based pages. The text in an image (like a scanned document) is not selectable or searchable in the resulting PDF. For searchable PDFs from scanned documents, you need OCR (Optical Character Recognition) software, which is a separate process.

Does the tool compress images inside the PDF?
The tool embeds images at their original quality. If you need a smaller PDF file, compress your images first using our Image Compressor, then convert to PDF.

Are my images uploaded to any server?
No. The entire conversion process runs inside your browser using the pdf-lib JavaScript library. Your images never leave your device. This makes it safe to use with sensitive documents like contracts, medical records, or identity documents.

What PDF viewer should I use to open the result?
Any standard PDF viewer works: Adobe Acrobat Reader (free), browsers (Chrome, Firefox, Safari all have built-in PDF viewers), Preview on macOS, or the Files app on iOS and Android.

Tags

image to pdfmerge imagescreate pdfJPG to PDFPNG to PDFpdf tools

Try Our Free Tools

All 39+ DocsConverter tools are 100% free, browser-based, and require no sign-up.