Convert WebP to PNG, KTX2, or BMP

Convert a WebP image to PNG, KTX2, or BMP locally in your browser, or compress it lossily to JPEG, WebP, or AVIF. The image is not uploaded to a server.

Every output accepts images up to 25 MP, with neither dimension above 8192 pixels. Animated WebP is rejected rather than reduced to one frame. The WebP is first decoded to an uncompressed R8G8B8A8 sRGB KTX2, which is offered as-is or encoded to PNG or BMP. Conversion runs in disposable workers so the decoder and encoder do not keep their fixed Wasm memory attached to the page.

Download components #

CLI equivalent #

# WebP to PNG (via KTX2)
npx @qip.dev/qipx qip.dev run \
  image/webp/webp-to-ktx2-r8g8b8a8-srgb.wasm \
  image/ktx2/ktx2-r8g8b8a8-or-b8g8r8a8-srgb-to-png.wasm \
  < input.webp > output.png

# WebP to KTX2
npx @qip.dev/qipx qip.dev run \
  image/webp/webp-to-ktx2-r8g8b8a8-srgb.wasm \
  < input.webp > output.ktx2

# WebP to BMP
npx @qip.dev/qipx qip.dev run \
  image/webp/webp-to-bmp-b8g8r8a8-srgb.wasm \
  < input.webp > output.bmp

# WebP to PNG (via BMP)
npx @qip.dev/qipx qip.dev run \
  image/webp/webp-to-bmp-b8g8r8a8-srgb.wasm \
  image/bmp/bmp-to-png.wasm \
  < input.webp > output.png