Convert files with an API.
Upload a file, create a conversion job, monitor progress, and download the result from your own application.
https://convert.brianrianrehan.comAuthenticationNone requiredReady to use.
These endpoints are public and do not require an API key or Authorization header.
Upload and convert directly
Send the file and choose the output format in the same request. The conversion job starts automatically.
/api/uploadcurl -X POST https://convert.brianrianrehan.com/api/upload -F "file=@./photo.heic" -F "outputFormat=jpg"The response returns a job ID and status. Supported output formats depend on the uploaded file.
Choose conversion later
To upload first and select an output format later, omit outputFormat, then use the existing job endpoint.
/api/v1/jobscurl -X POST https://convert.brianrianrehan.com/api/v1/jobs -H "Content-Type: application/json" -d '{"jobId":"UPLOAD_JOB_ID","outputFormat":"jpg"}'Check job status
Poll until the status is completed or failed.
/api/v1/jobs/:jobIdcurl https://convert.brianrianrehan.com/api/v1/jobs/JOB_IDDownload the result
When complete, download the converted file directly.
/api/v1/jobs/:jobId/downloadcurl -L https://convert.brianrianrehan.com/api/v1/jobs/JOB_ID/download -o converted-file.jpgResumable uploads
Use the resumable endpoint for large files. Send the same uploadId, a zero-based chunkIndex, totalChunks, and finalize=true on the last chunk.
/api/upload/resumablecurl -X POST https://convert.brianrianrehan.com/api/upload/resumable -F "uploadId=UUID" -F "filename=large-video.mp4" -F "chunkIndex=0" -F "totalChunks=10" -F "finalize=false" -F "chunk=@chunk-0000"Supported formats
The upload response includes an outputs array with exact compatible formats. HEIC and HEIF images can be converted to JPG or PNG.