Skip to content
Browse all functions

PDF to Image – Convert PDF Pages to PNG or JPEG

files/pdf2image

pdf2image (PDF to Image – Convert PDF Pages to PNG or JPEG) is a 1001fx API function in the group Files & PDF: POST https://api.1001fx.com/files/pdf2image, 3 credits per item. It works as a ready-made module in Make or as a plain HTTP call.

3 credits per itemHTTP APIMake

Converts PDF pages into PNG or JPEG images. One page returns the image, several pages a ZIP with one image per page (page-0001.png …). Charged per page, at most 50 pages per call.

Endpoint

POSThttps://api.1001fx.com/files/pdf2image
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
multipart/form-data

Parameters

  • filefileoptional

    The PDF. Either file or fileUrl.

  • fileUrlstringoptional

    Public URL of the PDF. Either file or fileUrl.

    Example:
    https://api.1001fx.com/testdata/3pages.pdf
  • pagesstringoptional

    Pages to convert, e.g. 1-3,7 (first page = 1). Empty: all pages (at most 50).

    Example:
    1-2
  • formatenumoptional

    png (default) or jpeg.

    Values:
    png
    jpeg
    Default:
    png
  • dpinumberoptional

    36 to 300, default 150.

    Default:
    150
    Min:
    36
    Max:
    300

Examples

PDF to Image – Convert PDF Pages to PNG or JPEG

PDF to Image – Convert PDF Pages to PNG or JPEG

Input

Expects multipart/form-data or a json body
{
  "fileUrl": "https://api.1001fx.com/testdata/3pages.pdf",
  "pages": "1",
  "format": "png"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/files/pdf2image' \
  -H 'X-API-KEY: YOURSECRETAPIKEY'

Try pdf2image now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created