PDF beta

Image to PDF API

Combines JPG, PNG and other images into one PDF, one image per page.

Send up to 200 images in order and get one PDF. JPEGs are embedded as they are, with no quality loss. Pick A4, Letter or page sizes that match each image, plus orientation and margins.

What it does

  • JPG, PNG, WebP, GIF, TIFF and BMP
  • Up to 200 images in the order you send them
  • JPEGs embedded without re-encoding
  • A4, Letter, Legal, A3, A5 or fit to each image

Endpoints

MethodPathDescriptionModes
POST /v1/pdf/from-images Combine images into a PDF sync (sync: 58 s per call)

Base URL: https://api.justapi.tech

Pricing

OperationPrice
Per call, any size$0.006first 1,000 calls a month
Per call, 1,001 to 10,000$0.005per call that month
Per call, over 10,000$0.004per call that month

You are not charged for a failed request, an unreadable or encrypted input, or a bad option. A charge happens only when you get a result.

Limits

Max File SizeYour plan's file limit, 200 MB in total per call
Result RetentionDeleted automatically within 24 hours, or at once when you acknowledge the download
Max Images200 images per call

Send images in order and get one PDF with one image per page. JPEGs go into the PDF as they are, with no re-compression, so quality is identical and the PDF is about the size of the photos. Pick A4, Letter or pages that match each image.

Questions

Are my JPEGs re-compressed?

No. Baseline and progressive JPEGs are embedded byte for byte. PNG and other formats are stored losslessly.

Can I send iPhone HEIC photos?

Convert them with the image optimization API first, which turns HEIC into JPEG and fixes the orientation. Then send the JPEGs here.

Use cases and what they cost

Use case What it does Calls a month Estimated cost a month
Expense app Combines receipt photos into one PDF per expense report. 3,000 $16.00
Delivery app Turns proof-of-delivery photos into a PDF for the customer. 10,000 $51.00
School Converts scanned homework photos into one PDF per student. 600 $3.60
  • Expense app: Up to 200 images per call.
  • Delivery app: EXIF rotation is applied.
  • School: A4 pages, fit to page.

Costs use the published volume tiers: the first 1,000 calls of the month at tier 1, calls 1,001 to 10,000 at tier 2, and every call after that at tier 3. Failed calls cost nothing, so they are not in these figures.

Recommendations

  • Phone photos are rotated by their EXIF tag before placing, so they come out upright.
  • Use page_size: "fit" to keep each image's own size, or A4/Letter for printing.
  • JPEGs are embedded without re-encoding when possible, so there is no quality loss.
  • Send image URLs rather than base64 to stay under request size limits.

How it compares

An expense report with ten receipts is ten pages. Per-page pricing turns a batch call into ten charges; here it stays one.

Provider How they bill Cost of one job (10 images)
JustAPI Flat $0.006 per call at tier 1, any size; failures free $0.006
PDF.co Image to PDF: 9 credits per page $0.05
iLoveAPI 10 credits per file n/a
CloudConvert About 0.008 to 0.009 USD per credit, at least 1 credit per conversion $0.009
ConvertAPI Developer plan: 35 USD a month for 1,000 conversions $0.04

Prices checked on 12 November 2026 on each provider's public pricing page. PDF.co figures use their Basic plan (8.99 USD a month on annual billing for 16,500 credits). iLoveAPI does not publish dollar prices for paid credits on its pricing page, so only its credit cost is shown. Plans change; check before you decide.

Pick another provider if you need HEIC straight into a PDF in one call; ours takes JPEG, PNG, WebP, GIF, TIFF and BMP, and iPhone HEIC goes through the image API first. The full working is in JPG to PDF API pricing: one call per batch, compared, and the step-by-step setup is in the Image to PDF integration guide.

Try it free first

The free image to pdf tool runs the same job in your browser, five times a day, with no account. Use the API for workflows and bigger files. The full parameter list is in the Image to PDF API reference.