# Convert WEBP to WEBM

Files are processed on our server, and the results are kept for a few minutes so you can download them, then deleted — whether or not you did. Free, no account, no watermark.

Results are deleted 15 minutes after the job finishes.

## API

POST the file as the raw request body to https://toolsforfree.app/api/jobs?from=webp&to=webm, then

GET https://toolsforfree.app/api/jobs/{taskId}?engine={engine} until state is done,
then GET https://toolsforfree.app/api/jobs/{taskId}/output?engine={engine}&format={format}, with the taskId, engine and format the 202 answers.

Details: https://toolsforfree.app/api.md

MCP: call convert_file at https://toolsforfree.app/mcp with from "webp" and to "webm".

## Options

Sent as JSON in the x-tff-options header. Bounds and allowed values are in https://toolsforfree.app/openapi.json.

- `video`: codec, mode, crf, bitrateKbps, targetBytes, effort, pixelFormat, keyframeSeconds, tune, profile, level, qscale, proresProfile, toneMap
- `resize`: width, height, fit, padColor, fps, rotate, flip, aspect
- `trim`: startMs, endMs, mode, fadeCuts

## Questions

### Does converting WEBP to WEBM lose quality?

Yes. The frames pass through a GIF on the way, which holds 256 colours, so smooth gradients can band, and WEBM then throws away detail to make the file smaller.

### Can I convert the WEBM back to WEBP?

Yes, and the file will open — but a round trip is not free. Each pass re-encodes, so going WEBP to WEBM and back leaves you with less than you started with.

### How is a WEBP made into a WEBM?

In two steps, one after the other, both on our server: the WEBP is made into a GIF, and that GIF into the WEBM. The GIF in between never leaves the server and is deleted as soon as the second step has read it. The settings on this page are for the second step.

### What can I change about the WEBM it produces?

You can choose the video codec; the quality, bitrate or file size; how long to spend; how often a keyframe comes; ten-bit colour; HDR to SDR; the resolution; an exact width; how it fits; the frame rate; which way to turn it; whether to mirror it; the frame shape; and where it starts and stops. Anything left on Auto is decided by the encoder, which is usually the right answer unless you are targeting a specific size or device.
