The browser workbench is the simplest way to convert an image. If you need to understand the HTTP request behind it, this guide shows the current beta endpoint with tested examples.

This is an unversioned beta endpoint with no API key. It shares capacity with the website: one batch at a time and a global 30-request-per-minute limit. Run requests sequentially, handle HTTP errors, and do not treat the beta as a high-volume automation service. The same upload limits and privacy notice apply.

WORKED EXAMPLE · REAL INPUT AND OUTPUT

A conversion you can reproduce

Create a website delivery copy from an existing JPG. Keep its dimensions and measure the actual WebP rather than using a PNG-origin export as a substitute.

FileRoleExact sizeDimensions or contents
product-jpg.jpgInput168,708 bytes1600 × 1000
jpg-to-webp.webpOutput98,772 bytes1600 × 1000

product-jpg.jpg · jpg-to-webp.webp

Parameters for this request

FieldValueEffect
filesproduct-jpg.jpgOne multipart file field per image
formatwebpOutput image format
quality80Encoder setting; not a retained-detail percentage
maxWidth0Keep original width

Run it with cURL

Download the input file above into one folder, open your shell in that folder, and run this single-line command. In Windows PowerShell, use curl.exe in place of curl. The cURL options send a multipart form and save the response body.

cURL

curl --fail-with-body --silent --show-error --max-time 120 -F "[email protected]" -F "format=webp" -F "quality=80" -F "maxWidth=0" -o "converted.zip" "https://dropandconvert.com/api/convert"

Success returns application/zip containing numbered image files. The output image inside the archive has a name such as image-01.webp; our linked sample downloads have descriptive editorial names. Extract converted.zip to inspect your results.

What to check in the result

Inspect the lettering and textured background in both downloads. The byte difference belongs to this JPG input and these settings; it is not a guaranteed saving for a photo library.

Run the same request in Node.js

Save this as convert.mjs beside the downloaded input files and run node convert.mjs with Node.js 22 or newer. It uses built-in FormData and fetch, checks HTTP status, and writes the ZIP only after success. No Drop & Convert SDK installation is needed.

JavaScript

import { readFile, writeFile } from 'node:fs/promises';

const form = new FormData();
for (const file of ["product-jpg.jpg"]) {
  form.append('files', new Blob([await readFile(file)]), file);
}
form.set('format', 'webp');
form.set('quality', '80');
form.set('maxWidth', '0');

const response = await fetch('https://dropandconvert.com/api/convert', {
  method: 'POST',
  body: form,
  signal: AbortSignal.timeout(120_000)
});
if (!response.ok) {
  throw new Error('HTTP ' + response.status + ': ' + await response.text());
}
if (!response.headers.get('content-type')?.includes('application/zip')) {
  throw new Error('Expected a ZIP response');
}
await writeFile('converted.zip', Buffer.from(await response.arrayBuffer()));
console.log('Saved converted.zip; extract it to use the images.');

Download this Node.js example.

This request uses the same current beta endpoint as the website and needs no API key. It is an unversioned endpoint with shared capacity: run requests sequentially and handle HTTP errors. The website's upload limits and privacy notice apply. These examples were tested on the local converter, not by uploading files to the live site.

Send multiple files in one request

Add a separate files field for each image. One output format, quality and width apply to the batch. Download the two inputs, save this as convert.mjs, and run it with Node.js 22 or newer.

Download the cup input · Download the screenshot input · Inspect the actual two-image ZIP output.

JavaScript

import { readFile, writeFile } from 'node:fs/promises';

const form = new FormData();
for (const file of ["product-original.png","screenshot-original.png"]) {
  form.append('files', new Blob([await readFile(file)]), file);
}
form.set('format', 'webp');
form.set('quality', '80');
form.set('maxWidth', '0');

const response = await fetch('https://dropandconvert.com/api/convert', {
  method: 'POST',
  body: form,
  signal: AbortSignal.timeout(120_000)
});
if (!response.ok) {
  throw new Error('HTTP ' + response.status + ': ' + await response.text());
}
if (!response.headers.get('content-type')?.includes('application/zip')) {
  throw new Error('Expected a ZIP response');
}
await writeFile('converted.zip', Buffer.from(await response.arrayBuffer()));
console.log('Saved converted.zip; extract it to use the images.');

Download the batch Node.js example.

Check status before saving a ZIP

A successful conversion returns application/zip. Validation failures return JSON. For example, quality 10 returns HTTP 400 with the following message:

JSON

{"error":"Quality must be between 40 and 95."}

HTTP 413 indicates an upload limit issue. HTTP 422 can indicate an unsupported file or a conversion that could not read it. HTTP 429 indicates shared capacity or rate limiting; wait before retrying, and avoid parallel requests. Read the returned error and keep retries bounded.

Download the Node.js example with HTTP and content-type checks. Its example input is the WebP cup file. File contents and filenames are not sent to optional engagement analytics.

Examples use original synthetic artwork and actual converter outputs, measured on 8 November 2026. Original measurements · Additional sample measurements.