Compress images to AVIF for a faster website
Turns JPEG, PNG and WebP images from your Apify key-value store, your uploaded files or direct image links into AVIF, which is usually much smaller than JPEG at the same visual quality. You can also cap the width so that large photos are shrunk for the web. Metadata is removed. Run it as it is to try three built-in sample images, then choose your own images.
Input
Output fields
Sign up on Apify or log in
The Image Converter & Compressor - WebP, AVIF, strip EXIF/GPS Actor is ready to run with the inputs already set for "Compress images to AVIF for a faster website". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Compress images to AVIF for a faster website" task
The Image Converter & Compressor - WebP, AVIF, strip EXIF/GPS Actor will start running based on the input automatically. You can also change all the input fields, like output format, quality, and more, to match your specific use case.
Receive the "Compress images to AVIF for a faster website" 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 status, input key, link number, 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 AVIF for a faster website" task via API.

Integrate "Compress images to AVIF for a faster website" into your workflow
Connect "Compress images to AVIF for a faster website" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
As a starting point, AVIF at quality 50 to 65 often looks similar to JPEG at 80 to 85 while being smaller. The AVIF compression task uses 60; compare a few results on your own images and adjust.
Yes. AVIF is slower to encode than WebP, so the Image Converter counts each AVIF output as two image-processed events. With the default 1 GB of memory, AVIF output works up to about 20 megapixels per image.
No. The AVIF compression task only shrinks images wider than the maximum width, keeping the aspect ratio. Smaller images keep their size.