Images to PDF: Combine Image URLs into a PDF avatar

Images to PDF: Combine Image URLs into a PDF

Pricing

from $2.10 / 1,000 pdf pages

Go to Apify Store
Images to PDF: Combine Image URLs into a PDF

Images to PDF: Combine Image URLs into a PDF

Turn public image URLs (JPG, PNG, WebP, GIF, BMP, TIFF) into one combined PDF or one PDF per image. Choose A4, Letter or fit-to-image pages, orientation and margin. Each PDF gets a download link, page count and size. Empty input = free demo.

Pricing

from $2.10 / 1,000 pdf pages

Rating

0.0

(0)

Developer

Actor Factory

Actor Factory

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Images to PDF: turn image URLs into one combined PDF or one PDF per image, with A4, Letter or fit-to-image pages

Office teams that collect scans, receipts, product photos or screenshots as image links, and developers who need a PDF from a list of images, all hit the same problem: the images are online, the recipient wants a single PDF, and opening each file in a desktop tool does not scale. Paste the image links, pick the page size, and press Start. The PDF is saved in the run's storage with a download link, and the dataset row tells you the page count and file size.

What you get

statusfileNamepagesbytespageSizedownloadUrlsourceUrls
okinvoices-2026.pdf3412,904a4https://api.apify.com/v2/key-value-stores/.../records/invoices-2026.pdf["https://example.com/1.jpg", ...]
failed00["https://example.com/missing.png"] (error: The server answered HTTP 404 ...)

Try it free: leave the image list empty and press Start. Two built-in sample images (landscape and portrait) become one 2-page A4 PDF. Not charged; the row carries _demo: true.

How to use

  1. Image URLs: public links to JPG, PNG, WebP, GIF, BMP or TIFF images, one per line, in the order you want the pages.
  2. Output: one combined PDF (default) or one PDF per image.
  3. Page size: A4, US Letter, or Fit to image (each page is exactly as large as its image, plus margin).
  4. Optional: Orientation (auto, portrait, landscape), Margin in mm, Image compression, JPEG quality, Output file name.
{
"imageUrls": ["https://example.com/page-1.jpg", "https://example.com/page-2.png"],
"outputMode": "combined",
"pageSize": "a4",
"orientation": "auto",
"marginMm": 10,
"outputFileName": "invoices-2026"
}

How the PDF is made

  • Aspect ratio is kept. On A4 and Letter each image is scaled to fit inside the margins and centered. Auto orientation turns wide images to landscape pages and tall images to portrait pages.
  • JPG files are stored as they are, without re-compression, so quality and size stay the same. PNG, GIF, BMP, WebP and TIFF are stored without quality loss. Choose Re-compress everything as JPEG for a much smaller PDF (transparency becomes white).
  • Photo orientation from the camera (EXIF) is applied, so portrait photos stay upright.
  • Metadata is not copied: EXIF data such as camera details and GPS location does not end up in the PDF.
  • Animated GIFs and multi-page TIFFs: the first frame or page is used.
  • Transparency is placed on a white page background.
  • File names: combined mode uses your output file name (default images.pdf); per-image mode names files 0001-<image name>.pdf, or <your name>-0001.pdf when you set a file name.

Output fields

  • status (ok or failed), error (the reason when an image failed)
  • fileName, downloadUrl: the PDF in the run's key-value store
  • pages, bytes, pageSize, orientation, marginMm
  • sourceUrls: the image URLs placed in this PDF (one for a failed image or a per-image PDF)

A STATS record sums up PDFs made, pages charged, images failed or skipped and the options used. Download the rows as CSV, Excel or JSON from the run page.

Limits (cannot be raised by input)

  • 500 image URLs per run; 25 MB per image; 50 megapixels per image (protection against "decompression bomb" files); 200 MB of images per run
  • Polite downloading: at most 4 downloads at once, 2 per website at once, and at least 0.5 seconds between requests to the same website
  • Public images only (no login); links to internal network addresses are blocked
  • HEIC, SVG and password-protected files are not supported
  • Set a maximum charge per run to cap spend: the run stops cleanly when it is reached and keeps the pages made so far

Pricing

Pay per event: $0.003 per PDF page (one image = one page), the same for a 20 KB icon and a 25 MB photo. Failed downloads, unreadable or oversized images, invalid input and the demo are free. Store discounts apply automatically: BRONZE −10%, SILVER −20%, GOLD −30%.

Your responsibility

You supply the image links and you are responsible for having the right to download and convert those images (copyright, license, the terms of the website that hosts them). This Actor only fetches the links you give it, one request each, and never browses or crawls.

FAQ

Can I merge images and existing PDFs? No. Input is images only.

Can I put several images on one page? Not yet. Each image gets its own page.

How long are the files kept? As long as the run's storage is kept under your Apify plan's data retention. Download them or copy them to your own storage if you need them longer.

Open-source libraries used: Pillow (HPND) and reportlab (BSD) for image handling and PDF writing.

If this Actor saved you time, a rating on the Store helps others find it.

More tools from the same developer

  • Image Converter — convert images between JPG, PNG, WebP and AVIF, with optional resize
  • URL to PDF — save public web pages as PDF files: A4 or Letter, margins, page numbers
  • Bulk File Downloader — download files from URL lists or dataset fields into storage, with links, SHA-256 and an optional ZIP
  • Website Image Extractor — every image on your pages with alt text, srcset, size and type (HEAD only), flagging missing alt and oversized images
  • Tesseract OCR — OCR for image URLs and scanned PDFs with built-in Tesseract: text, confidence and line boxes in 8 languages