Convert HEIC Photos to JPG via API
Instantly convert Apple HEIC images from iPhone and Mac to universal JPG format. Supports batch processing for multiple files, configurable quality, and seamless n8n workflow automation.
# Convert HEIC image to JPG
curl -X POST \
https://api.convertfilefast.com/v2/convert/heic-to-jpg \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@photo.heic" \
-F "quality=90" \
--output photo.jpg
# HTTP 200 OK — Content-Type: image/jpegimport requests
from pathlib import Path
# Batch convert multiple HEIC files to JPG
heic_files = Path("./photos").glob("*.heic")
for heic_path in heic_files:
response = requests.post(
"https://api.convertfilefast.com/v2/convert/heic-to-jpg",
headers={"Authorization": "Bearer YOUR_API_KEY"},
files={"file": open(heic_path, "rb")},
data={"quality": 90}
)
out_path = heic_path.with_suffix(".jpg")
out_path.write_bytes(response.content)
print(f"Converted: {heic_path.name} → {out_path.name}")const formData = new FormData();
formData.append("file", fs.createReadStream("photo.heic"));
formData.append("quality", "90");
const response = await fetch(
"https://api.convertfilefast.com/v2/convert/heic-to-jpg",
{
method: "POST",
headers: { "Authorization": "Bearer YOUR_API_KEY" },
body: formData,
}
);
fs.writeFileSync("photo.jpg", Buffer.from(await response.arrayBuffer()));// n8n Workflow: Google Drive trigger → HEIC to JPG → Save back
// Step 1: Google Drive Trigger (new .heic file)
{
"node": "Google Drive Trigger",
"event": "fileCreated",
"fileExtension": "heic"
}
// Step 2: HTTP Request Node — Convert HEIC to JPG
{
"method": "POST",
"url": "https://api.convertfilefast.com/v2/convert/heic-to-jpg",
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{ "name": "file", "parameterType": "formBinaryData", "inputDataFieldName": "data" },
{ "name": "quality", "value": "90" }
]
},
"options": { "response": { "responseFormat": "file" } }
}Advantages
Why use our API?
Complete and reliable solution for integration in any tech stack.
iPhone Photo Support
Convert HEIC images captured on iPhone, iPad, and Mac directly to JPG without local software.
Batch Processing
Convert entire folders of HEIC photos to JPG in one automated pipeline. Perfect for photo library migration.
Configurable Quality
Set JPG output quality from 1 to 100. Balance file size and visual fidelity per conversion request.
Universal Compatibility
Output JPG files are compatible with every device, browser, and image editing application.
n8n & Automation Ready
Trigger conversions from Google Drive, Dropbox, or Gmail in n8n workflows. No code required.
Zero Storage
HEIC files are converted in memory and deleted immediately. Your photos are never stored on our servers.
Or call this from Claude, Cursor, or any MCP client
Convert File Fast ships a native Model Context Protocol server. Give this conversion to an AI agent as a single tool call — no HTTP client, no binary handling, per-user API keys.
npx -y convertfilefast-mcpconvert_file({ target_format: "jpg", source_url: "https://example.com/file.heic" })Start Converting HEIC to JPG
Get your API key and convert HEIC photos to JPG in seconds. Free plan includes 10 conversions per month.
No credit card. 10 free conversions on Free plan.