What this tool does
JPG to PDF places each accepted JPEG on its own PDF page, in the on-screen order, using pdf-lib in the browser.
When to choose it instead of a similar DevToolKit tool
- Use this when every file is JPEG and you want the JPEG-only picker.
- Use Image to PDF for mixed PNG/WebP/GIF/BMP.
- Use PDF Merge to concatenate existing PDFs, not photos.
Typical jobs this page is built for
- Turn a folder of JPEGs into one PDF in list order (1–40 files, 20 MB each, 100 MB total).
- Use Photo album (Auto, no margin) for a contact-sheet style packet.
- Use Print ready (Letter, medium margin) when you plan to print.
Supported inputs, limits, and output behavior
- Files
- 1–40 JPEG images.
- Per file
- 20 MB.
- Batch
- 100 MB combined.
- Output
- One PDF; filename from settings.fileName via getOutputFilename.
How the transformation actually works
JPEG uses fileToEmbedBytes kind jpg and embedJpg. Layout presets: Document (A4, fit, small margin 18), Photo album (Auto, fit, no margin), Print ready (Letter, fit, medium margin 36). Fit scales uniformly inside the margin box; Fill covers and may crop.
Step-by-step workflow
- Click Choose images or drop JPEGs within the count and byte limits.
- Move items with Move earlier / Move later.
- Pick a layout preset, then override page size, fit, orientation, or margin if needed.
- Edit File name if you do not want the default.
- Click Create PDF.
- Open the downloaded PDF and scroll every page in order.
What can change in the output
Each page is a newly written PDF page with a drawn image. EXIF orientation is not a separate parser; the Image preview and embed use decoded pixels. Fill mode can clip edges. Auto height is clamped, so unusual aspect ratios may letterbox relative to that clamp.
Known limitations and failure cases
- PNG and other types are rejected on this route.
- Corrupt JPEGs can fail embedJpg.
- There is no OCR, text layer, or selectable text from the photo.
Privacy / where data goes
PDF assembly runs in the browser with pdf-lib. Images are not uploaded for this conversion. Identified analytics may include file counts, page count, and layout preset, not the photo pixels.
Practical output-review checklist
- Scroll every page in order.
- Check Fit vs Fill cropping.
- Confirm page size in a reader if you picked A4 or Letter.
- Remember PNG and other types are rejected on this JPEG-only route.