CONVERT · @cantoo/pdf-lib v2.9

@cantoo/pdf-lib v2.9🔒 Zero Byte Upload

JPG / PNG to PDF iconJPG / PNG to PDF

Combine JPG or PNG images into a PDF in your chosen order.

    HOW THIS TOOL WORKS LOCALLY

    JPG / PNG to PDF: Technical Guide & Honest Limits

    Combine JPG or PNG images into a PDF in your chosen order. Embeds the selected image data into one PDF page per image. Each page follows the image aspect ratio. Move files in the list before creating the PDF.

    Embeds native JPEG streams directly or packs PNG alpha-safe bitmaps into one page per image, automatically sizing each sheet to match aspect ratios.

    Reorder selected photos with Move Up / Move Down buttons cleanly before generating the final PDF.

    Primary Example Workflow

    Choose front and back identity photos, put the front first, then open the PDF and confirm that both pages are upright.

    Operational Limits to Check

    This does not control a scanner or automatically remove a photograph background. Rotate and crop photos before adding them. Only JPG and PNG are supported.

    How to Use JPG / PNG to PDF Locally

    1. Select JPG or PNG images.
    2. Arrange the image list in page order.
    3. Create and inspect the image-based PDF.

    Tested example — 2026-11-02

    Two selected PNG images create two PDF pages in the sample.

    Selected sample: photo.png (251 bytes); photo.png (251 bytes).

    Measured output: images.pdf — 1749 bytes; 2 PDF pages.

    Two selected PNG images create two PDF pages in the sample.
    Page 1 rendered from the actual automated sample PDF output; this is not a browser screenshot.

    Representative automated browser output snapshot. Always inspect your downloaded document carefully.

    Technical Reference

    ParameterJPG / PNG to PDF Behavior
    Canonical Route/tools/jpg-to-pdf
    Input Source.JPG,.JPEG,.PNG document input
    Processing LocationLocal browser tab RAM (0 KB uploaded)
    Account / Fee100% Free, no login or watermark

    Frequently Asked Questions

    Does JPG / PNG to PDF send my files to a remote server?

    No. JPG / PNG to PDF processes your inputs directly in browser memory via JavaScript and WebAssembly. Verify 0 KB outbound file uploads anytime in DevTools.

    What happens if JPG / PNG to PDF encounters an invalid or locked input?

    JPG / PNG to PDF reports a clear diagnostic notice rather than producing a blank or misleading output file. Check file formats, passwords, and page bounds before retrying.

    Why is my 4-photo PDF multiple megabytes?

    PDF assembly embeds raw photo bytes losslessly. Resize camera photos to 1200–1600px wide before importing if a portal sets a tight KB upload limit.

    Verify zero-upload behavior in browser DevTools →