Image Converter: WEBP to PNG, PNG to JPG, JPG to WEBP, GIF avatar

Image Converter: WEBP to PNG, PNG to JPG, JPG to WEBP, GIF

Pricing

from $0.70 / 1,000 file generateds

Go to Apify Store
Image Converter: WEBP to PNG, PNG to JPG, JPG to WEBP, GIF

Image Converter: WEBP to PNG, PNG to JPG, JPG to WEBP, GIF

Convert and resize images between PNG, JPEG, WEBP, GIF, BMP, TIFF and ICO, with quality, fit modes, transparency handling and optional metadata stripping. Batch mode: process up to 1000 items per run.

Pricing

from $0.70 / 1,000 file generateds

Rating

0.0

(0)

Developer

vøiddo

vøiddo

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Convert and resize images between PNG, JPEG, WEBP, GIF, BMP, TIFF and ICO, with quality, fit modes, transparency handling and optional metadata stripping.

What it does

Convert and resize images between PNG, JPEG, WEBP, GIF, BMP, TIFF and ICO, with quality, fit modes, transparency handling and optional metadata stripping. It runs in seconds, needs no login and no API key of your own, and can process up to 1000 items in one run (batch mode).

Examples:

  • 24x16 PNG to a 48 px wide WEBP (inline sample image)
  • Fetch a PNG, crop-resize to 800x600 and save as JPEG

Input

FieldTypeRequiredDescription
file_urlstringnoPublic http(s) URL of the file. The image: base64 (or data: URI) string, or {"url": "https://..."}; up to 10 MB
file_urlsarraynoMany files in one run: one public http(s) URL per line, up to 1000. Each file is processed on its own with the options below and gives its own row.
file_base64stringnoThe file content as base64 (or a data: URI). Use this or file_url.
toselectyesTarget format Allowed: png, jpeg, jpg, webp, gif, bmp, tiff, ico.
widthintegernoTarget width in px
heightintegernoTarget height in px
fitselectnoOne of: inside, contain, cover, fill. Allowed: inside, contain, cover, fill.
qualityintegernojpeg / webp quality (webp 100 = lossless)
strip_metadatabooleannoDrop EXIF / XMP / ICC (colours are converted to sRGB first)
backgroundstringnoColour for transparent areas when the target has no alpha, and for contain padding (default white / transparent)
itemsarraynoOptional. A list of input objects with the same fields as above; every object is processed in its own right and the top-level fields act as shared defaults. Leave empty to process the single input above (up to 1000 items per run).

Example input:

{
"file_base64": "iVBORw0KGgoAAAANSUhEUgAAABgAAAAQCAYAAAAMJL+VAAAATUlEQVR42mOUX1z1n/UvEwOtMBMDjcHQt4AFl8TOpDSSDGqu2jTIfAADgTPm4U0lPbUhwzySBz4O1mckDVEfuM+bRVq5g8Oto6mIIAAA89w1GtnVjpwAAAAASUVORK5CYII=",
"to": "webp",
"width": 48,
"quality": 90
}

Output

Each processed item adds one row to the dataset with file_url (a link to the generated file in the run's key-value store), filename, mime, bytes, credits and ms. The file itself is stored under the key shown in file_key. A failed item adds a row with error and status instead; the run fails only when every item failed.

Limits

  • Up to 20 seconds per item.
  • Input size up to 10,000,000 bytes per item.
  • URLs must be public http(s) addresses; private and local addresses are refused, robots.txt is respected where pages are fetched.
  • No logins, no captcha solving, no personal-data lookups.
  • Each run sends one short usage record to the developer: the Actor and run IDs, the number of results, whether the run succeeded (and if not, the kind of error, such as "blocked" or "input problem"), whether the account is on a paid Apify plan, how the run was started (for example from the Console, the API or a schedule) and a one-way fingerprint of the account (a hash, not the account ID), so that repeat runs of one account count once. It contains nothing from your input or results.

Pricing

You pay per successfully processed item (the current price is on the Pricing tab). A failed item is not charged.

Run it through the API

Python, with the apify-client package:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("v0iddo/image-converter").call(run_input={"file_base64": "iVBORw0KGgoAAAANSUhEUgAAABgAAAAQCAYAAAAMJL+VAAAATUlEQVR42mOUX1z1n/UvEwOtMBMDjcHQt4AFl8TOpDSSDGqu2jTIfAADgTPm4U0lPbUhwzySBz4O1mckDVEfuM+bRVq5g8Oto6mIIAAA89w1GtnVjpwAAAAASUVORK5CYII=", "to": "webp", "width": 48, "quality": 90})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

JavaScript, with the apify-client package:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('v0iddo/image-converter').call({"file_base64": "iVBORw0KGgoAAAANSUhEUgAAABgAAAAQCAYAAAAMJL+VAAAATUlEQVR42mOUX1z1n/UvEwOtMBMDjcHQt4AFl8TOpDSSDGqu2jTIfAADgTPm4U0lPbUhwzySBz4O1mckDVEfuM+bRVq5g8Oto6mIIAAA89w1GtnVjpwAAAAASUVORK5CYII=", "to": "webp", "width": 48, "quality": 90});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

One HTTP call that waits for the run and returns the rows (for runs that finish within 5 minutes):

curl -X POST "https://api.apify.com/v2/acts/v0iddo~image-converter/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"file_base64": "iVBORw0KGgoAAAANSUhEUgAAABgAAAAQCAYAAAAMJL+VAAAATUlEQVR42mOUX1z1n/UvEwOtMBMDjcHQt4AFl8TOpDSSDGqu2jTIfAADgTPm4U0lPbUhwzySBz4O1mckDVEfuM+bRVq5g8Oto6mIIAAA89w1GtnVjpwAAAAASUVORK5CYII=", "to": "webp", "width": 48, "quality": 90}'

Use it from an agent (MCP)

Claude, Cursor, VS Code and other MCP clients can call this actor as a tool through the Apify MCP server. Add it to the client's MCP configuration:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=v0iddo/image-converter",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_TOKEN>"
}
}
}
}

FAQ

Do I need an account or an API key?

No key of your own. You only need an Apify account to start the actor.

How many items can one run process?

One item from the fields above, or up to 1,000 in items (batch mode) or one per URL in file_urls. Each item becomes one row in the dataset.

How am I charged?

Per successfully processed item, at the price on the Pricing tab for your Apify plan. A failed item is not charged, the platform usage of the run is included, and your spending limit for a run is always respected.

Where are the results?

Every row links to its file (file_url) in the run's key-value store; the rows themselves export as JSON, CSV or Excel from the Output tab or the API.

Can I run it on a schedule or from another tool?

Yes. Save the input as a task and schedule it in the Apify Console, or start it from Make, Zapier, n8n, a webhook or the API calls above.

Something is missing or wrong. Where do I report it?

Open an issue on the Issues tab of this actor with the run link, or write to data@voiddo.com.

Other ways to use it

The same engine is also available as an API at https://data.voiddo.com and as browser tools at https://utils.voiddo.com.

Support

Questions or a case that does not work: data@voiddo.com. We answer within one business day.