PDF to JPG, Single & Multi-Page

Convert PDF Pages to High-Quality JPG Images

Extract any page from a PDF as a JPG image. Convert single pages or get all pages as a ZIP file. Configurable DPI from 72 to 600 for thumbnails or print quality.

# Convert page 1 to JPG at 300 DPI
curl -X POST \
  https://api.convertfilefast.com/v2/convert/pdf-to-jpg \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@document.pdf" \
  -F "page=1" \
  -F "dpi=300" \
  -F "quality=90" \
  --output page1.jpg

# Convert all pages to JPG (returns ZIP)
curl -X POST \
  https://api.convertfilefast.com/v2/convert/pdf-to-jpg \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@document.pdf" \
  -F "dpi=150" \
  --output pages.zip

# HTTP 200 OK — Content-Type: image/jpeg (single) or application/zip (all)
Conversion completed in <2s

Advantages

Why use our API?

Complete and reliable solution for integration in any tech stack.

Configurable DPI

Set output quality from 72 (web thumbnails) to 600 (print quality) per request.

Single or All Pages

Extract a specific page or convert all pages at once. All pages are returned as a ZIP file.

Quality Control

Adjust JPG compression quality (1-100) for the ideal size vs quality tradeoff.

Fast Processing

Converts a 100-page PDF in seconds using an optimized rendering engine.

File or URL Input

Upload a PDF file directly or provide a URL to a hosted PDF for conversion.

Automation Ready

Integrate into document processing pipelines with n8n, cron jobs, or custom scripts.

How it works

4 steps to run this conversion

  1. 1

    Create an API key

    Sign up at convertfilefast.com/signup and copy your cff_ API key from the dashboard. The free tier includes 10 conversions per month.

  2. 2

    POST the PDF to the endpoint

    Send a multipart/form-data POST to https://api.convertfilefast.com/v2/convert/pdf-to-jpg with header X-API-Key: cff_your_key and a file field. Add page, dpi, and quality form fields to control the output.

  3. 3

    Receive the JPG or ZIP

    For a single page, the response is the JPEG image. Omit the page field and the response is a ZIP archive with one JPEG per page, streamed back with the appropriate Content-Disposition filename.

  4. 4

    Or invoke via MCP for AI agents

    Add the MCP server to Claude, Cursor, or any MCP-compatible client with the URL https://mcp.convertfilefast.com/mcp. Then call convert_file({ source_format: 'pdf', target_format: 'jpg', source_url: '...' }) as a single tool call — no HTTP client needed.

For AI agents

Or call this from Claude, Cursor, or any MCP client

Convert File Fast ships a native Model Context Protocol server. Give this conversion to an AI agent as a single tool call — no HTTP client, no binary handling, per-user API keys.

Local install
npx -y convertfilefast-mcp
MCP tool call
convert_file({ target_format: "jpg", source_url: "https://example.com/file.pdf" })

FAQ

Frequently Asked Questions

Do I get one image, or one per page?

Both options exist. Pass a page number to get a single JPEG for that page, or omit it to receive a ZIP file with every page rendered as page_001.jpg, page_002.jpg, and so on.

Can I control the resolution and quality?

Yes. The dpi parameter defaults to 150 and goes up to 600 for print-quality output — lower values like 72–96 work well for thumbnails. The quality parameter (1–100, default 90) controls JPEG compression.

How do I call this from an AI agent like Claude or Cursor?

Add the ConvertFileFast MCP server to your client with the URL https://mcp.convertfilefast.com/mcp and your API key. The agent then calls convert_file({ source_format: 'pdf', target_format: 'jpg', source_url: '...' }) as a single tool invocation. For custom DPI or a specific page, use the REST API directly.

Are my PDF files stored on your servers?

No. Files are processed in memory and deleted immediately after the response is sent. No persistent storage, no training, no third-party sharing.

What is the maximum file size?

Limits depend on your plan and are enforced per API key — the API reports the ceiling it currently accepts at https://api.convertfilefast.com/v1/info, and your own plan limit is shown in your dashboard.

How is pricing calculated?

Each conversion counts as one unit against your monthly quota, regardless of how many pages the PDF has. The free plan includes 10 conversions per month. Prepaid credit packs start at $4 for 1,000 conversions ($0.004 each). Subscription plans start at $9/month for 5,000 conversions.

Start Converting PDF to JPG

Get your API key and extract JPG images from PDF documents in seconds. Free plan includes 10 conversions per month.

No credit card. 10 free conversions on Free plan.