Image Format Converter
Pricing
from $0.01 / 1,000 results
Go to Apify Store
Image Format Converter
Convert images in the cloud between HEIC, WebP, JPG, PNG, and SVG. Strip EXIF metadata for privacy, resize with aspect-ratio preservation, and export via direct URLs or archives (ZIP, TAR.GZ, GZIP, 7-Zip). Ideal for HEIC conversion, SVG rasterization, and standardizing image collections.
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer

Soham Purohit
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Convert images between multiple formats with this powerful Apify Actor. Supports HEIC, WebP, JPG, PNG, and SVG with batch processing, metadata removal, resizing, and ZIP archive download.
π― Supported Conversions
| From | To |
|---|---|
| HEIC | JPG, PNG |
| WebP | JPG, PNG |
| JPG | PNG |
| PNG | JPG |
| SVG | JPG, PNG |
β¨ Features
- π Batch Processing: Convert multiple images in a single run
- π URL Input: Fetch images directly from URLs
- π Privacy Protection: Remove EXIF, XMP, IPTC metadata (enabled by default)
- π Resize Support: Resize images while maintaining aspect ratio
- π¦ ZIP Download: Get all converted images as a single ZIP archive
- β‘ High Performance: Uses libvips/sharp for blazing-fast processing
- βοΈ Cloud-Based: No software installation required
π₯ Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
imageUrls | Array | [] | URLs of images to convert (HEIC, WebP, JPG, PNG, SVG) |
outputFormat | String | "jpg" | Target format: jpg or png |
quality | Integer | 90 | Output quality 1-100 (JPEG only) |
outputDelivery | String | "both" | urls, zip, or both |
removeMetadata | Boolean | true | Strip EXIF and other metadata for privacy |
resizeWidth | Integer | - | Resize to this width (1-10000, proportional) |
resizeHeight | Integer | - | Resize to this height (1-10000, proportional) |
π€ Example Input
Basic Conversion
{"imageUrls": ["https://example.com/photo.heic","https://example.com/image.webp"],"outputFormat": "jpg","quality": 90}
With Resize and Privacy
{"imageUrls": ["https://example.com/large-photo.jpg"],"outputFormat": "png","removeMetadata": true,"resizeWidth": 800}
Download as ZIP Only
{"imageUrls": ["https://example.com/img1.svg","https://example.com/img2.svg"],"outputFormat": "png","outputDelivery": "zip"}
π Output
Converted Images
- Individual URLs: Direct links to each converted image in key-value store
- ZIP Archive: All images bundled as
archive-converted-images.zip
Dataset Entry Example
{"originalUrl": "https://example.com/photo.heic","originalFormat": "heic","outputFormat": "jpg","outputUrl": "https://api.apify.com/v2/key-value-stores/.../records/image-photo-1.jpg","fileSize": 125432,"width": 1920,"height": 1080,"status": "success"}
π‘ Use Cases
- Privacy: Strip GPS coordinates and camera info from photos before sharing
- Web Optimization: Convert HEIC from iPhones to web-friendly JPG/PNG
- Batch Resize: Resize hundreds of images for thumbnails or social media
- Format Standardization: Convert mixed formats to a single standard
- SVG Rasterization: Convert vector graphics to high-quality raster images
π API Integration
JavaScript/Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('YOUR_USERNAME/image-format-converter').call({imageUrls: ['https://example.com/photo.heic'],outputFormat: 'jpg',quality: 95,removeMetadata: true,resizeWidth: 1200});// Get resultsconst { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("YOUR_USERNAME/image-format-converter").call(run_input={"imageUrls": ["https://example.com/photo.heic"],"outputFormat": "jpg","quality": 95,"removeMetadata": True,"resizeWidth": 1200})# Get resultsitems = client.dataset(run["defaultDatasetId"]).list_items().itemsprint(items)
π§ Technical Details
| Component | Technology |
|---|---|
| Runtime | Node.js 24 (Alpine) |
| Language | TypeScript |
| Image Processing | sharp (libvips) |
| HEIC Support | heic-convert |
| ZIP Compression | archiver |
π License
ISC