Logo
POST /api/pdf/file/to-image

Convert PDF to Image API

Send a PDF URL and get one image per page back, as PNG, JPEG or TIFF, at the resolution and in the color mode you choose. Made for thumbnails, previews and vision models.

  • Free plan
  • No credit card

Request

curl -X POST https://apdf.io/api/pdf/file/to-image \
  -H "Authorization: Bearer TOKEN" \
  -d file="FILE_URL" \
  -d image_type="jpeg"

One page in.
One image out.

Every page you select is rendered to its own image file. The response lists each file with its page number.

report.pdf example
pages=1-3
page 1
page 2
page 3
image_type=png dpi=150
{ "page": 1, "file": "…-1.png" }
{ "page": 2, "file": "…-2.png" }
{ "page": 3, "file": "…-3.png" }
The parameters
image_type
png, jpeg, jpegcmyk or tiff
dpi
The resolution, 150 if left out
color_mode
color, gray or mono for black and white
pages
Page 1 if left out, or a list like 1,4,6
1-z, r3-r1
All pages, or the last three

Pictures of your pages.

Wherever a PDF can't be shown or read, an image of its pages can.

Thumbnails in lists

Show a small image of the first page next to every document in your app, so users recognize files at a glance.

Previews in email and chat

Put an image of the page right into the message, where a PDF attachment would need a click and a download first.

Pages for vision models

Give AI models that read images a picture of each page, with the charts, stamps and layout that plain text leaves out.

Images for the web

Publish flyers, menus and brochures as images on websites and in social posts that don't accept PDF files.

Render from anywhere.

Turn pages into images inside the tools you already use. One account and one monthly allowance behind every route.

Your code

One authenticated POST from any language. Copy-paste samples in cURL, Node.js, Python and more.

POST /api/pdf/file/to-image
Open the endpoint docs
Zapier

Pick the action in any Zap and map files from earlier steps. No code and no servers to run.

Convert PDF to Images
Use it in Zapier
n8n

Add the Apdf node to any workflow, on n8n Cloud or self-hosted, and chain it with your automation.

Convert PDF to image
Use it in n8n
AI agents

Let Claude, ChatGPT, Gemini or your own agent run it through the MCP server, on any paid plan.

convert-pdf-to-image
See what agents can do

1,000 image conversions
a month. Free.

Start on the free plan and move up only when your volume does — up to 1,000,000 operations a month on Business.

  • One call is one operation, however many pages.
  • Only calls that do the work are counted.
  • Hard limits, so no surprise overage charges.
Plan PDF operations / month
Hobby Free
$0 / month
1,000
Pro
$39–$99 / month
20,000 – 60,000
Business
$149–$899 / month
100,000 – 1,000,000

PDF to image, answered

PNG for sharp text and line art, JPEG for smaller files when pages carry photos, jpegcmyk when a print workflow needs CMYK, and TIFF when the system you hand the images to expects it.
At 150 dpi an A4 page becomes roughly 1240 × 1750 pixels, which is crisp on screen. Go lower for small thumbnails and up to 300 dpi for print or fine detail.
Rendering always runs in the background. Check the job on the job status endpoint, or pass a webhook_url and the result is posted to you: one entry per page with its page number and image URL.
As a URL: Apdf downloads the file, up to 100 MB. In Zapier and n8n you can map the file from an earlier step instead.
Each image URL stays valid for 60 minutes. Store the images on your side if you need them longer.
After the API call

Your code made the PDF.
Then it went dark.

Opened, read, re-read, dropped on page 4 — you never see any of it. Share the PDFs you generate through Apdf recipient links, and every signal becomes something you can act on: ping Slack, update the CRM, let an agent follow up. Same account, same API token, one more call.

Your PDF, after sending Live
document:loaded CFO
page:read p4 · 38s
link:clicked pricing

API · Webhook · MCP

Every page,
ready to show.