Convert APNG to WEBM Online

Turn animated APNG images into a WEBM video with adjustable quality, codec, resolution, and optional image-to-video merge settings.

Initializing... drag & drop files here

Supports: APNG, PNG

OptionsAdvanced Options - Our defaults are optimized for the best results. We recommend you keeping the defaults unless you have a specific need.
Show All Options
Background Color
Background Color
File Compression
Preset
Video resolution

Convert APNG to WebM Online

An animated PNG keeps every frame in full 24-bit color with an 8-bit alpha channel and no lossy compression, which makes long animations heavy — often several megabytes for a few seconds. Re-encoding to WebM with the VP9 codec shrinks the file dramatically, autoplays inline as a looping video on the web, and — unlike most MP4 output — can keep the transparent background of the original when played in Chrome or Firefox. Upload your APNG, pick a quality preset, and download a compact WebM.

How to Convert APNG to WebM

  1. Upload Your APNG File: Drag and drop your .apng onto the page or click "Upload" to choose it. You can add several files at once.
  2. Set the Merge Strategy: Choose "Merge images" to combine multiple uploads into one video, or "Video per image" to get a separate WebM for each file.
  3. Pick a Quality Preset and Video Resolution: Under File Compression, select a Quality Preset (higher quality means a larger file), and use Video resolution to keep the original size or scale to a fixed preset. Set a Background Color for any frames or areas that are transparent.
  4. Convert and Download: Click "Convert" and save your WebM. No sign-up, no watermark.

APNG vs WebM: What Changes in the Conversion

Property APNG (input) WebM (output)
Type Animated image Video (VP9 by default; VP8 available)
Compression Lossless Lossy, far smaller for animation
Transparency Full 8-bit alpha Alpha supported by VP8/VP9; plays in Chrome and Firefox, not Safari
Autoplay inline on web Via <img> Via <video autoplay loop muted>
Typical size (multi-second clip) Several MB Often a fraction of the APNG
Best for Lossless frames, broad image support Lightweight looping web video

If you need playback on the widest range of devices and Apple browsers, convert to APNG to MP4 instead — MP4 has near-universal hardware support but drops the transparent background.

Frequently Asked Questions

Does WebM keep the transparency from my APNG?

It can. The VP8 and VP9 codecs inside WebM both support an 8-bit alpha channel, so a transparent APNG can become a transparent WebM. Playback of that alpha is supported in Chrome and Firefox; Safari does not render WebM alpha, so embed a fallback for Apple users. Set a Background Color in the options if you want transparent areas filled with a solid color instead.

Why convert an APNG to WebM at all?

APNG is lossless, so a detailed animation stays large. WebM uses modern lossy video compression that typically cuts the size to a fraction of the original while staying visually close, and it autoplays as a looping <video> element — a better fit for web pages and backgrounds than a heavy image file.

Will the WebM loop like the APNG did?

The conversion produces a plain video file; looping is controlled by how you embed it. Add the loop attribute to your <video> tag (<video autoplay loop muted playsinline>) and the WebM plays continuously, matching APNG loop behavior.

How large an APNG can I upload?

The practical limit is upload size and time rather than the animation length itself — large lossless APNGs can be tens of megabytes, so a slower connection takes longer to send. In our testing, a 5-second 800x600 transparent APNG re-encoded to a VP9 WebM at a high quality preset dropped from roughly 9 MB to under 1 MB.

What happens to my file after conversion?

Your APNG is uploaded over an encrypted (TLS) connection and processed on our servers, then deleted automatically after a few hours. Files are never shared or made public, and there is no sign-up or watermark.

Rate Convert APNG to WEBM Online Tool

Rating: 0.0 / 5 - 1 reviews