PDF to Images Converter (PNG, JPG, WebP, Thumbnails)
Pricing
from $1.00 / 1,000 page rendereds
PDF to Images Converter (PNG, JPG, WebP, Thumbnails)
Convert PDF pages to high-quality PNG, JPEG or WebP images at any DPI or pixel width. Page ranges, thumbnails, transparent backgrounds and public image URLs. Self-hosted pdf.js renderer, no external APIs.
Pricing
from $1.00 / 1,000 page rendereds
Rating
0.0
(0)
Developer
Camp8 fr0
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Features
Share
PDF to Images Converter – PDF to PNG, JPG & WebP at Any DPI (with Thumbnails)
PDF to Images converts the pages of any PDF into high-quality PNG, JPEG or WebP images. Pick the resolution (DPI) or an exact pixel width, choose page ranges, generate thumbnails, keep a transparent background, and get a public URL for every page image. Rendering uses Mozilla's pdf.js engine running inside the Actor: no external APIs, no per-page fees to third parties, and your documents never leave Apify.
What does PDF to Images do?
- 🖼️ Renders every page (or a page range like
1-3,7,10-) to PNG, JPEG or WebP. - 🎯 Exact sizing: choose DPI (24-600) or a fixed pixel width; the height follows the page aspect ratio.
- 🧩 Thumbnails: optional small preview image per page, stored next to the full image.
- 🫥 Transparent background for PNG and WebP (great for overlays, stamps and design work).
- 🔐 Encrypted PDFs supported with a password.
- 🧪 Faithful rendering of real-world PDFs: embedded and standard fonts, CJK cmaps, vector graphics, JPEG / JPEG 2000 / JBIG2 / CCITT scanned images, ICC colour profiles, annotations and filled form fields, rotated pages and
UserUnit(posters, CAD sheets). - 🛡️ Safe on huge pages: posters and maps are automatically rendered at the highest safe resolution instead of crashing.
- 🌐 HTTP API (Standby mode) with optional base64 output for one-request conversions.
Use cases
- Thumbnails and previews for document management systems, CMSs and e-commerce catalogs
- Feeding vision models / OCR / multimodal LLMs with page images
- Social media and blog images from PDF reports, brochures and slide decks
- Archiving and visual regression tests of generated PDFs
- Converting scanned PDFs back into image files
How to use it
- Click Try for free.
- Paste one or more PDF URLs.
- Choose pages, format and DPI (or width). Optionally enable thumbnails.
- Click Start. Each page appears as a row with a preview in the Page images view; the image files are in the run's key-value store with public URLs.
Call it as an HTTP API (Standby mode)
# GET with query parameterscurl "https://<your-standby-url>/?pdfUrls=https://example.com/report.pdf&pages=1-2&format=webp&width=1200" \-H "Authorization: Bearer <APIFY_TOKEN>"# POST with a JSON body (same fields as the Actor input), images inline as base64curl -X POST "https://<your-standby-url>/" \-H "Authorization: Bearer <APIFY_TOKEN>" -H "Content-Type: application/json" \-d '{"pdfUrls":["https://example.com/report.pdf"],"pages":"1","format":"png","dpi":200,"returnBase64":true}'
Response: { "count": 2, "items": [ ...one item per page... ] }
You can also use the Apify API (run-sync-get-dataset-items), the Apify MCP server, Make, Zapier, n8n and other integrations. AI agents can pay per call with x402 (USDC) through Apify's agentic payments, without needing an Apify account.
Input example
{"pdfUrls": ["https://raw.githubusercontent.com/mozilla/pdf.js/master/web/compressed.tracemonkey-pldi-09.pdf"],"pages": "1-3","format": "png","dpi": 150,"thumbnails": true,"thumbnailWidth": 200}
| Field | Description |
|---|---|
pdfUrls | Direct links to PDF files (also data:application/pdf;base64,...) |
pages | Page selection like 1-3,5,10- (empty = all pages) |
format | png (lossless), jpeg or webp |
dpi | 24-600, default 150. Ignored when width is set |
width | Exact output width in pixels (optional) |
quality | JPEG/WebP quality 1-100 (default 85) |
transparentBackground | Transparent instead of white page background (PNG/WebP) |
thumbnails / thumbnailWidth | Also create a thumbnail per page |
maxPagesPerPdf | Safety limit per document (default 500) |
password | Password for encrypted PDFs |
returnBase64 | Standby API only: include the image bytes as base64 |
Output example
{"pdfUrl": "https://raw.githubusercontent.com/mozilla/pdf.js/master/web/compressed.tracemonkey-pldi-09.pdf","page": 1,"pageCount": 14,"imageUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/compressed-tracemonkey-pldi-09-fa00f99e85f0-page-0001-png","key": "compressed-tracemonkey-pldi-09-fa00f99e85f0-page-0001-png","format": "png","contentType": "image/png","width": 1275,"height": 1650,"dpi": 150,"bytes": 733550,"thumbnailUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/compressed-tracemonkey-pldi-09-fa00f99e85f0-page-0001-png-thumb","pageWidthPt": 612,"pageHeightPt": 792,"rotation": 0,"renderMs": 189}
Pricing
This Actor uses pay-per-event pricing. You only pay for pages that were rendered:
| Event | Price |
|---|---|
| Page rendered (thumbnail included) | $1 per 1,000 pages ($0.001 each) |
Failed downloads, broken PDFs and wrong passwords are free. Apify platform usage (compute) is billed separately and is typically a fraction of a cent per document. Set Maximum cost per run to cap your spend; the Actor stops cleanly when the limit is reached.
FAQ
Which DPI should I use?
72 DPI gives screen size (a Letter page = 612 x 792 px), 150 DPI is a good default for previews and LLM vision, 300 DPI is print/OCR quality. Very large pages (posters, maps) are automatically capped at about 80 megapixels; such items carry "downscaled": true.
Which format is best? PNG for text, diagrams and anything you will OCR. JPEG for scanned/photo pages when size matters. WebP is usually the smallest at the same visual quality and supports transparency.
Are fonts and scanned images rendered correctly? Yes. Embedded fonts, the 14 standard PDF fonts, CJK character maps, JPEG, JPEG 2000, JBIG2 and CCITT images and ICC colour profiles are all supported by the bundled pdf.js build.
How big can PDFs be? Up to 200 MB per file and 5,000 pages (default limit 500, configurable). Memory: 1 GB is enough for normal documents at up to 300 DPI; use 2-4 GB for 600 DPI or poster-size pages.
Where are the images stored and how long? In the run's default key-value store, with public URLs in each dataset item. Retention follows your Apify plan's storage retention. Download them or copy them to your own storage if you need them longer.
Is my data private? Files are processed inside your Apify run. Nothing is sent to third-party services.
What about XFA (dynamic) forms? Pure XFA forms (LiveCycle "Please wait..." documents) have no regular page content, so only the placeholder page is rendered. Hybrid AcroForm/XFA forms (most government forms) render normally.
Licenses? pdf.js (Apache-2.0) with its OpenJPEG (BSD-2), PDFium JBIG2 (BSD-3) and qcms (MIT) decoders, and @napi-rs/canvas / Skia (MIT/BSD). All are commercial-use friendly.