PDF to Image Converter: PDF to PNG, JPG or WebP
Pricing
$2.00 / 1,000 page rendereds
PDF to Image Converter: PDF to PNG, JPG or WebP
PDF to image converter: render PDF pages to PNG, JPEG or WebP at the DPI you choose, from a URL or base64. Use it for thumbnails, previews or page archives. Page ranges, password PDFs, ZIP and SHA-256 manifest. $0.002 per page image.
Pricing
$2.00 / 1,000 page rendereds
Rating
0.0
(0)
Developer
Ferrolark
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
Share
PDF to Image API: Convert PDF Pages to PNG, JPG or WebP
Render the pages of a PDF to images with one API call. Built on PDFium (the PDF engine in Chrome), so text, vector graphics and forms render sharply.
- Formats: PNG (best for text), JPEG or WebP (smaller for scans and photos).
- DPI from 36 to 300: 72 for thumbnails, 150 for previews and OCR, 300 for print.
- Page selection:
1-3,2,5-7,last. Password-protected PDFs work with thepasswordfield. - Manifest per image: page number, width, height, DPI, bytes and SHA-256, plus a free ZIP of all pages.
- Input as a URL or base64, so n8n and Make binaries work without a community node.
Typical uses: invoice and contract thumbnails, page previews in a CMS, feeding page images to a vision model or OCR, and turning slides exported as PDF into images for social posts.
Real example
The first three pages of the IRS W-9 form at 150 DPI:
{"pdfUrl": "https://www.irs.gov/pub/irs-pdf/fw9.pdf","pages": "1-3","dpi": 150,"format": "png"}
- Run time: 6.5 s on Apify at 1,024 MB.
- Platform usage: $0.0010.
- Your cost: 3 page images × $0.002 = $0.006.
| Output | Page | Size | Bytes |
|---|---|---|---|
fw9-page-001.png | 1 | 1275×1650 | 552,747 |
fw9-page-002.png | 2 | 1275×1650 | 783,207 |
fw9-page-003.png | 3 | 1275×1650 | 754,824 |
Price and limits
- $0.002 per page image. The ZIP is free.
- Invalid input (not a PDF, wrong password, page out of range) fails before rendering and is not charged.
- Limits: 50 MB per PDF, 100 pages per run, 40 megapixels per page image (lower the DPI for huge pages).
- If the page images would exceed your max total charge, the run stops before rendering and charges nothing.
Input
| Field | Default | What it does |
|---|---|---|
pdfUrl / pdfBase64 | none | The PDF as a public URL or base64 (data: URLs work). |
fileName | none | Names outputs for base64 input. |
pages | all | For example 1, 1-3, 2,5-7, last. |
format | png | png, jpeg or webp. |
dpi | 150 | 36 to 300. |
quality | 85 | JPEG/WebP quality. |
transparentBackground | false | PNG/WebP without the white page background. |
password | none | For encrypted PDFs (secret field). |
createZip | true | ZIP of all pages. |
createShareableUrl | false | Also return signed links that work without an Apify token. |
Call it from code, n8n or an AI agent
API (synchronous):
curl -X POST "https://api.apify.com/v2/acts/ferrolark~pdf-to-image/run-sync-get-dataset-items?maxTotalChargeUsd=0.1" \-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \-d '{"pdfUrl": "https://www.irs.gov/pub/irs-pdf/fw9.pdf", "pages": "1", "dpi": 100, "format": "jpeg"}'
n8n: paste this workflow on the canvas (Ctrl+V). Add a Header Auth credential with the name Authorization and the value Bearer <your Apify token>, and use it in both HTTP nodes. The second node downloads each page image as an n8n binary.
{"name": "Ferrolark pdf-to-image","nodes": [{"parameters": {},"name": "When clicking Test workflow","type": "n8n-nodes-base.manualTrigger","typeVersion": 1,"position": [0,0]},{"parameters": {"method": "POST","url": "https://api.apify.com/v2/acts/ferrolark~pdf-to-image/run-sync-get-dataset-items?maxTotalChargeUsd=0.05","authentication": "genericCredentialType","genericAuthType": "httpHeaderAuth","sendBody": true,"specifyBody": "json","jsonBody": "{\"pdfUrl\": \"https://www.irs.gov/pub/irs-pdf/fw9.pdf\", \"pages\": \"1-2\", \"dpi\": 150}","options": {"timeout": 300000}},"name": "Run Actor","type": "n8n-nodes-base.httpRequest","typeVersion": 4.2,"position": [220,0]},{"parameters": {"url": "={{ $json.downloadUrl }}","authentication": "genericCredentialType","genericAuthType": "httpHeaderAuth","options": {"response": {"response": {"responseFormat": "file"}}}},"name": "Download file","type": "n8n-nodes-base.httpRequest","typeVersion": 4.2,"position": [440,0]}],"connections": {"When clicking Test workflow": {"main": [[{"node": "Run Actor","type": "main","index": 0}]]},"Run Actor": {"main": [[{"node": "Download file","type": "main","index": 0}]]}}}
AI agents (MCP): add the Apify MCP server (https://mcp.apify.com) to Claude, Cursor or any MCP client and allow ferrolark/pdf-to-image. The agent gets a typed tool with the input above.
FAQ
Can I get one image of every page?
Leave pages empty. Up to 100 pages per run; split bigger documents with several runs.
Does it run OCR?
No. It produces images. Send them to your OCR or vision model of choice.
Are my files stored?
Outputs are saved in the run's own key-value store in your Apify account, under your data retention settings. Nothing is published.
More Ferrolark tools
- Brand Name Availability Checker: domains, GitHub, npm, PyPI and more in one report.
- Domain Intelligence Report: WHOIS, DNS, email security, SSL and hosting for any domain.
- Launch Asset Pack: favicons, PWA icons, OG image and head tags from one logo.
- Live Deploy QA: meta tags, canonical, robots, OG image and favicon of your deployed routes, with diffs between deploys.
- Sitemap Delta: new, removed and broken URLs in any sitemap since the last run.
- RSS Delta: only new RSS, Atom and JSON Feed items, de-duplicated.
- PDF Merge API: merge PDFs from URLs or base64 with page ranges and a SHA-256 manifest.
- PDF Split API: split a PDF by page ranges or every N pages, or extract pages, with a ZIP and manifest.
- Image Convert: PNG, JPG, WebP, AVIF and HEIC conversion (SVG input too) from URLs or base64.
- Image Compress & Resize: resize images and compress them to a target size in KB, WebP or AVIF.
- Image to PDF: JPG, PNG, HEIC and WebP images to one PDF, JPEGs embedded without recompression.
- PDF Compress: smaller PDFs, lossless or with image downsampling; charged only when smaller.
- HTML to PDF & URL to PDF: web pages or raw HTML to PDF with headless Chrome.
- Markdown to PDF: Markdown with tables, code and footnotes to a clean PDF.
- DOCX to PDF: Word, Excel, PowerPoint and ODT to PDF with LibreOffice.
- Data Convert: CSV, JSON, NDJSON and Excel XLSX in any direction.
Built by Ferrolark.