Compress images to under 100 KB in bulk
Compresses images to a size target in KB: the quality is lowered step by step (never below 20) until each JPEG, WebP or AVIF file fits, and photos can be resized at the same time. GPS and other EXIF data are removed, and all files come in one ZIP. $0.002 per image up to 16 MP. This example turns two 3–4 MB NASA photos into 1200 px JPEGs under 100 KB (102,400 bytes).
Input
Output fields
Sign up on Apify or log in
The Image Converter & Compressor: WebP, AVIF, JPEG, PNG in Bulk Actor is ready to run with the inputs already set for "Compress images to under 100 KB in bulk". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Compress images to under 100 KB in bulk" task
The Image Converter & Compressor: WebP, AVIF, JPEG, PNG in Bulk Actor will start running based on the input automatically. You can also change all the input fields, like images, output format, and more, to match your specific use case.
Receive the "Compress images to under 100 KB in bulk" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as #, source, status, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Compress images to under 100 KB in bulk" task via API.

The compress-to-100-KB task then saves it at quality 20 and notes 'could not reach 100 KB even at quality 20' in its row. 1 KB = 1,024 bytes; for a 100,000-byte limit set maxKb to 97. At 1600 px both example photos stayed above 100 KB.
JPEG, WebP or AVIF output. This task writes JPEG, so PNG sources are compressed too. PNG and lossless WebP output are lossless: the compress-to-100-KB task ignores the size target for them and says so in the row's note.
The compress-to-100-KB task charges $0.002 per converted image up to 16 megapixels of output, plus $0.002 per further started 16 MP; PNG or lossless WebP output adds $0.0025 per started 4 MP. Failed and unsupported images are free.
Yes. The compress-to-100-KB task removes EXIF and XMP data, including GPS, after turning the photo upright. The color profile is kept.
It depends on the photo and its size. In this example the compress-to-100-KB task fit the 1200 px JPEGs into 100 KB at quality 25 and 37, shown in each row's quality field. For a higher quality, raise maxKb or lower maxWidth.