logo
GeekFormat

Images to PDF

Preview

Upload Image

Upload image to preview here

Free online Images to PDF tool, supports batch combining browser-native image formats like JPG/PNG/WEBP/BMP/GIF into multi-page PDFs. Offers 3 page sizes: A4/Letter/Original size, 3 orientations: auto/portrait/landscape, 4 margin levels: none/small/medium/large, 2 scaling modes: contain (fit with white space, proportional) and cover (fill and crop, proportional), and 2 quality levels: standard/HD. Pure frontend local processing based on pdf-lib, images never uploaded to servers, no watermark, no file size limits, no registration required.

Related

What is Images to PDF?

Images to PDF is the process of embedding one or more images into a PDF document, with each image on a separate page. Compared to sending images directly, PDF is a cross-device document standard with consistent layout, suitable for archiving, printing, emailing, and official document submission.

**Core processing flow**: Browser reads image → reads EXIF orientation for automatic rotation → creates PDF page at specified size (A4/Letter/Original) → calculates drawing rectangle based on margin and scaling mode (contain/cover) → embeds image into PDF page → loops through multiple images to generate multi-page PDF → downloads locally in browser. The entire process completes on the user's device; image bytes are never uploaded to any server.

**Differences from other image processing**: ① Not image stitching (output is a PDF document, not one large image); ② Not OCR (output is an image-based PDF, text cannot be directly searched or copied—requires OCR to become searchable PDF); ③ Not PDF compression (output PDF may be slightly larger than the sum of original images; use PDF Compress tool if needed).

**Three page sizes in this tool**: A4 (210×297mm, global standard for office printing), Letter (216×279mm, North American office standard), Original size (scaled to 0.75× original image dimensions, suitable for raw pixel output without cropping). When selecting "Original size" mode, PDF page size equals image size (after scaling), with no white space—this is a unique differentiating feature of this tool.

