NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Image Converter API

POST

Convert iPhone HEIC photos and modern formats into web-ready images.

Image Converter transforms images between formats. Convert HEIC from iPhones, modern WebP and AVIF formats, or classic PNG, JPG, GIF, and TIFF. Includes optional resizing and quality control, and paid plans also get the pixel width and height of the converted file.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/imageconverter
Body
image
Click or drag a file to upload.heic, .heif, .avif, .webp, .png, .jpg, .jpeg, .gif, .tiff, .tif, .bmp, .pdf, .svg · max 400KB for live testing
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
    "inputFormat": "heic",
    "outputFormat": "png",
    "inputSize": 2456789,
    "outputSize": 1834567,
    "mimeType": "image/png",
    "expires": 1707350400000,
    "downloadURL": "https://storage.googleapis.com/apiverve/imageconverter/a1b2c3d4.png",
    "outputWidth": 1280,
    "outputHeight": 960
  },
  "code": 200
}

About the Image Converter API

Image Converter is an image converter API that converts between image formats in one call. Convert HEIC from iPhones, modern WebP and AVIF, PDF and SVG input, or classic PNG, JPG, GIF, TIFF and BMP, and write PNG, JPG, WebP, GIF, TIFF, BMP or PDF. Common jobs are heic to png, heic to jpg, webp to png and avif to jpg.

Powered by ImageMagick, it handles format changes that browsers and simple libraries cannot, which is why it suits processing user uploads, converting Apple HEIC photos for web use, normalising images before storage and producing a single-page PDF from an image. Each result is a temporary download link.

The Free plan converts at the original size with a quality setting for JPG and WebP. Paid plans add a maximum width and height that scale the image with its aspect ratio kept, plus the input and output file sizes, the MIME type, and the converted file's actual pixel dimensions, read from the output itself, so you can confirm a resize without downloading it.

How it works

Send the image as a multipart upload in the image field, up to 10MB; larger files return a 413, and URLs are not accepted. Accepted inputs are HEIC, HEIF, AVIF, WebP, PNG, JPG, GIF, TIFF, BMP, PDF and SVG. The source format is taken from the file extension and the conversion runs on an ImageMagick service with a 25-second limit.

outputFormat is required and must be png, jpg, webp, gif, tiff, bmp or pdf; jpeg is accepted as jpg, and anything else returns a 400 listing the valid targets. quality defaults to 90 and affects lossy output (jpg, webp). maxWidth and maxHeight (paid) shrink the image to fit inside those bounds while preserving aspect ratio; when either is set the response includes resized: true.

outputWidth and outputHeight (paid) are not echoed from your request. They are parsed from the header of the file that was written, for PNG, JPG, GIF, BMP, WebP and TIFF, so they reflect resizing and any automatic orientation. They are omitted for PDF output, or when the header cannot be read.

The result is stored for two days: downloadURL links to it and expires is the deletion time in milliseconds since the Unix epoch. inputSize and outputSize (paid) are in bytes. A file the converter cannot decode returns a 400 saying the file could not be read as an image. An SVG DOCTYPE is dropped and its internal literal entities are expanded before conversion, so Illustrator exports work. SVG input with external or parameter entity declarations, or wider or taller than 16384px, is rejected with a 400 before conversion.

What people use it for

Job Site Photo Submissions
Contractors upload HEIC snapshots from job sites, converting them to standard JPG format through the download URL before attaching them to client progress reports.
Vector Logo Rasterization
To prepare brand assets for presentation decks, marketing portals convert uploaded SVG files into PNG images with defined compression quality.
Graphic Design Submissions
When digital artists submit heavy TIFF illustrations, the review platform converts each upload into WebP format for fast in-browser jury evaluation.
Signed Receipt Archiving
Turn smartphone photos of paper invoices into standardized PDF files before routing expense claims to accounting teams for reimbursement.

Without writing code

Image Converter for Windows converts a batch of images between formats on your PC.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Questions.

Common questions about the Image Converter API.

Read the docs →
Which image formats can I upload and convert?
You can upload HEIC, HEIF, AVIF, WebP, PNG, JPG, JPEG, GIF, TIFF, BMP, PDF, and SVG files up to 10 MB. Output formats are PNG, JPG, WebP, GIF, TIFF, BMP, and PDF; AVIF and HEIC are accepted as input but not written as output. Quality control settings are supported for JPG and WebP targets.
Does resizing an image distort its proportions?
No. On paid plans, when you set maximum width or height parameters, Image Converter scales the image while maintaining its original aspect ratio. Your image fits inside the boundaries you set without stretching or distortion.
Can I resize images and inspect file sizes on the Free plan?
No, pixel resizing parameters for maximum width and height require a paid plan. Paid plans also unlock output size, input size, MIME type, and output pixel width and height in the response. The Free plan handles basic format conversion without dimension adjustments.
How long are converted images available for download?
Converted files are hosted temporarily and return with an expiration timestamp alongside the download URL. You should fetch the converted image and transfer it to your own storage before that expiration timestamp passes.
What would converting 10,000 images a month cost me?
Converting 10,000 images consumes 100,000 credits, which uses half of Starter's monthly allowance. On Starter, that works out to about $1.50 per 1,000 images or $0.0015 per conversion. The Free plan includes 20 image conversions each month.

Ready to build with Image Converter? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs