Developer Docs

Ship conversions with a single API call.

The ConvertHub API is REST-based, uses JSON, and supports all 500+ formats via a unified interface.

Authentication
Bearer tokens via API keys created in your dashboard.
Rate limits
60 req/min on Free, 600 on Pro, 6000 on Business.
SDKs
JS, Python, Go, PHP and Ruby libraries available.
Quick start

1. Convert an image

POST /api/convert/image
Authorization: Bearer chk_xxx
Content-Type: multipart/form-data

file: <binary>
target: png | jpg | webp | tiff | bmp | ico | gif

Response 200:
{
  "id": "uuid",
  "output_file_id": "uuid",
  "target_format": "png",
  "size_bytes": 24567,
  "status": "done"
}

2. Extract text from PDF

POST /api/convert/pdf-to-text
Authorization: Bearer chk_xxx
Content-Type: multipart/form-data

file: <binary>

Response 200:
{
  "id": "uuid",
  "output_file_id": "uuid",
  "target_format": "txt",
  "ai_meta": { "pages": 12, "preview": "..." }
}

3. Merge PDFs

POST /api/pdf/merge
Authorization: Bearer chk_xxx
Content-Type: multipart/form-data

files: <binary[]>

4. Download result

GET /api/download/{output_file_id}?ext=png