Use Cases

  • Combine multiple scanned ID documents (ID card/driver's license/passport) into one PDF for submission
  • Archive contract/receipt/invoice photos taken with phone to PDF for long-term storage
  • Merge degree certificates, transcripts, and supporting documents into one complete PDF application package
  • Batch export e-commerce product images to PDF catalogs for printing or sending to customers on Amazon/eBay
  • Combine hand-drawn illustrations and design drafts into PDF portfolios in order for client review via WhatsApp/Telegram
  • Quickly combine photographed handwritten drafts into PDF for submission when coursework requires PDF format

How to Use

  1. Click the upload area or drag images into the tool (supports multiple simultaneous uploads)
  2. In the right panel, select page size (A4/Letter/Original), orientation, margin, scaling mode, and quality
  3. Drag to reorder in the image list, or use up/down arrows to move, delete unwanted images
  4. Click the "Start Conversion" button, wait for processing to complete, then PDF downloads automatically

Features

  • 3 page sizes: A4 (210×297mm), Letter (216×279mm), Original size
  • 3 orientations: auto (determined by image aspect ratio), portrait, landscape
  • 4 margin levels: none (0pt), small (12pt≈4.2mm), medium (24pt≈8.5mm), large (36pt≈12.7mm)
  • 2 scaling modes: contain (fit proportionally with white space, no cropping), cover (fill proportionally with cropping)
  • 2 quality levels: standard (non-JPG/PNG formats converted to 82% quality JPEG), HD (92% quality JPEG)
  • EXIF orientation auto-correction: vertically shot phone photos automatically rotate to correct orientation
  • Batch multi-image combining: drag-and-drop to reorder, manage multiple images in thumbnail list
  • Pure frontend local processing based on pdf-lib: no server upload, no file size limits, no watermark

Best Practices

For document scans (contracts, invoices, IDs, certificates), it is recommended to select A4 page, contain mode, medium margin (24pt). This set of settings best conforms to printing and office habits; image is complete without cropping, margins leave printer non-printable area, avoiding edge content cutoff during printing.

ID cards, passports, and other documents are usually landscape (width > height); if you want a small ID photo centered on an A4 portrait page, choose A4 + contain + large margin; if you want the ID photo to fill the page (near original size), choose "Original size" mode.

This tool embeds images page-by-page into PDF in file list order. If you want to merge in a specific order (e.g., 1.jpg, 2.jpg, 3.jpg), rename files with numeric prefixes before upload, or drag and drop in thumbnail list to reorder after upload.

If you are combining many images (dozens or more) and each is several MB high-resolution photos, it is recommended to use image compression tool to compress to around 150DPI before uploading, which significantly reduces browser memory usage and final PDF size.

PNG transparency channels are preserved in PDF, but reader page background is white so transparent areas appear as white background. If you want to preserve transparency effects (few PDF renderers support transparency), choosing "Original size" mode avoids extra white borders from page size being larger than image.

When the first page of PDF is a cover image, poster, or artistic photo, using cover mode alone can make the image completely fill the page without white borders. Use contain for document body pages to ensure content completeness. Note: Current version uses uniform settings for all pages; if different settings for cover and body are needed, convert twice and combine with PDF Merge tool.

This tool outputs standard unencrypted PDF. If you need password protection for generated PDF, use PDF Encrypt tool to set password after conversion. Similarly, if you want to merge pages from encrypted PDF with new images, first use PDF Decrypt tool to remove password.

Images to PDF does not compress images themselves; output PDF size is approximately equal to sum of all image sizes. If smaller size is needed (e.g., email attachment limits), use PDF Compress tool after conversion, which can compress image-based PDF to 30-50% of original size.

FAQ

What image formats are supported?

Supports all browser-native recognizable image formats, including JPG/JPEG, PNG, WEBP, BMP, GIF (first frame only). Formats like HEIC/AVIF/TIFF can be processed directly in supporting browsers (e.g., Safari native HEIC support); unsupported formats cannot be decoded—please convert to JPG or PNG first before uploading.

How do I combine multiple images into one PDF?

After uploading multiple images at once, the tool embeds each image into separate PDF pages in list order. You can drag or use up/down arrow buttons to reorder images in the left list, click the trash icon to delete unwanted images. After conversion, all images are combined into one multi-page PDF file.

What's the difference between contain and cover scaling modes?

contain: Scales the image proportionally without exceeding the page margin area, keeping the complete image without distortion, with white space around the image. Suitable for ID photos, document scans, and other scenarios where cropping is not desired. cover: Scales the image proportionally to fill the entire margin area, with excess parts cropped. Suitable for covers, posters, artistic photos, and other scenarios where you want to fill the page. contain is recommended by default.

What if phone photos have wrong orientation?

This tool automatically reads the Orientation tag in image EXIF and applies rotation (browsers supporting createImageBitmap use the imageOrientation: 'from-image' parameter, other browsers fall back to Image loading); vertically shot phone photos display correctly without manual rotation. If you encounter rare screenshots with EXIF cleared, rotate with an image viewer and re-upload.

How to choose between A4, Letter, and Original size?

A4 is the international standard office paper size (210×297mm), suitable for printing, contracts, resumes, office documents. Letter is the North American standard (8.5×11 inches ≈ 216×279mm), suitable for submitting materials to US/Canadian institutions. Original size uses 0.75× original image width and height as PDF page size, does not force white space, suitable for preserving original image aspect ratio output.

Is text in the converted PDF searchable?

No. This tool generates image-based PDFs (each page is an embedded image) and does not contain a searchable text layer. If you need searchable text-based PDF, please use an OCR tool to recognize image text first before generating PDF.

Will transparent PNG backgrounds be preserved?

JPG does not support transparency and fills with white. PNG transparency channels are preserved when embedded in PDF, but PDF pages display on white background by default, so transparent areas appear white in most PDF readers (since reader page backgrounds are usually white).

Will PDF file size increase after conversion?

For JPG and PNG formats, this tool directly embeds original bytes; PDF size ≈ sum of images + minimal PDF structure overhead. For WEBP/BMP/GIF and other non-PDF-native formats, converted to JPEG embedding (standard 82% quality, HD 92% quality), file size usually smaller than original. If smaller size is needed, use PDF Compress tool for further compression after conversion.

Are images uploaded to servers? Is my privacy safe?

No uploads. All processing is done in your browser using the pdf-lib library; image bytes remain in local device memory at all times and are never sent to any external server. Suitable for processing contracts, ID cards, financial statements, and other sensitive files.

Are there file size or quantity limits?

The tool itself has no file size or quantity limits; actual limits depend on your device's browser memory. Hundreds of images or files of hundreds of MB usually process fine on modern computers, but batch conversion is recommended on low-memory devices.

How are animated GIFs handled?

Only the first static frame of GIF is embedded into PDF; animation effects are not supported. If you need to export multiple GIF frames as multi-page PDF, please use a GIF splitter tool to extract frames first before uploading.

Glossary

pdf-lib
Pure JavaScript open-source PDF manipulation library that can create and modify PDFs in browsers and Node.js. This tool uses pdf-lib to complete PDF creation and image embedding locally in the browser without server involvement.
EXIF Orientation
Orientation tag (1-8) stored in image metadata, recording camera rotation angle at time of capture. Vertically shot phone photos may actually be stored horizontally in pixels; EXIF tag tells viewers to rotate 90° for display. This tool automatically reads and applies this rotation to avoid inverted images.
contain
CSS term, meaning image is scaled proportionally to display completely within container, keeping image intact without distortion, with remaining container space left blank. In this tool, it means image is scaled to not exceed page margin area, suitable for most document scenarios.
cover
CSS term, meaning image is scaled proportionally to completely cover container, with parts exceeding container cropped. In this tool, it means image is scaled to fill page margin area, suitable for covers, posters, and other scenarios where white space is not desired.
A4
ISO 216 international standard paper size, 210 × 297 mm (approximately 8.27 × 11.69 inches), the world's most commonly used office paper size, and the default recommended size for PDF documents.
Letter
North American standard paper size, 216 × 279 mm (8.5 × 11 inches), used for office documents in the United States, Canada, Mexico, Philippines, and other countries. Recommend selecting Letter when submitting materials to these regions.
Image-based PDF
PDF whose page content consists entirely of embedded images, without a searchable text layer. Scanned document conversions or output from this tool are image-based PDFs. If searchable text is needed, OCR (Optical Character Recognition) processing is required.

Common Paper Specification Quick Reference

A4 is the global office standard, Letter is mainly used in North America, Original size is suitable for preserving original aspect ratio.

SpecificationSize (mm)Size (inches)Typical use
A4210 × 2978.27 × 11.69Papers, contracts, office printing (international)
Letter216 × 2798.5 × 11US/Canada office documents
Original sizeImage width × 0.265Image width / 72Preserve original aspect ratio, no forced white space

Margin Level Reference

Four margin levels correspond to different white space sizes; medium/small margins recommended for printing to avoid printer non-printable areas.

Levelpt (PDF unit)MillimetersInchesTypical use
None000Bleed printing, borderless output
Small12≈ 4.2≈ 0.17Compact layout, screen reading
Medium24≈ 8.5≈ 0.33Regular office, printing (recommended)
Large36≈ 12.7≈ 0.5Binding margin, formal documents

PDF Compatibility of Common Image Formats

Different image formats have different embedding methods when embedded into PDF, affecting final file size and quality.

FormatTypeEmbedding methodTransparency supportNote
JPG/JPEGLossy bitmapDirect embeddingNot supported (white background)Most common for photos, small size
PNGLossless bitmapDirect embeddingSupportedFirst choice for screenshots, icons, text captures
WEBPLossy/losslessConverted to JPEG embeddingNot preservedModern web format
BMPLossless bitmapConverted to JPEG embeddingNot supportedLarge file size, recommend converting to PNG first
GIFLossy/animatedFirst frame only converted to JPEGNot preservedAnimation not supported, first frame only

Authoritative References