PDF to JPG API

Render PDF pages to JPG images with password support, page range selection, resolution control, and JPEG quality settings.

PDF Tools

PDF to JPG API Overview

Convert PDF documents to high‑quality JPG images for web, apps, and archival. Handle password‑protected files, restrict processing to specific page ranges, rotate pages to correct orientation, and crop to a target box when needed. Control output with image resolution (DPI), scaling via explicit width/height, color‑space selection for consistent rendering, and JPEG quality to balance fidelity and file size. Generate thumbnails or full‑resolution images in batch with predictable results across varied inputs and workflows.

Fast Cloud Processing

Converts large PDFs to multiple JPGs in just a few seconds.

High-Quality Images

Convert PDFs to crisp, clear JPG images without losing quality.

Page-by-Page Conversion

Export individual PDF pages as separate JPG files.

Lightweight JPG Output

You can choose preferred JPG quality to optimize performance.

Adjustable Image Settings

Crop images, customize page ranges, image resolution, quality, and color space.

Secure and Private

All files protected by ISO 27001, GDPR, and HIPAA standards.

Customizable Parameters

Fine-tune your automation with these powerful conversion options

File

File Supported formats: .pdf

File to be converted. Value can be URL or file content.

Password

String

Sets the password to open protected PDF.

PageRange

String Default: 1-2000

Set PDF page range to convert. Example 1-10 or 1,2,5.

Rotate

Collection Default: default

Set PDF page rotation before converting to image.

Values:   default none rotate90 rotate180 rotate270

CropTo

Collection Default: BoundingBox

Defines the options for cropping the page.

Values:   BoundingBox TrimBox MediaBox ArtBox BleedBox

ImageResolution

Integer Default: 200

Set output image resolution in dpi.

Range:   10 .. 800

Scale

Integer

Scale.md.

Range:   10 .. 300

ImageHeight

Integer

Image height in pixels.

Range:   10 .. 10000

ImageWidth

Integer

Image width in pixels.

Range:   10 .. 10000

FitToSize

Bool Default: False

Gets or sets whether to scale the output image to fit within both ImageWidth and ImageHeight while maintaining the aspect ratio. When enabled, the image is sized to fit the more restrictive dimension. Requires both width and height to be specified.

BackgroundColor

Color

Applies a color to the transparent PDF background, thereby setting the background color of the generated images. You can specify a color name (e.g. white or black), or use color codes such as RGB (e.g. 255,0,0) or HEX (e.g. #FF0000). To preserve transparency, set the property value to transparent.

ImageQuality

Integer Default: 75

Set output image quality.

Range:   10 .. 100

ColorSpace

Collection Default: rgb

Set image color space.

Values:   rgb cmyk gray monochrome

BitDepth

Collection Default: default

Set the number of bits per color channel in the output image. Higher values improve color precision and gradient smoothness but increase file size.

Values:   default 1 2 4 8 16

CompressionLevel

Integer

Define the compression level (0–9). A higher value increases compression, reducing file size. For lossy formats (JPG), this decreases image quality; for lossless formats (PNG), it increases compression strength without affecting quality.

Range:   0 .. 9

StoreFile

Bool Default: False

When the StoreFile parameter is set to True, your converted file is written to ConvertAPI’s encrypted, temporary storage and made available via a time-limited secure download URL, valid for up to 3 hours. After this period, the file is permanently deleted.

When StoreFile is set to False, conversion happens entirely in-memory. The raw file bytes are streamed back in the API response without touching disk or external storage, ensuring maximum security and zero persistence so that only you can access the content.

Integrate within minutes

Easy PDF to JPG automation using our simple REST-API

Try the PDF to JPG conversion online

Try it Free

Businesses trust us

Highest rated File Conversion API on major B2B software listing platforms: Capterra, G2, and Trustpilot.

"ConvertAPI has been a game-changer for our document automation workflows. Their conversion accuracy and API reliability are unmatched in the industry for over 7 years."

"ConvertAPI is a reliable, cost-effective solution with a proven track record of stability. It has grown significantly in maturity, adopting enterprise-grade practices over the years."

"We've integrated ConvertAPI across our entire document processing platform. The performance is exceptional and the support team is always responsive. Highly recommended!"

Enterprise-Grade Security

We ensure that all document processing is handled securely in the cloud, adhering to industry-leading standards like ISO 27001, GDPR, and HIPAA. To enhance security even further, we can ensure that no files or data are stored on our servers and never leave your country.

Learn more about security

Ready to Streamline Your File Conversions?