Images are easy to create and awkward to send. A phone fills up with JPG photos, scans arrive as PNGs, and anything that has to be submitted, printed or filed — an application, an expense claim, a portfolio, a signed form photographed on a kitchen table — is expected to arrive as one PDF. This guide explains how the converter above works, what its page settings genuinely do, how your images are treated on the way into the document, and the one limitation worth knowing before you rely on the result: the pages are pictures, not searchable text.
How to convert JPG to PDF, step by step
Drop your images onto the upload area, or click it to browse. You can add several at once, and JPG, JPEG and PNG files can be mixed freely in the same document. Every file appears in a list with a thumbnail, its name and its size, and a running line under the list shows how many images you have added and their combined size. Move an image with the ↑ and ↓ buttons on its row, or remove it with ✕. Adding the exact same file twice (same name and same size) is detected and skipped, so a stray double-click does not create a duplicate page. Then choose your page settings and click Convert to PDF. The preview shows a labelled thumbnail of every page, the page count, the size of the finished PDF and the size of your images, so you can confirm everything before the file is saved as jpg-to-pdf.pdf.
Your list survives a conversion. If you spot a missing image afterwards, add it, fix the order and click Convert to PDF again — each download is the complete document exactly as it stands at that moment.
How this converter works under the hood
The whole conversion happens inside your browser tab. The page reads each file locally with the browser's FileReader API, decodes it the same way your browser displays it, draws it once onto a canvas at its full original pixel size, and hands the result to the jsPDF library (version 2.5.1), which assembles the PDF document on your device. Your images are never uploaded to a server — there is no server involved at all — and closing the tab leaves nothing behind.
Drawing through the browser's decoder, rather than embedding the raw file, is a deliberate choice with two practical effects. First, the rotation flag stored inside phone photos is applied as the image is drawn, so a portrait photo stands upright in the PDF instead of lying on its side. Second, every format is handled the same predictable way, as the table shows:
| Format you add | How it is handled | What to expect |
|---|---|---|
| JPG / JPEG | Decoded by the browser, drawn at full resolution, re-encoded as JPEG at 92% quality | Correct rotation for phone photos; no visible change at full size |
| PNG | Decoded by the browser, drawn over a white background, re-encoded as JPEG at 92% quality | Transparent areas become white, because PDF pages are opaque |
That single re-encode is described honestly, with its quality setting, in the quality section below — it is the only transformation your pixels go through, and there is no hidden compression slider or downscaling step behind it.
Page size, orientation and margins, explained
Three settings decide how your images sit on their pages. Unlike a simple dump of images into a file, each one is applied exactly as described here:
| Page size | Dimensions | Best for |
|---|---|---|
| A4 | 210 × 297 mm (8.27 × 11.69 in) | The safe default — prints correctly almost everywhere outside the US |
| Letter | 216 × 279 mm (8.5 × 11 in) | Documents headed to US recipients and US printers |
| Fit to image | Matches each image (pixels ÷ 96 = inches) | Photos and screenshots viewed on screen — no empty border at all |
Orientation defaults to Auto, which turns each page to match its image — portrait for a phone photo, landscape for a wide shot — so mixed sets come out right without sorting them first. Choose Portrait or Landscape to force every page the same way, which some application portals and print shops prefer. Margins reserve empty space around the image: none lets the image use the whole page, small keeps a 10 mm border, and medium a 20 mm border. A worked example: a 2000 × 1000 pixel photo on an A4 portrait page with no margin is scaled by the tighter dimension — the width — so it prints at 210 × 105 mm, centred vertically with 96 mm of page above and below it. The same photo with Auto orientation gets a landscape page and fills it far better. Whichever settings you choose, the image is always scaled proportionally to fit inside the page area: it is never stretched or cropped.
Getting the page order right
Pages follow the list from top to bottom, and the list starts in the order you added the files. The ↑ and ↓ buttons on each row move an image one place at a time, which is all most sets need. For a long set, a practical trick is to rename the files with number prefixes (01-contract.jpg, 02-invoice.jpg, 03-receipt.jpg) before adding them, because most file pickers hand files over in name order when you select them together. Whatever order you settle on, glance at the preview before downloading — every thumbnail is labelled Page 1, Page 2 and so on precisely so a wrong order is caught while it is still free to fix.
Quality, resolution and the one re-encode
Your images are placed in the PDF at their original pixel dimensions — nothing is downscaled, so zooming into a page shows the same detail as the original file. The one transformation is the encode described above: each image is drawn once and saved into the PDF as a JPEG at 92% quality. For photos, scans and documents at full resolution, a single 92% encode is not something you can see in normal use. It is, however, a fresh encode rather than a bit-for-bit copy of your file, and two kinds of content deserve a warning. Fine, sharp-edged material — small text in a PNG screenshot, a detailed diagram — can soften very slightly around hard edges, because JPEG is designed for photographs, not line art. And a transparent PNG is flattened onto white. If a page must stay pixel-perfect, keep the original image file as your master copy and treat the PDF as the sharing copy — which is good practice for anything important anyway.
What decides the size of the finished PDF
Roughly, your images do. A PDF page is the image plus a small amount of page data, so a set of multi-megabyte photos becomes a multi-megabyte PDF. The 92% re-encode usually makes photo pages a little smaller than the originals, while PNG pages can grow or shrink depending on their content — a flat PNG screenshot often compresses better as a photograph-style JPEG, a noisy one worse. If the finished file is too large to email, the PDF Compressor can shrink it afterwards, and running very large photos through the Image Compressor before converting has the same effect at the source. If the PDF comes out far smaller than expected, check that you added the full-resolution originals rather than thumbnails.
The honest limit: pictures, not searchable text
Each page of this PDF is a picture of an image. The words in it are shapes in a picture, not text the PDF understands — so searching with Ctrl+F finds nothing, text cannot be selected or copied out, and a screen reader cannot read the page. This tool does not run OCR, and no setting changes that. For photographs, receipts, certificates, forms and records, that is usually exactly what is wanted: the document's job is to be looked at and printed. But if your real goal is editable text — quoting a long passage, reusing figures, making a document accessible — the image needs an OCR tool first. The reverse journey exists too: if someone sends you a PDF and you need its pages back as pictures, the PDF to JPG Converter turns each page into an image again.
When converting images to PDF is the right move
Application and visa portals that accept one uploaded file, in PDF format only, are the classic case: a passport page, a bank statement photographed on a phone and a certificate scan become a single upload. Expense claims read properly when the receipts arrive as pages in date order instead of six attachments. Portfolios, design mock-ups and photo sets stay together and in sequence. A photographed signed form becomes a document you can email without worrying that the recipient's device will rotate or crop it. And printing is predictable: with A4 or Letter pages and a small margin, what you preview is what comes out of the printer. If the finished document later needs joining with other PDFs, the PDF Merger combines them; if it needs pages removed or rearranged afterwards, that is a job for the PDF Splitter and Merger together.
Sister tools cover the neighbouring jobs: JPG to PNG and PNG to JPG swap a single image's format, JPG to WebP prepares images for the web, and Screenshot to PDF is tuned for turning captures into documents.
Common mistakes when converting JPG to PDF
- Converting the small copy. Messaging apps and email clients shrink photos before sending. Convert the original from your camera roll or files, not the compressed copy someone sent you.
- Forcing one orientation on a mixed set. Portrait pages make landscape photos small, and vice versa. Leave Orientation on Auto unless a portal demands uniform pages.
- No margin on a document you will print. Most printers cannot print to the very edge of the sheet, so edge content can be clipped. A small margin costs nothing and prevents it.
- Skipping the preview. The thumbnails exist so you can catch a wrong order, a duplicate or a missing page before the file leaves your device.
- Expecting the text to be searchable. An image PDF is a set of pictures. That is normal — and fine for records, applications and printing — but it will never behave like a typed document.
Sources & References
- jsPDF — GitHub repository — the JavaScript library (v2.5.1) that assembles the PDF in your browser.
- MDN Web Docs — FileReader API — how the page reads your image files locally, on your own device.
- MDN Web Docs — HTMLCanvasElement.toDataURL() — the canvas encoding step used to place each image, including its JPEG quality parameter.
- Wikipedia — Paper size — the ISO 216 A-series dimensions (A4) and the North American Letter size used in the table above.
- MDN Web Docs — image-orientation — how browsers apply the rotation stored in photo files when an image is decoded and drawn.