Bulk Image Compressor
Pricing
from $0.90 / 1,000 image processeds
Bulk Image Compressor
Compress image files in bulk from URLs or uploaded images. Choose output format, quality, resize, target size, and metadata stripping, then get optimized download URLs with size savings for each successful image.
Pricing
from $0.90 / 1,000 image processeds
Rating
0.0
(0)
Developer
Maxime Dupré
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
🖼️ Bulk image compressor for web-ready files
Bulk Image Compressor helps developers, marketers, creators, and ecommerce teams compress image files in one Apify run. Give it image URLs or an uploaded image file, choose output format and optimization options, and get one dataset row for each successfully processed image with a downloadable optimized file and size-savings data.
- Compress images in bulk before publishing them on websites, landing pages, CMS pages, or product catalogs.
- Convert and optimize common web image formats such as original format, JPEG, PNG, WebP, and supported AVIF outputs when available.
- Resize large images by maximum width or height while preserving their aspect ratio.
- Strip image metadata to reduce file size and remove embedded private data from optimized outputs.
- Track original size, optimized size, savings percentage, dimensions, filenames, and output download URLs for each successful image.
📦 What you get
This actor focuses on the practical compress image job: turn user-supplied images into smaller, downloadable optimized files. It combines compression, optional resizing, output format choice, quality tuning, metadata stripping, and per-image reporting without requiring a source account or external API credentials.
Each accepted output row represents a successful processed image. Failed downloads, unsupported files, empty runs, and no-result outcomes are not described as successful image results.
▶️ How to run
- Add one or more image URLs in Image URLs, or provide an uploaded/stored image in Image file.
- Choose the Output format you want, or keep the original format behavior when that fits your workflow.
- Set Quality for lossy formats when you need a smaller file or higher visual quality.
- Optionally set Max width, Max height, Target size KB, and Strip metadata.
- Run the actor and download optimized files from the dataset rows.
⚙️ Input options
| Input | What it does |
|---|---|
imageUrls | List of user-supplied image URLs to process. |
imageFile | Uploaded or stored image file reference to process. |
outputFormat | Desired optimized output format. |
quality | Quality level for lossy output formats. |
stripMetadata | Removes image metadata from the optimized output when enabled. |
targetSizeKb | Optional target size in KB for suitable compression workflows. |
maxWidth | Maximum output width in pixels. |
maxHeight | Maximum output height in pixels. |
📊 Output data
The dataset is designed for direct use in scripts, dashboards, exports, or downstream automation. Rows include source and output evidence, file size facts, savings, dimensions, metadata status, and processing timing when available.
Common fields include:
sourceReferenceandoutputUrloriginalFilenameandoutputFilenameoriginalFormatandoutputFormatoriginalSizeBytesandoptimizedSizeBytessavingsPercentoriginalWidth,originalHeight,outputWidth, andoutputHeightmetadataStrippeddurationMs
🧾 Output example
{"id": "img_001","sourceReference": "https://example.com/images/product-photo.png","originalFilename": "product-photo.png","outputFilename": "product-photo.webp","outputUrl": "https://api.apify.com/v2/key-value-stores/example/records/product-photo.webp","originalFormat": "png","outputFormat": "webp","originalSizeBytes": 842144,"optimizedSizeBytes": 214980,"savingsPercent": 74.47,"originalWidth": 1600,"originalHeight": 1200,"outputWidth": 1200,"outputHeight": 900,"metadataStripped": true,"durationMs": 438}
💳 Pricing
This actor uses pay-per-event pricing. You are charged only for each successful user-visible optimized image result saved to the dataset. Empty runs, invalid images, failed downloads, unsupported formats, setup checks, and no-result outcomes are not charged as processed images.
🔌 Integrations
Use this actor with Apify integrations, API clients, webhooks, scheduled runs, and dataset exports. Send results to spreadsheets, BI tools, databases, or your own app after each run.
❓ FAQ
🖼️ Can I process many images in one run?
Yes. The actor is built for bulk image compression from user-supplied image targets, including image URL lists and uploaded or stored image inputs.
🔗 Do I need an account on the image source website?
No. The actor works with direct image targets supplied by you and does not require source-site credentials or an external image-compression API key.
📉 Am I charged for failed images?
No. Pricing is tied to a successful processed image result. Empty runs, invalid images, failed downloads, unsupported formats, and no-result outcomes are not charged as processed images.
🧩 What formats can I use?
The workflow is centered on common web image formats, including original-format output, JPEG, PNG, WebP, and supported AVIF output when available. The actual output row reports the detected original format and the optimized output format.
📏 Can this compress images to a target size such as 100 KB?
Use targetSizeKb when you need a target file size for suitable lossy output formats. Exact final size can depend on the source image, chosen format, dimensions, and quality settings, so the dataset reports the measured optimized size.
🧹 Does it remove image metadata?
Yes, enable stripMetadata to remove metadata from the optimized output when the processing path supports it. The dataset includes metadataStripped so you can audit the result.
📐 Can I resize images while compressing them?
Yes. Set maxWidth and/or maxHeight to constrain output dimensions while preserving the image aspect ratio.
📥 Where do optimized images go?
Each successful row includes an outputUrl for the optimized image file generated by the actor, so you can download it or pass it to another workflow.
🔄 Is this a full image converter or PDF/Base64 tool?
No. This actor focuses on bulk image compression, web image format output, resizing, metadata stripping, and downloadable optimized files. PDF export and Base64 conversion are not core workflow goals.
📝 Changelog
- 0.1.0: Initial release.
🆘 Support
For issues, questions, or feature requests, file a ticket and I'll fix or implement it in less than 24h 🫡
🔗 Other actors
- Ahrefs Free Website Stats Scraper ↗ - Use it for related bulk workflows.
- Email MX Verifier ↗ - Use it for related bulk workflows.
- Gmail Username Checker ↗ - Use it for related bulk workflows.
- Image Resizer API ↗ - Use it for related compress workflows.
- Password Generator ↗ - Use it for related bulk workflows. Made with ❤️ by Maxime Dupré