File Conversion API

Convert images, videos, audio and documents with your own self-hosted conversion API.

One service for your file conversion workflows

50 endpoints · Image, PDF, video and document tools · Your own server

API Documentation

The self-hosted API uses the same conversion engines as the server tools. Requests return the converted file directly. There is no public hosted API yet.

Authentication

Create a personal API key in Dashboard → API keys and send it as a Bearer token. Personal keys expire after 90 days and can be revoked at any time. The server owner can also configure CONVERSION_API_KEY. Never put either kind of key in public frontend code.

Request

POST /api/v1/convert/mp4-to-mp3
Authorization: Bearer YOUR_API_KEY
Content-Type: multipart/form-data

files: your input file
settings: {"output":"mp3","bitrate":"128"}

Limits and response

Two simultaneous conversions, 1 GB total input, 100 MB output, and a two-minute processing timeout. Video/audio outputs are limited to ten minutes. Success returns a downloadable file. Errors return JSON with an error field and an HTTP error status.

API Job Builder

curl --fail-with-body \
  -H "Authorization: Bearer $FRESHCONVERT_API_KEY" \
  -F 'files=@input.mp4' \
  -F 'settings={"output":"mp3"}' \
  http://127.0.0.1:4321/api/v1/convert/mp4-to-mp3 \
  --output result.mp3

Set FRESHCONVERT_API_KEY in your terminal to the server’s configured key. Replace the input path. No credentials are stored in this page.

Available endpoints

Video Converter/api/v1/convert/video-converter
Audio Converter/api/v1/convert/audio-converter
MP3 Converter/api/v1/convert/mp3-converter
MP4 to MP3/api/v1/convert/mp4-to-mp3
Video to MP3/api/v1/convert/video-to-mp3
MP4 Converter/api/v1/convert/mp4-converter
MOV to MP4/api/v1/convert/mov-to-mp4
MP3 to OGG/api/v1/convert/mp3-to-ogg
Video to GIF/api/v1/convert/video-to-gif
MP4 to GIF/api/v1/convert/mp4-to-gif
WEBM to GIF/api/v1/convert/webm-to-gif
MOV to GIF/api/v1/convert/mov-to-gif
AVI to GIF/api/v1/convert/avi-to-gif
APNG to GIF/api/v1/convert/apng-to-gif
GIF to MP4/api/v1/convert/gif-to-mp4
GIF to APNG/api/v1/convert/gif-to-apng
Image to GIF/api/v1/convert/image-to-gif
GIF Maker/api/v1/convert/gif-maker
Video Compressor/api/v1/convert/video-compressor
MP3 Compressor/api/v1/convert/mp3-compressor
WAV Compressor/api/v1/convert/wav-compressor
GIF Compressor/api/v1/convert/gif-compressor
Crop Video/api/v1/convert/crop-video
Trim Video/api/v1/convert/trim-video
DOCX to PDF/api/v1/convert/docx-to-pdf
Word to PDF/api/v1/convert/word-to-pdf
Document Converter/api/v1/convert/document-converter
PDF to Word/api/v1/convert/pdf-to-word
PDF to EPUB/api/v1/convert/pdf-to-epub
EPUB to PDF/api/v1/convert/epub-to-pdf
EPUB to MOBI/api/v1/convert/epub-to-mobi
Ebook Converter/api/v1/convert/ebook-converter
PDF Compressor/api/v1/convert/pdf-compressor
Flatten PDF/api/v1/convert/flatten-pdf
Resize PDF/api/v1/convert/resize-pdf
Unlock PDF/api/v1/convert/unlock-pdf
Protect PDF/api/v1/convert/protect-pdf
Crop PDF/api/v1/convert/crop-pdf
Extract Images from PDF/api/v1/convert/extract-images-from-pdf
PNG to SVG/api/v1/convert/png-to-svg
Archive Converter/api/v1/convert/archive-converter
RAR to Zip/api/v1/convert/rar-to-zip
Image Conversion API/api/v1/convert/image-converter
JPG to PDF API/api/v1/convert/jpg-to-pdf
HEIC to JPG API/api/v1/convert/heic-to-jpg
WebP to PNG API/api/v1/convert/webp-to-png
WebP to JPG API/api/v1/convert/webp-to-jpg
Image Compression API/api/v1/convert/image-compressor
PDF to JPG API/api/v1/convert/pdf-to-jpg
HTML to PDF API/api/v1/convert/html-to-pdf

Image and HTML API limits

Image APIs accept one still image up to 24 megapixels. Optional width, height, quality (1–100) and background settings control the result. PDF-to-JPG returns a ZIP with up to 50 pages at 72 DPI. HTML-to-PDF accepts a self-contained HTML file, disables scripts and blocks every network request; embed required image resources as data URLs.

Website screenshots

Remote website screenshots are not enabled. An arbitrary-URL fetch service needs a separately isolated network worker, DNS pinning and SSRF validation before public exposure. Cloud storage imports and social OAuth also require owner-controlled provider configuration.

Service not connected

Browse working tools