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).

Why use this tool

You photographed a 30-page document with your phone (because you do not have a scanner) and need to send it as one PDF, not 30 attachments. You scanned both sides of every page of a passport, ID, or rental application using a phone app, and the receiving party wants one combined PDF. You took screenshots of a chat thread or web pages as evidence and need them in a single archive document. You are building a portfolio submission where the brief is clear: "one PDF, JPG or PNG accepted" — but you do not want to dig out Word or Pages just for this. You scanned a stack of receipts for expense claim and the system wants a single combined PDF rather than individual images. You are submitting a visa or immigration form that requires document scans bundled into a single PDF. The page handles up to 50 images per batch comfortably, which covers most "scan with my phone" workflows.

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.

Privacy & security

This tool runs entirely in your browser. Your files are never uploaded to a server — every step of the process (reading, transforming, downloading) happens on your device using JavaScript and the Web APIs. You can verify this in your browser's network tab: clicking the tool's main action triggers zero requests to our servers. The page itself is served over HTTPS, but once it loads, your data stays put. No accounts, no tracking of file contents, no scanning your inputs.

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.
Is the conversion done locally?
Yes. Everything — image decoding, canvas rendering, JPEG re-encoding for PNGs/WebPs, PDF assembly — happens in your browser. The Network tab will confirm no outgoing requests are made with the image bytes. This matters for sensitive documents like IDs, financial statements, or medical photos where uploading them to a third-party converter would be the larger risk than whatever you are trying to combine them for.
Can I make a PDF where each image fits the page differently?
Currently no — you pick one page sizing mode for the whole batch. If you have mixed orientations (some portrait, some landscape photos), use "fit" mode and each PDF page will match its source image dimensions. If you must have mixed A4/Letter pages within one PDF, build the doc in two halves with different sizing modes and merge them with the merge tool. The two-step flow is annoying but rare; most batches are consistent in orientation.
What about really big images? Will they be downscaled?
No, the tool embeds images at their source resolution. A 12-megapixel phone photo stays 12 megapixels in the PDF. If you want smaller file sizes for sharing, run the images through the image-compressor tool (in related-tools below) before converting. For receipt-stack-style use, 1-2 megapixel scaled versions usually look fine in the final PDF and weigh much less.
Will the PDF be searchable?
No, not by text. The PDF contains the images as embedded JPEGs; there is no extracted text layer. If you need searchable PDFs from photos of paper documents (e.g. for archiving), run the images through OCR first (Adobe Acrobat OCR, Tesseract, or ABBYY) to produce text-layered PDFs, then merge those instead of starting from raw images.
Does the margin setting matter?
Yes — it controls the white space around each image on its PDF page. Margin 0 makes the image fill the page edge-to-edge (good when you want the image to look like the page). A non-zero margin in points adds breathing room (good when the PDF will be printed and you want a border, or when the recipient needs space to write notes). The default is a small margin; adjust to taste before clicking Convert.
What is the difference between fit-to-image and A4 page sizing?
Fit-to-image makes each PDF page exactly the dimensions of its source image, with no white space or letterboxing. A 4:3 photo becomes a 4:3 PDF page; a vertical screenshot becomes a vertical PDF page. A4 (or Letter) forces every page to the same standard size and centers the image inside it, adding white margins if the aspect ratio does not match. Use fit-to-image when the recipient just needs to view the content; use A4 when the PDF will be printed on standard paper.
Why is my final PDF so much larger than the sum of my images?
Usually it is roughly the sum of the input image sizes plus a small per-page PDF overhead. If you see a much larger output, your PNGs or WebPs were re-encoded as high-quality JPEGs (quality 92) and the re-encoded versions can sometimes be bigger than the original PNG for content that compressed well as PNG. Run the output through the PDF compress tool if you need to shrink it. For most photo-stack inputs, the math comes out approximately right.
Can I edit the PDF after conversion to add text or annotations?
Yes — the output is a regular PDF, and any PDF editor can annotate it (Adobe Acrobat, Mac Preview's markup tools, Foxit, Xournal++). The images embedded in the PDF stay as image objects and can be reordered, deleted, or replaced. If you want to add a text caption under each image, use Preview's annotation tools or use a Word workflow (drop images into Word, add text, then export with the word-to-pdf tool).