Skip to content

JPG to PDF Converter

Combine JPG, PNG, or WebP photos into a single PDF. Pick A4, Letter, or fit-to-image page sizes.

In your browseryour files never leave your device.

Learn more

Files never leave your browser. Image-to-PDF conversion runs 100% locally. Transparency in PNG and WebP is flattened to white.

About this tool

If you have a stack of phone-camera scans, photographed receipts, or screenshots and you need them as one PDF, this is the tool. Drop in JPG, PNG, or WebP files (they can be mixed in one batch), drag them into the order you want, pick a page size (A4, Letter, or fit-to-image) and an orientation, and the page builds a single PDF where each image becomes one page. Everything happens in your browser using pdf-lib and the Canvas API — no upload. PNG transparency gets flattened to white because PDFs need a background; if that matters for your use case, switch your image source to put a real background in before converting. The how-to below covers the page-size choice (which trips up first-time users) and the FAQ answers what happens to image quality, why drop order can come out wrong, and what to do for HEIC files from an iPhone.

How to jpg to pdf converter

  1. Drop in your images

    Up to 50 at a time. JPG, PNG, and WebP all work, and you can mix formats in one batch. Each shows as a thumbnail you can drag to reorder.

  2. Drag tiles to reorder

    The output page order follows screen order. Drag images around until they match the order you want in the final PDF — drop order from Finder or Explorer is not always reliable.

  3. Pick page size and orientation

    A4 or Letter at portrait/landscape, or "fit" mode where each PDF page matches the source image dimensions exactly. Adjust the margin if you want padding around the image.

  4. Click Convert and download

    Each image becomes one PDF page. A 30-image batch finishes in about 5-10 seconds and downloads named after your first image (e.g. scan-001-and-29-others.pdf).

Features

JPG, PNG, and WebP supported

Mix any of the three in one batch — useful when you have phone photos (HEIC converted to JPG), screenshots (PNG), and some newer downloads (WebP) all in one project. PNG and WebP get re-encoded as JPEG internally because pdf-lib only natively embeds JPG and PNG, and re-encoding gives much smaller PDFs than keeping PNG everywhere. The trade-off is that PNG transparency is flattened to white. JPGs pass through without re-encoding so their quality is identical to the source file.

Three page sizing modes

A4 (210x297mm) or Letter (8.5x11in) for standard documents that will be printed or shared by people in standard regions. "Fit to image" makes the PDF page exactly the size of each input image, useful for screenshots or non-standard ratios where forcing A4 would add ugly white space. Margin is adjustable (in points) so you can put padding around the image if you want a tidy border, or set it to zero for edge-to-edge image-as-page output.

Drag-to-reorder before conversion

Each uploaded image shows up as a thumbnail you can drag into position. Browsers do not always preserve the order you dropped files in (especially on macOS Finder, which sometimes scrambles by name vs. by date depending on the source folder), so being able to fix the order before you click Convert is the difference between getting your document right and re-doing it. Order matters — the PDF pages come out in screen order, which is what you see in the thumbnail row.

No upload, runs locally

Image processing happens entirely in your browser using the Canvas API for decoding and pdf-lib for the PDF assembly. Useful when the images contain sensitive content (IDs, financial documents, medical scans) and you do not want to upload them to a random server even with a privacy policy. Verify in the Network tab — no outgoing requests carry the image bytes. The page itself loads from our CDN once on visit; after that, all operations are local.

Frequently asked questions

Will my image quality be preserved?
Mostly yes. JPGs are embedded directly without re-encoding, so quality is identical to the source. PNG and WebP get re-encoded as JPEG at quality 92, which is visually near-lossless for photos but can introduce subtle compression on hard edges (line art, screenshots of text). If you have crisp screenshots you need to keep pixel-perfect, that re-encoding is the trade-off — the resulting PDF file is much smaller than it would be with the PNGs kept as-is.
Why is my PNG's transparent background now white?
PDFs need a background — there is no "transparent canvas" in PDF the way there is in PNG. When a PNG with transparency goes into a PDF, the transparent areas need to become something, and white is the standard choice (and what every PDF reader expects). If you need real alpha transparency you would have to use a different format (vector PDFs that natively support transparency layers, which are produced by Illustrator or Affinity Designer), but that is well beyond this tool's scope.
I dropped 30 files in but they came out in the wrong order. Why?
Browsers do not always preserve file order when you drag-and-drop from Finder or Explorer, especially on macOS where the underlying file system can return entries in inode order rather than name or date order. The fix is to use the drag-to-reorder feature — after dropping the files in, drag the thumbnails into the right order before clicking Convert. Or upload the files one at a time in the order you want, which forces the order to be correct because each click appends to the end.
Can I add HEIC files from my iPhone?
Not directly. HEIC is not in the supported list because browser support for decoding HEIC is still spotty in 2026 — Safari handles it on macOS, but Chrome and Firefox often do not. The fix is to convert HEIC to JPG first — on iPhone, open the photos in the Photos app and use Share > Save to Files as JPG. On Mac you can drag HEICs into Preview and export as JPG. Then come back and upload the JPGs.
How many images can I combine?
50 in a single batch is comfortable on a modern laptop. The limit is browser memory because all images are decoded to canvases before the PDF is written. For very large batches (50+ high-res phone photos) you can split the conversion: do batches of 25-30, then merge the resulting PDFs with the merge tool. The page reports memory errors cleanly if you hit the ceiling, so you do not lose the rest of your batch when one upload is too big.