File Conversion API
Every tool on AllFreeConvert.com is available through one HTTP endpoint. Send a multipart/form-data POST and get JSON back with download links.
Endpoint
POST http://allfreeconvert.com/api/process.php
Parameters
| Field | Description |
|---|---|
tool | Tool slug (see the table below), e.g. mp4-to-mp3. |
files[] | One or more files. Tools like pdf-merge combine them in order. |
url | Instead of uploading, a public http(s) link to the file. |
target | Output format for converters, e.g. mp3, png, pdf. |
| options | Any option listed for the tool, e.g. bitrate=128k. |
Example
Conversions run in a queue, so the upload returns straight away with a job id:
curl -F tool=mp4-to-mp3 -F bitrate=192k -F "files[][email protected]" http://allfreeconvert.com/api/process.php
{ "ok": true, "job": "…", "status": "queued", "status_url": "/api/status.php?job=…" }
Then check status_url every 1–2 seconds. status goes from queued (waiting for a free slot) to processing, then done or error:
curl "/api/status.php?job=…"
{
"ok": true,
"status": "done",
"files": [
{ "name": "video.mp3", "size": 3145728, "url": "/download.php?job=…&file=video.mp3" }
]
}
When a job produces several files (for example PDF → JPG), the first entry is a ZIP with everything. Download links expire after 8 hours. Errors return {"ok": false, "error": "…"}. Uploads are rate-limited; too many in a short time returns HTTP 429.
Tool reference
| Slug | Targets | Options |
|---|---|---|
video-converterVideo Converter |
mp4, webm, mov, avi, mkv, flv, wmv, m4v, 3gp, gif | resolution (keep|2160|1080|720|480|360)quality (18|23|28)bitrate (320k|256k|192k|128k|96k) |
audio-converterAudio Converter |
mp3, wav, ogg, aac, m4a, flac, opus, wma, aiff | bitrate (320k|256k|192k|128k|96k|64k)samplerate (keep|48000|44100|22050) |
mp3-converterMP3 Converter |
mp3 | bitrate (320k|256k|192k|128k|96k|64k)samplerate (keep|48000|44100|22050) |
mp4-to-mp3MP4 to MP3 |
mp3 | bitrate (320k|256k|192k|128k|96k|64k)samplerate (keep|48000|44100|22050) |
video-to-mp3Video to MP3 |
mp3 | bitrate (320k|256k|192k|128k|96k|64k)samplerate (keep|48000|44100|22050) |
mp4-converterMP4 Converter |
mp4, webm, mov, avi, mkv, gif, mp3 | resolution (keep|2160|1080|720|480|360)quality (18|23|28)bitrate (320k|256k|192k|128k|96k) |
mov-to-mp4MOV to MP4 |
mp4 | resolution (keep|2160|1080|720|480|360)quality (18|23|28)bitrate (320k|256k|192k|128k|96k) |
mp3-to-oggMP3 to OGG |
ogg | bitrate (320k|256k|192k|128k|96k|64k)samplerate (keep|48000|44100|22050) |
image-converterImage Converter |
jpg, png, webp, gif, bmp, tiff, ico, avif, svg, pdf | qualitywidth |
webp-to-pngWEBP to PNG |
png | qualitywidth |
jfif-to-pngJFIF to PNG |
png | qualitywidth |
png-to-svgPNG to SVG |
svg | svgmode (trace|embed)threshold |
heic-to-jpgHEIC to JPG |
jpg | qualitywidth |
heic-to-pngHEIC to PNG |
png | qualitywidth |
webp-to-jpgWEBP to JPG |
jpg | qualitywidth |
svg-converterSVG Converter |
png, jpg, webp, pdf, ico | width |
pdf-converterPDF Converter |
pdf, docx, jpg, png, txt, epub | dpi (72|150|300) |
document-converterDocument Converter |
any compatible | — |
ebook-converterEbook Converter |
epub, mobi, azw3, fb2, pdf, txt | — |
pdf-to-wordPDF to Word |
docx, doc, odt, rtf | layout (editable|exact) |
pdf-to-jpgPDF to JPG |
jpg, png | dpi (72|150|300) |
pdf-to-excelPDF to Excel |
— | sheets (one|page)password |
bank-statement-pdf-to-excelBank Statement PDF to Excel |
— | passwordfilldates |
pdf-to-epubPDF to EPUB |
epub | — |
epub-to-pdfEPUB to PDF |
— | |
heic-to-pdfHEIC to PDF |
— | page (fit|a4|letter)orientation (auto|portrait|landscape)margin (0|20|40)combine |
docx-to-pdfDOCX to PDF |
— | |
jpg-to-pdfJPG to PDF |
— | page (fit|a4|letter)orientation (auto|portrait|landscape)margin (0|20|40)combine |
video-to-gifVideo to GIF |
gif | fps (5|10|12|15|20|25)width (keep|800|640|480|320|240)startduration |
mp4-to-gifMP4 to GIF |
gif | fps (5|10|12|15|20|25)width (keep|800|640|480|320|240)startduration |
webm-to-gifWEBM to GIF |
gif | fps (5|10|12|15|20|25)width (keep|800|640|480|320|240)startduration |
apng-to-gifAPNG to GIF |
gif | fps (5|10|12|15|20|25)width (keep|800|640|480|320|240)startduration |
gif-to-mp4GIF to MP4 |
mp4 | — |
gif-to-apngGIF to APNG |
apng | — |
image-to-gifImage to GIF |
gif | qualitywidth |
mov-to-gifMOV to GIF |
gif | fps (5|10|12|15|20|25)width (keep|800|640|480|320|240)startduration |
avi-to-gifAVI to GIF |
gif | fps (5|10|12|15|20|25)width (keep|800|640|480|320|240)startduration |
archive-converterArchive Converter |
zip, tar, tar.gz, 7z | — |
video-compressorVideo Compressor |
— | level (24|28|32|36)resolution (keep|1080|720|480|360) |
mp3-compressorMP3 Compressor |
— | bitrate (128k|96k|64k|48k|32k)mono |
wav-compressorWAV Compressor |
— | samplerate (44100|32000|22050|16000|8000)monodepth (16|8) |
image-compressorImage Compressor |
— | qualitymaxwidth |
jpeg-compressorJPEG Compressor |
— | qualitymaxwidth |
png-compressorPNG Compressor |
— | qualitymaxwidth |
pdf-compressorPDF Compressor |
— | level (printer|ebook|screen) |
gif-compressorGIF Compressor |
— | colors (256|128|64|32)widthfps |
crop-videoCrop Video |
— | aspect (1:1|16:9|9:16|4:3|4:5|custom)whxy |
trim-videoTrim Video |
— | startendfast |
gif-makerGIF Maker |
— | delaywidthloop |
resize-imageResize Image |
— | mode (px|pct)widthheightpctkeep |
crop-imageCrop Image |
— | aspect (1:1|16:9|9:16|4:3|3:2|4:5|custom)whxy |
rotate-imageRotate Image |
— | angle (90|180|270|custom)custom |
flip-imageFlip Image |
— | dir (h|v|both) |
image-enlargerImage Enlarger |
— | scale (1.5|2|3|4)sharpen |
pdf-to-black-and-whitePDF to Black and White |
— | mode (gray|bw)dpi (300|200|150)password |
pdf-mergePDF Merge |
— | — |
pdf-splitPDF Split |
— | ranges |
flatten-pdfFlatten PDF |
— | — |
resize-pdfResize PDF |
— | paper (a3|a4|a5|letter|legal) |
unlock-pdfUnlock PDF |
— | password |
rotate-pdfRotate PDF |
— | angle (90|180|270)pages |
protect-pdfProtect PDF |
— | password |
crop-pdfCrop PDF |
— | toprightbottomleft |
organize-pdfOrganize PDF |
— | orderreverse |
extract-image-from-pdfExtract image from PDF |
— | — |
pdf-page-removerPDF page remover |
— | pages |
extract-pages-from-pdfExtract Pages from PDF |
— | pages |
file-converterFile Converter |
any compatible | — |