What This Tool Does

This tool bridges images and PDFs bidirectionally. In 'Image → PDF' mode, upload multiple JPG/PNG images and they'll be combined into a single PDF with one image per page, at your chosen page size. In 'PDF → Image' mode, upload a PDF and each page is rendered to a PNG image you can download individually.

Inputs Explained

How It Works

Image → PDF uses the pdf-lib library to create a new PDF, embed each image, and add one page per image sized appropriately. PDF → Image uses pdf.js to render each page at your chosen DPI onto a Canvas, exported as PNG. Both libraries run entirely in your browser.

Formula / Logic Used

Image→PDF: pdf-lib.PDFDocument.create() → embedJpg/Png → addPage → save PDF→Image: pdf.js.getDocument → for each page → render to canvas → toBlob

Image to PDF & PDF to Image Converter

Combine images into a PDF or extract PDF pages as images — all in your browser.

Step-by-Step Example

Image → PDF workflow:

  1. Select multiple JPG or PNG files (they'll appear in file order).
  2. Choose A4 or Letter page size — images auto-scaled to fit with margins.
  3. Download the combined PDF (typically 200-800 KB for 5-10 photo pages).

PDF → Image workflow:

  1. Upload a PDF (up to ~50 MB).
  2. Each page renders as a PNG thumbnail.
  3. Click 'Download PNG' on any page, or use the cards to extract individual pages.

Use Cases

Assumptions and Limitations

Disclaimer: All PDF operations run in your browser using pdf-lib and PDF.js (loaded from CDN on first use). Your files are never uploaded. PDFs created here are standard and open in any PDF reader.

Frequently Asked Questions

What's the maximum file size I can process?

Browser memory is the main limit. Typically 20-50 MB PDFs and combining up to 50-100 images works on modern devices. Very large collections may slow down or fail on older phones.

Can I reorder images before creating the PDF?

Currently, images are processed in the order they appear in the file picker (usually alphabetical by filename). Rename your images with prefixes (01_, 02_) to control order before uploading.

What's the quality of images extracted from PDFs?

Controlled by the render scale slider (1×-4×). 1× matches the PDF's native resolution (usually 72 DPI), 2× produces 144 DPI (recommended), 3× for printing, 4× for maximum quality with larger file sizes.

Can the output PDF be password-protected?

No. This tool creates unprotected PDFs. For password protection, open the output in Adobe Acrobat or use a desktop tool like Apple Preview (Mac) or PDFsam.

Does it preserve image quality in the PDF?

JPGs are embedded as-is (no re-encoding, so quality is preserved). PNGs are embedded with their original lossless data. No quality loss happens during Image → PDF conversion.

Can I combine PDFs together?

Not in this tool. This handles image↔PDF conversion. For merging multiple PDFs, use a dedicated merge tool, or open each PDF here and combine the extracted images into a new PDF.

Is my file uploaded to a server?

No. All PDF creation and rendering happens in your browser using pdf-lib (for creating) and PDF.js (for reading). Files are processed locally and never leave your device.

Why is the PDF larger/smaller than expected?

PDF size depends on image compression. Pre-compress large JPGs with our Image Compressor before combining for smaller PDFs. Already-compressed JPGs produce efficient PDFs — huge uncompressed source images bloat the output.

Sources and References

Related Calculators

Image CompressorImage ResizerImage Format ConverterImage to Base64Favicon GeneratorHash Generator