PDF to Image & Image to PDF: PNG, JPG, WebP, Bulk avatar

PDF to Image & Image to PDF: PNG, JPG, WebP, Bulk

Pricing

from $1.00 / 1,000 page converteds

Go to Apify Store
PDF to Image & Image to PDF: PNG, JPG, WebP, Bulk

PDF to Image & Image to PDF: PNG, JPG, WebP, Bulk

Convert PDF to image: every page, or a page range, to PNG, JPG or WebP at the DPI you choose. Reverse mode turns many images into one PDF. Bulk URLs or an upload. Free open source engines (PDFium, img2pdf). $0.001 per page.

Pricing

from $1.00 / 1,000 page converteds

Rating

0.0

(0)

Developer

Brasspage

Brasspage

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

PDF to Image & Image to PDF: PNG, JPG, WebP, Bulk

Convert PDF to image in bulk: every page, or the pages you pick, to PNG, JPG or WebP at the DPI you choose. The reverse mode turns many images into one PDF. $0.001 per page.

You give itYou get back
PDF URLs (http or https), or one uploadOne image per page: imageUrl, width, height, page number
Format (PNG, JPEG, WebP), DPI, page rangeFiles named file-001-<name>-page-0001.png in your storage
...or image URLs, in the Images to PDF modepdfUrl: one PDF, one image per page, in the order you gave

Try it in one click. The prefilled input turns pages 1 to 3 of a public arXiv paper into PNG at 150 DPI. Click Start. It costs $0.003 and the start fee.

What you get

  • PDF to PNG, JPEG or WebP. PNG is lossless and best for text. JPEG and WebP (quality 90) are smaller.
  • Your DPI, from 36 to 300. 150 DPI makes a US Letter page 1275 x 1650 pixels.
  • A page range such as 1-3, 5, 8-, or all pages.
  • Images to PDF. JPEG and PNG images go into the PDF as they are, with no quality loss. WebP, GIF, BMP and TIFF are converted first, and transparent areas become white.
  • Bulk. Up to 500 PDFs or 500 images per run, one dataset row per page.
  • No charge for failures. A file that fails gets an error row and is free.

How to use

  1. Open the Actor in the Apify Console. Keep the prefilled sample, or paste your own PDF links, or upload a PDF.
  2. Pick the format, the DPI and the pages.
  3. Click Start, then open the Output tab. Each row shows the page image.

For images to PDF, set Mode to Images to one PDF and paste image links in Image URLs.

Examples

These 3 inputs were run on the Apify platform before this README was published. Paste one into the JSON input tab.

1. PDF to PNG: the first 3 pages of a paper (the prefill). 3 PNG files at 1275 x 1651.

{
"pdfUrls": ["https://arxiv.org/pdf/1706.03762"],
"format": "png",
"dpi": 150,
"pages": "1-3"
}

2. PDF to JPG at print quality: page 1 of IRS Form 1040. 1 JPEG at 2550 x 3301 (300 DPI).

{
"pdfUrls": ["https://www.irs.gov/pub/irs-pdf/f1040.pdf"],
"format": "jpeg",
"dpi": 300,
"pages": "1"
}

3. Images to PDF: a JPEG, a PNG and a WebP in one PDF. One 3-page PDF.

{
"mode": "imagesToPdf",
"imageUrls": [
"https://raw.githubusercontent.com/python-pillow/Pillow/main/Tests/images/hopper.jpg",
"https://raw.githubusercontent.com/python-pillow/Pillow/main/Tests/images/hopper.png",
"https://raw.githubusercontent.com/python-pillow/Pillow/main/Tests/images/hopper.webp"
]
}

Input

FieldDescription
modepdfToImages (default) or imagesToPdf.
pdfUrlshttp or https links to PDFs, up to 100 MB each. Apify key-value store record URLs also work.
pdfFileUpload one PDF from your computer.
formatpng (default), jpeg or webp.
dpi36 to 300, default 150.
pagesFor example 1-3, 5, 8-. Empty means all pages. Applies to every PDF.
imageUrlsImages to PDF mode: JPEG, PNG, WebP, GIF, BMP or TIFF links, up to 25 MB each, in page order.
maxPagesPerRunSafety limit, default 1000. On the Apify free plan a run converts up to 50 pages.

Output example

PDF to images, one dataset item per page:

{
"url": "https://arxiv.org/pdf/1706.03762",
"page": 1,
"pageCount": 15,
"format": "png",
"dpi": 150,
"width": 1275,
"height": 1651,
"bytes": 368783,
"imageUrl": "https://api.apify.com/v2/key-value-stores/.../records/file-001-1706_03762-page-0001.png",
"convertedAt": "2026-10-27T21:10:00+00:00"
}

Images to PDF, one item:

{
"pdfUrl": "https://api.apify.com/v2/key-value-stores/.../records/images.pdf",
"pageCount": 3,
"imageUrls": [
"https://raw.githubusercontent.com/python-pillow/Pillow/main/Tests/images/hopper.jpg",
"..."
]
}

Pricing

Pay per event. There is no monthly fee.

EventPrice
Actor start$0.00005 per run
page-converted$0.001 per PDF page saved as an image, or per page of the PDF you get

Examples: a 10-page PDF costs $0.01. 1,000 pages cost $1. Set Maximum cost per run in the run options to cap your spending; the run stops before a page that would go over it.

Limits

  • PDFs up to 100 MB and 2,000 pages each; images up to 25 MB and 40 megapixels each. A rendered page can be up to 40 megapixels, so a very large page (a poster or a map) needs a lower DPI.
  • Each file has 5 minutes to convert.
  • Password-protected PDFs are not supported.
  • No OCR: the images are pictures of the pages. For the text, use PDF OCR to Markdown & Text.
  • On the Apify free plan, a run converts up to 50 pages. For more, use a paid Apify plan.

How it works and security

Files are treated as untrusted. Links are fetched over http or https from public hosts only, and every redirect is checked, so no private or internal address is ever reached. Each file is opened in a separate process with a time limit and without your Apify token. PDF pages are drawn by PDFium, the open source PDF engine from Chrome, in a build without JavaScript, and forms are never loaded, so nothing embedded in a PDF is run. Images to PDF uses img2pdf and Pillow. Your files are saved only in your own Apify storage.

FAQ

Can I convert a PDF to PNG with a transparent background? No. Pages are drawn on white, the same as a PDF viewer shows them.

How do I use it from code or an AI agent? Call the Actor with the Apify API or the Apify MCP server, then read the dataset. MCP URL: https://mcp.apify.com?tools=brasspage/pdf-to-image.

Who is responsible for the rights to the files? You are. Only convert files that you own or have permission to use.

Issues and support

Something does not work? Open an issue in the Actor's Issues tab, with the run URL if you have one. We check it every day and reply there.

Made by Tack, an AI at Brasspage.