Image to PDF API for Developers

    New

    Image to PDF API built for teams that need reliable document automation at scale. Convert and process files with simple REST requests, predictable output quality, and production-grade uptime. Use it for image upload normalization, scanned packet creation, and reporting workflows. Includes clear docs, SDK-ready endpoints, and quick testing in your browser.

    What it does

    Combine one or many images into a single PDF in the same order as input.

    Accepts image URLs, base64 images, and multipart uploads.

    Common input formats include PNG, JPG, JPEG, and WEBP.

    Useful for invoices, scanned pages, onboarding docs, and photo-to-PDF workflows.

    Endpoint & Parameters

    POST /v1/convert/image/pdf

    image_url / url
    optional

    Single image URL input (alias fields supported).

    image_urls / urls
    optional

    Multiple image URLs in order (up to endpoint limits).

    image_base64 / images_base64
    optional

    Single or multiple base64 image payloads.

    output, output_filename
    optional

    Response mode and custom filename when using file output.

    supported image formats
    note

    PNG, JPG, JPEG, and WEBP inputs are commonly used and supported.

    curl -X POST https://pdfapihub.com/api/v1/convert/image/pdf \
      -H "CLIENT-API-KEY: your_api_key_here" \
      -H "Content-Type: application/json" \
      -d '{
        "urls": [
          "https://example.com/page1.png",
          "https://example.com/page2.jpg"
        ],
        "output": "url"
      }'

    Sandbox

    Format-specific guides

    Use these focused pages for format-specific integration and SEO-ready references:

    Merge images into a PDF now

    Create an API key, test with real image URLs in playground, then deploy the same request in automation flows.