Menu

Convert a list of image URLs to WebP in bulk (Python, JS, n8n)
📰

Convert a list of image URLs to WebP in bulk (Python, JS, n8n)

DEV Community: python·CyberMax·1 day ago
#hc5uQohC
#devtopython#devto#dev#webp#apify
Long article (1438 words) — no AI summary yet.
Reading 0:00
15s threshold

Converting a few images to WebP is a drag-and-drop job. Converting every product photo on a store, from URLs, on a schedule, is not. Here is a workflow that downloads, converts, resizes and strips EXIF in one run, with Python, JavaScript and no-code versions and a real before/after.

Short answer

For a handful, any desktop converter works. For hundreds or thousands, send the image URLs to a bulk converter: Pixkiln on Apify downloads each image, converts it to WebP (or AVIF, JPEG, PNG) at quality 80, shrinks it to your max width, strips EXIF and GPS data and returns one ZIP plus the bytes saved per image, at $0.0015 per image; failed downloads are free.

Step by step

Collect the image URLs, one per line.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.