Skip to content

5 min read · Updated 2026-09-19

How to convert JPG images to PDF

Images go into a PDF as embedded objects on pages you define. The page-size and fit settings decide whether your photo is letterboxed, cropped or distorted.

Putting images into a PDF wraps each one in a page. The image data itself is embedded, not re-rendered, so quality is preserved — but a page has fixed dimensions and an image has its own aspect ratio, and the settings exist to resolve that mismatch. Getting them wrong is how photos end up stretched or with their edges cut off.

5 steps

The procedure

Steps for a MyPDFilles tool run in your browser tab. When a guide directs you to external software, its own privacy and security practices apply.

  1. 01

    Add your images

    Drop in one or many. JPG, PNG and WebP are all accepted, and you can mix formats in a single document since each is embedded on its own page.

  2. 02

    Put them in order

    Drag the cards into sequence. The order shown is the page order, which matters most when the images are pages of a scanned document rather than an unordered set of photos.

  3. 03

    Choose page size and orientation

    Auto matches each page to its own image, so nothing is letterboxed or cropped. A4, Letter, A3 and Legal force a standard size. Orientation can be auto per image, or locked to portrait or landscape.

  4. 04

    Set the margin and the image fit

    Margin defaults to zero, giving a borderless page. Fit is only relevant on a fixed page size: Contain shows the whole image and may letterbox, Cover fills the page and crops the overflow, Fill stretches to the page and ignores aspect ratio.

  5. 05

    Create the PDF and download

    Run it. One PDF comes out containing every image as a page, in the order you set.

Beyond the steps

What is actually happening

01

Auto page size versus a standard size

Auto gives each page the dimensions of its image, converted at 72 points per inch. No part of the image is hidden and no empty space is added, and a mixed set of portrait and landscape photos simply produces mixed pages. This is the right default for a photo album, a set of receipts, or anything that will only ever be viewed on screen.

A standard size is what you want when the document will be printed or filed. A printer feeds sheets of a fixed size, and pages that vary get scaled inconsistently or rejected. A4 is 595 × 842 points and Letter is 612 × 792, and choosing one means every page in the output matches it regardless of what the images were.

The moment you fix the size, the aspect-ratio mismatch appears and the fit setting starts to matter. That is the trade: auto guarantees fidelity and irregular pages, fixed guarantees consistent pages and requires a decision about the mismatch.

02

Contain, Cover and Fill — pick the one that loses what you can afford

Contain scales the image until it fits entirely within the page, leaving bands of empty page along two edges when the ratios differ. Nothing is lost and nothing is distorted. For a scanned document this is nearly always correct, because a cropped edge might be a page number, a signature line or a margin note.

Cover scales until the image fills the page completely and lets the overflow fall outside. The page looks deliberate and edge-to-edge, at the cost of losing image content on two sides. Fine for a photograph where the subject is central, wrong for anything where the edges carry meaning.

Fill stretches the image to the page in both directions independently, ignoring the aspect ratio. Everything is shown, nothing is cropped, and the result is visibly distorted — faces widen, circles become ovals, text leans. It exists for the rare case where the image was already the right proportions and you want to force an exact match, and it is almost never the answer otherwise.

03

What the conversion does and does not change about your images

The image is embedded as-is. A JPEG goes in carrying its existing compressed data, so it is not re-encoded and does not pick up another generation of loss. The PDF is therefore roughly the sum of your image files plus a small structural overhead, and a set of 4 MB phone photos makes a large PDF — the wrapping does not compress them.

What does not carry through is anything requiring a text layer. A photographed page of text is a picture of text: the PDF is unsearchable, and it stays unsearchable until OCR adds a text layer. If you are converting scans specifically so they can be filed and found later, plan on that second step.

One detail worth checking on phone photos: images often carry an EXIF orientation flag rather than storing rotated pixels. If a photo appears sideways in the output, the flag is the likely cause, and the rotation tool fixes the affected pages after the fact.

While you follow this

MyPDFilles tools process files in this browser tab.

For a MyPDFilles tool, your document is read from your disk into this browser tab and the result is handed to your browser’s download mechanism. We do not make the same claim for external applications discussed in educational guides; check their own privacy and security information before using them.

Verify MyPDFilles requests in your Network panel

Questions about this task

Will my photos lose quality?

No. The image data is embedded rather than re-encoded, so a JPEG keeps exactly the compression it arrived with. Quality changes only if you later run the PDF through compression.

How do I stop my images being cropped?

Use Auto page size, or a fixed size with the Contain fit. Cover is the setting that crops, by design, because it fills the page.

Can I mix JPG and PNG in one PDF?

Yes. Each image is embedded on its own page, so the formats can be mixed freely within a single document.

Why is my PDF as large as all the photos together?

Because it contains all the photos. A PDF is a container, not a compressor. If the size is a problem, compress the finished PDF, where you can downsample and re-encode deliberately.