How do you convert JPG to PDF?
Add your images, drag them into the order the form or recipient expects, pick a page size and press Create PDF. You get one PDF with one page per image.
Pictures are handled inside your browser and never uploaded. The PDF library (@cantoo/pdf-lib) is bundled with this site and loads when you first use the tool, after which the conversion needs no further network traffic.
JPG files go into the PDF exactly as they are, byte for byte. A PDF can hold JPEG data natively, so there is no second round of compression and no loss of quality. The exception is a phone photo with a rotation flag, which PDF readers ignore, so the tool redraws those photos upright first, at high JPEG quality.
PNG pixels are compressed again with the zip-style method PDFs use, which keeps every pixel but can make the PDF bigger than the images. A WebP image is converted to JPEG first, since PDF cannot hold WebP at all.
A4, US Letter and fit to image
A4 (ISO 216) is used almost everywhere outside North America; US Letter is the standard in the United States and Canada. "Fit image" makes each page exactly the size of its picture, with no white border, for screen-only PDFs.
| Size | Millimeters | Inches | PDF points |
|---|---|---|---|
| A4 | 210 × 297 | 8.27 × 11.69 | 595 × 842 |
| US Letter | 215.9 × 279.4 | 8.5 × 11 | 612 × 792 |
| Fit image | varies | image ÷ 96 | pixels × 0.75 |
Source: ISO 216 (A series) and W3C CSS Paged Media Module (A4 and letter definitions). A PDF point is 1/72 inch.
Letter is 6 mm wider and 18 mm shorter than A4, enough to clip a footer. To print an A4 PDF on Letter paper without losing anything, scale it to 94% (279.4 ÷ 297).
Orientation. Auto turns each page sideways when its image is wider than it is tall, so a mix of receipts and wide photos all fill their pages. Tall or Wide forces every page the same way. The Small margin leaves 10 mm of white around each image, enough for most home printers, which cannot print to the very edge of the sheet.
Which image formats make the smallest PDF?
JPG, since its data goes in unchanged. Screenshots tend to be PNG, which can grow.
| Format | Compression | Best for | Opens in browsers |
|---|---|---|---|
| JPG (JPEG) | Lossy | Photos | All |
| PNG | Lossless | Screenshots, text, logos, transparency | All |
| WebP | Lossy or lossless | Web images, about 25–34% smaller than JPG | All current |
| HEIC (HEIF) | Lossy (HEVC) | iPhone and iPad photos | Safari 17 and later only |
Source: MDN Web Docs, image file type guide; Google WebP documentation; caniuse.com, HEIF support.
iPhone photos in HEIC format need converting before they can go into a PDF here. Use the HEIC to JPG converter, which also runs on your device, then add the JPG files above.
Keeping the PDF small
A full-resolution phone photo is often several megabytes, so ten photos can make a PDF of tens of megabytes. For JPG files the PDF comes out within a few kilobytes of the total shown above the file list.
- Shrink the images first. A page of text photographed at 1,600 pixels on the long side is still sharp on screen and in print. The image compressor resizes a batch at once and can aim for a target size.
- Turn PNG scans into JPG. A full-page PNG scan is often several times the size of a good JPG of the same page.
Upload limits on forms
Visa, admission and claim portals usually state a size limit next to the upload button, often a few megabytes at most. The "Will it fit?" strip under your file list compares the PDF with four limits. Two are published: Google says a personal Gmail account can send attachments up to 25 MB, and Microsoft says Outlook 2013 and later stop at 20 MB of attachments on internet email accounts. The other two, 500 KB and 2 MB, are our own round numbers for strict and typical upload boxes, not a rule from any service. Email systems also add overhead to attachments, so leave some room under the figure.
Photo uploads can be strict at both ends: the UK passport service asks for a digital photo of at least 50 KB and no more than 10 MB, at least 600 pixels wide and 750 pixels tall. If a portal wants a photo rather than a PDF, upload the image itself.
Photographing paper documents
Most rejected document uploads fail on legibility, not file size. Lay the page flat on a dark surface by a window, hold the phone straight above it so the edges come out square, and turn off the flash, which leaves a glare patch. Take one photo per page so you can reorder them here.
Common questions
Can I put several images on one page?
Not with this tool, which makes one page per image. To fit two sides of an ID card on one page, combine them into a single image first.
How do I add a JPG-based PDF to an existing PDF?
Make the PDF here first, then use the merge and split PDF tool to join it with other PDFs. To go the other way and turn pages back into pictures, use the PDF to JPG converter.
Does it work on a phone?
Yes. A very large batch can run out of memory on an older phone; if that happens, make two PDFs of half the pages each.
Will the PDF be searchable?
No. Each page is a picture, so searching or copying words needs OCR (optical character recognition), which this tool does not do.
Sources
- ISO 216:2007, Writing paper and certain classes of printed matter: trimmed sizes, A and B series
- W3C: CSS Paged Media Module Level 3 (page size definitions for A4 and letter)
- MDN Web Docs: Image file type and format guide
- Google for Developers: An image format for the web (WebP)
- Can I use: HEIF/HEIC image format
- GOV.UK: Rules for digital passport photos
- Gmail Help: Send attachments with your Gmail message (25 MB limit)
- Microsoft Learn: Attachment size exceeds the allowable limit error in Outlook (20 MB default)
- @cantoo/pdf-lib, the open-source PDF library this tool uses (MIT licence)
Last reviewed November 9, 2026.