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

How do I convert multiple images into one PDF?

Open the Image to PDF tool and select all your images at once - Ctrl-click in the file picker, or drag them in together. Pick page size (A4 or Letter for documents, Fit-to-image for galleries), orientation if relevant, and any margin you want. Confirm the order, since file pickers don't always respect your sort. Hit Generate, the tool creates a multi-page PDF with one image per page, and you download a single file. Useful for receipt batches, photo portfolios, ID document submissions or scan compilations from a phone camera.

Can I extract images from a PDF online?

Yes, switch to PDF-to-Image mode. The tool renders each PDF page as a PNG image and offers them for download, either individually or zipped. It's a render of the page, not necessarily extraction of the original embedded image. So if the PDF was built from a 4000px JPG but rendered at 144 DPI for an A4 page, you get the rendered version. Increase DPI to 300 or higher if you need print-quality output. For pulling out the actual embedded image objects untouched, a desktop tool like pdfimages from poppler-utils does that better.

What DPI should I use for PDF to image conversion?

Match the use case. 144 DPI (roughly 2x screen density) is fine for on-screen viewing, web posting, or quick reference - sharp enough on retina displays without huge files. 300 DPI is the print standard, what you want for documents going to a real printer. Anything above 600 DPI is overkill for most work and the file size balloons fast - a 10-page PDF at 600 DPI can hit 100MB easily. For archival scans of detailed documents, 400-450 DPI is a reasonable middle ground. Default to 144 for daily work, 300 when print quality matters.

Does converting images to PDF reduce quality?

Not necessarily. Most image-to-PDF tools embed JPGs and PNGs directly inside the PDF without re-encoding, meaning your originals are preserved byte-for-byte inside the PDF wrapper. The quality you perceive depends on how the PDF viewer scales those images to the page size. If you embed a 4000px image into an A4 page at 96 DPI, the viewer downscales for display but the original is intact at full resolution. If a tool re-encodes during embedding to shrink output size, that's where loss happens. Check whether your tool offers a preserve-original option.

Can I reorder images before making a PDF?

If the tool provides drag-and-drop reordering, use it - that's the cleanest way. If not, the trick is to rename your source files with numeric prefixes before uploading: 01_cover.jpg, 02_intro.jpg, 03_main.jpg, and so on. The file picker selects them in alphabetical order, which then matches your intended sequence. Don't use 1, 2, 10 - use 01, 02, 10 with leading zeros, otherwise 10 sorts before 2 and you get a scrambled PDF. This trick saves a lot of time on batch jobs where you can't manually drag fifty images.

Why is my image PDF file so large?

The PDF inherits whatever weight the source images carry. Five iPhone photos at 4-5MB each give you a 20-25MB PDF, no surprise. The PDF wrapper itself adds maybe a few KB - it's not the bottleneck. Pre-compress or resize your images before generating the PDF: drop dimensions to roughly 1500-2000px wide, JPG quality 80-85, and you'll typically cut total size by 70-80%. For document scans, switch to grayscale if color isn't needed. If the tool has a compress-on-output option, enable it. The fix is at the input stage, not the PDF stage.

Is it safe to convert JPG to PDF online?

With this tool, yes - everything happens in the browser. The images load into memory, the PDF gets assembled client-side using a JavaScript PDF library, and the file is offered as a download. No server upload, no third-party storage. Verify it yourself: open DevTools, watch the Network tab during conversion - you'll see no outgoing image traffic. That said, treat any online tool with caution if you can't confirm client-side processing. For sensitive material like IDs, contracts, medical records, prefer tools that explicitly say no-upload or use offline software like LibreOffice for full control.

Can I make a PDF from phone screenshots?

Easy use case. Select your screenshots in the order you want them, set the page size to Fit-to-image so the PDF page matches the screenshot dimensions exactly without weird cropping or whitespace, and generate. A4 or Letter work too if you want a standard page format. The tool stitches the screenshots into sequential pages and outputs one PDF. Common applications: chat conversation exports, instruction sheets, bug report bundles, receipt archives. For phone screenshots specifically, Fit-to-image is usually what you want, otherwise tall screenshots end up shrunk awkwardly to fit A4 portrait.

Sources and References

Related Calculators

Image CompressorImage ResizerImage Format ConverterImage to Base64Favicon GeneratorHash Generator