Image to PDF Converter
Convert multiple images to PDF with adjustable page size, orientation, and fit mode
Drag images here, or click to select files
Supports JPG, PNG, WebP, BMP, GIF formats, select multiple at once
What is Image to PDF Converter?
The Image to PDF converter combines JPG, PNG, WebP, and other image files into a PDF document. Common uses include scanned paperwork, receipts, homework, photo collections, presentation material, evidence files, and form systems that accept PDFs more reliably than loose images. Creating a good PDF involves more than putting pictures in order: page size, portrait or landscape orientation, margins, scaling mode, original resolution, and compression all affect readability and file size. This tool runs in the browser, so images do not need to be uploaded to a server. For official submission or printing, the final PDF should still be opened and checked for rotation, cropping, missing pages, and blurry text.
How to Use
How to use
- Drag or click to upload images (supports multiple)
- Adjust PDF settings: page size, orientation, fit mode
- Drag images to reorder if needed
- Click "Generate PDF" button
- Download the generated PDF file
PDF Output Notes
- Set page size and orientation before generating; changing them later can rescale images and reduce readability.
- For scans or forms, check page order and margins before sharing the PDF.
Use Cases
Technical Principle
PDF pages are measured in points, where 1 point equals 1/72 inch. ISO 216 A4 therefore expands to 595.28 × 841.89 pt (210 × 297 mm), A3 to 841.89 × 1190.55 pt, and US Letter (8.5 × 11 in) to 612 × 792 pt. Generation happens in-browser via pdf-lib, which lets the page allocate a PDFDocument, add a page at the chosen size, and place each image into a Form XObject anchored to the page coordinate space. The embedding strategy depends on the source format. JPEG bytes are passed through unchanged using the DCTDecode filter, which avoids re-encoding entirely and keeps the file as compact as the original. PNG goes through embedPng, which decodes the raster, drops it into a FlateDecode stream, and adds an SMask object when an alpha channel is present, so transparency survives the round trip. Image position is then computed under the chosen fit mode: 'contain' scales the image down so both axes fit within the page minus margins, 'cover' fills the page and crops the overflow, and 'actual' treats each image pixel as one 1/72-inch unit and centers the result on the page. The sharp edges of this pipeline are where surprises hide. Actual-size on a 2000 px wide photo produces a 2000/72 ≈ 27.8 in page demand that overflows A4 and silently crops at print time. Embedded ICC profiles are flattened to sRGB, so wide-gamut photos look mildly desaturated on calibrated print. And because each page stores its image as a raster XObject with no text layer, downstream OCR is a separate step, which matters for any agency that requires a searchable PDF for filings.
- Coordinate system: 1 PDF point = 1/72 inch; A4 = 595.28×841.89 pt, A3 = 841.89×1190.55 pt, US Letter = 612×792 pt.
- JPEG inserts via DCTDecode without re-encoding, so the embedded bytes equal the source file size; PNG goes through FlateDecode with an SMask object when alpha is present.
- Fit modes: contain preserves aspect with margin, cover fills and crops, actual treats source pixels as 1 pt = 1/72 inch units and centers the image.
- Page-size math: a 1500 px wide photo at actual size becomes 1500/72 ≈ 20.8 in, which is wider than A4 and will silently crop on print.
- Colour space: embedded ICC profiles are flattened to sRGB on export, so wide-gamut sources look subtly desaturated on calibrated print proofs.
- No text layer: each image is a raster XObject, so the output is image-only and downstream OCR is a separate pass when an agency demands searchable PDF.
Examples
Combine 10 receipt photos into one A4 PDF
Input: 10 JPG receipts, each 3024 x 4032 px, total 18 MB
Page size: A4 (210 x 297 mm)
Orientation: Portrait
Fit mode: Contain (preserve aspect ratio with margin)
Output: receipts-2026-06.pdf, 1 page per image, about 6.4 MBScanned homework, A4 fit-to-page
Input: 5 PNG scans from phone scanner (1700 x 2338 px each)
Page size: A4, Orientation: Auto
Fit mode: Contain, margin: 10 mm
Result: 5-page PDF, ~2.1 MB, every page centered with white border
Tip: print at 100% scale to keep handwriting crispMixed portrait + landscape diagrams
Input: 3 portrait notes (1080 x 1920) + 2 landscape charts (1920 x 1080)
Orientation: Auto (per page rotation)
Fit mode: Contain
Result: 5-page PDF; the auto mode rotates each page so the long edge of every image aligns with the page's long edgeOriginal-size photo book (no rescaling)
Input: 12 product photos exported at 2000 x 1500 px
Page size: Original Size
Fit mode: Actual Size
Result: each PDF page = 2000/72 x 1500/72 inch (~27.8 x 20.8 in)
Warning: pages exceed A4; switch to A3 or A4-Landscape before printingFAQ
Is my image uploaded for conversion?
No. The PDF is generated in your browser using jsPDF. Image bytes never leave your device. You can confirm in the Network tab.
What input formats can I add?
JPEG, PNG, WebP, and GIF are supported. PNG transparency is preserved on the PDF page (rendered against the page background). The page processes the file directly - no upload, no re-encoding round-trip.
How does the page size and orientation work?
Pick A4, US Letter, or 'fit to image' from the page-size dropdown. 'Fit to image' makes each PDF page match the image's pixel dimensions converted to points (px × 72/96), which is best for screenshot or scanned-document PDFs where you want no whitespace.
Can I combine multiple images into one PDF?
Yes. Add multiple files in the order you want them, optionally rearrange before exporting. Each image becomes one PDF page. The output is a single multi-page PDF.
Is OCR (text extraction) included?
No. The PDF stores the image as-is - the resulting file looks like a scanned document and the text is not searchable. For OCR, use a tool like Tesseract (browser or desktop) on the source image first, then bundle the text layer into the PDF with a more advanced library.
How big can the resulting PDF be?
Practical limits are browser memory. A 30-page PDF made from 4 K screenshots can land at 100+ MB. Compress source images first if size matters; JPEG with quality 80-85 is usually a good tradeoff between file size and visual quality.
Is the PDF/A or PDF/X compliant?
No. The output is a regular PDF 1.4/1.5 file, suitable for sharing and viewing. Archival (PDF/A) and print-production (PDF/X) compliance need additional metadata, embedded fonts, and color-profile constraints that this tool does not enforce - use Adobe Acrobat or Ghostscript for that.