Skip to content
HTML to Image & Video

Video export works best in Chromium-based browsers (Chrome, Edge, Brave). Image export works in any modern browser.

Video converters

HTML to WebM Converter

Export CSS animations as WebM, an open video format that works in Chrome, Edge and Firefox.

px
Video settings
Live preview

What you get

A studio for CSS animation

Video from CSS animation

Frames are rendered at exact timestamps, then recorded as WebM or MP4.

Private by design

Rendering happens on your device. Your code and files are never uploaded.

Step by step

How to convert HTML to WebM

  1. Animate your HTML with CSS keyframes, or use the loaded demo.
  2. Keep Format on WebM and choose the frame size and FPS.
  3. Click Export video and wait for rendering and recording to finish.
  4. Download the .webm file and embed it with a video tag.

Why choose WebM

WebM is an open format that produces small files and plays in most modern browsers. It is a good choice for background loops, product demos and animations embedded straight into a web page with a video element.

Need MP4 later?

If an editor or platform only accepts MP4, pick MP4 in the format selector when your browser supports it, or convert the WebM file with any desktop video converter.

Keep exploring

Learn more

Guides and tutorials

Answers

Frequently asked questions

Can I put a WebM file in a web page?

Yes. Use a video element with the file as its source. Add a poster image and set muted and loop for background loops.

Do I need to install an encoder?

No. Recording uses the video recorder that is already built into your browser.

Is my code uploaded to a server?

No. The conversion runs entirely in your browser using the Canvas, Web Animations and MediaRecorder APIs. Your HTML, CSS and images never leave your device.

Ready to convert your HTML?

Free, private and runs in your browser.

Start recording