JPG to PDF Converter

Place JPEG photos onto PDF pages in your browser and download one PDF. The photo is placed on the page. It is not run through OCR. Your photos remain.

Tested on

518 bytes, 1 by 1 px became 1438 bytes, 1 page. Embedded fixtures/tier-a-pixel.jpg with pdf-lib embedJpg and drew it on one page, the same library JPG to PDF uses for a JPEG. Last tested 28 November 2026.

How to use this tool

  1. Add JPEG or PNG files. The drop zone accepts image/jpeg and image/png.
  2. Under Layout options, set Page size to Fit to image or Letter (centered).
  3. Set Margin in points. The field allows 0 through 72.
  4. Choose Create PDF. While it runs, the progress label is Creating PDF and the button says Creating….
  5. The download is named images.pdf. The success toast says PDF ready.
  6. A WebP, a HEIC, or a broken file ends in Images to PDF failed, with the note Use JPG or PNG images and try again.

One picture, one page

Each file becomes one page, in the order you added them. There is no per-page rotate control on this screen and no setting for two pictures on one sheet. If you need a different order, remove a row and add the files again in the order you want.

Fit to image adds a page whose width is the image width plus twice the margin, and the same for height. The picture is drawn at its pixel size in points. A 3000-pixel-wide photo becomes a very wide page. That is useful when you want no scaling, and awkward when someone will print on letter paper.

Letter (centered) always uses 612 by 792 points. The picture is scaled down so it fits inside the page after the margin is subtracted. It is not cropped. Empty bands appear when the photo’s shape is not the shape of the page.

Which files actually embed

The encoder calls embedJpg unless the file type contains png, in which case it calls embedPng. A JPEG from a phone is the normal case for this page. A PNG also works, even though the page title says JPG, because this screen shares the image-to-PDF encoder.

WebP is not embedded. HEIC is not embedded. Renaming a HEIC to .jpg does not change the bytes, and the embed step fails. Convert that photo to JPEG first, then add the JPEG.

The failure toast is Images to PDF failed. Its description is Use JPG or PNG images and try again. It does not say which file in a batch was the problem. Remove the last file you added and try Create PDF again.

What you should check in images.pdf

Open the download and look at the first and last pages. The page count should match the number of rows. A missing page means a file was removed from the list, not that the encoder skipped it silently after a success toast.

On Letter (centered), look at small text in a screenshot. Scaling a wide screenshot onto a letter page makes that text smaller. Fit to image keeps the pixel dimensions and leaves the print size up to the reader.

Transparency in a PNG is drawn on the page. The page itself has no separate background color control here. If you need a flat JPEG with a white background, flatten it before you add it. The success toast is only PDF ready. It does not list the page size you picked, so glance at the layout fields once more if you might have left Letter selected.

Common questions

Does this page accept only JPEG?
The encoder accepts JPEG and PNG. WebP and HEIC fail with Use JPG or PNG images and try again.
What does Fit to image do?
The PDF page matches the picture plus the margin. There is no scale step. A large photo makes a large page.
Can I put four photos on one page?
Not here. Each file is its own page. There is no per-sheet count.
Will the JPEG stay a separate photo inside the PDF?
The JPEG is placed on a PDF page. Fit to image makes the page follow that picture. This page does not put four photos on one sheet, and it does not replace the JPEG you added.