HTML to video
Convert HTML to video with HyperFrames, the open-source framework your coding agent drives. Every frame renders at its exact time, every run matches, and every export is MP4, WebM or MOV.
- Free and open source under Apache 2.0
- MP4, transparent WebM or MOV, up to 4K
- Works with Claude Code, Codex and Cursor
npx hyperframes render --output video.mp4or Download Studio and make it on your computer
- 52,234,802 Videos rendered
- 89,816 GitHub stars
- 1,454,526 npm downloads a week
HTML to video tools for developers
Write HTML, CSS and JavaScript. Render it to video, frame by frame.
Frame-accurate HTML to MP4
A hidden Chrome jumps to each exact frame and FFmpeg encodes the video. Clocks freeze and randomness is seeded, so the same input gives the same video on every run.
Bring your own animation code
Keep the code you already write. GSAP, CSS keyframes, Web Animations, Anime.js, Lottie, Three.js and WebGPU shaders are captured frame by frame through 12 animation adapters. Plug in any other engine through a small interface.
Your coding agent writes it
One command installs nine skills into Claude Code, Codex or Cursor. Ask in plain words, and the agent plans, writes, lints and renders the video. See the Claude Code guide.
Render free, anywhere
Rendering on your computer is free, needs no account and adds no watermark. For long or batch jobs, split the render across your own AWS Lambda, or render on Google Cloud Run.
Every format, up to 4K and 240 fps
Pick the video format you need. Export H.264 MP4, transparent WebM or ProRes 4444 MOV, a PNG sequence or a GIF, with no length limit. Render at 1080p, 1440p or 4K, at any frame rate from 1 to 240.
HTML to video examples
Frames from real videos rendered from HTML, CSS and JavaScript.

Terminal session
A render command types out and finishes.

Data chart
A chart builds from data and lands the exact values.

Three.js product
A 3D product turns on a studio plinth.

GSAP kinetic type
Words slam in on the beat from a GSAP timeline.

Map flight
A plane flies New York to Paris on a map.

3D grid
A ripple rolls through a grid of cubes.

D3 map route
A route draws itself across a dotted world map.

SVG line drawing
A path draws itself on, line by line.

Particle text
A title made of tiny dots, with the date set under it.

Lottie on a stage
A Lottie character walks in on an animated stage.

Word swap
One word changes while the rest of the line holds still.

Real page zoom
Zoom into a real front page and pull out the line that matters.
HTML to video use cases for developers

Personalised videos from data
Render one template once per data row, from JSON on your computer or JSONL on Lambda. Template variables swap text, colors and images.

Changelog videos from pull requests
Turn a merged pull request into a short video of what changed, with the real code on screen.

HTML to video in CI
Render in a pinned Docker image for byte-identical output, and fail the build when a lint rule breaks.

Charts and dashboards as video
Animate a D3 chart or a live dashboard for a lesson, a report or a social post, or embed it on a page.

Transparent overlays for editors
Render lower thirds and titles as ProRes 4444 or WebM with alpha and drop them into any editing app.

Launch films from code
Ask your agent for a launch film of your product. See website to video to start from your URL.

Social cards as video posts
Render X, Reddit or TikTok-style cards from your data as short video posts for launches and announcements.

Product demos in a device stage
Place your web app’s screens in a device stage and render a product demo at 4K for the landing page.

Code walkthrough videos
Animate code typing, diffs and terminal sessions, then render a walkthrough for docs, talks or release notes.
How to convert HTML to video
Install the skills
Run npx skills add heygen-com/hyperframes to add the skills to Claude Code, Codex or Cursor.
Ask your agent in plain words
Describe the video, or point the agent at the HTML file you already have.
Check it in the browser editor
Run npx hyperframes preview to scrub the timeline and fix anything by hand.
Render the MP4
Run npx hyperframes render to get an MP4, free on your computer with no watermark.
HTML to video pricing
Free and open source. Studio and Pro are there when you want them.
Open source · $0
The CLI, the skills and the browser editor are free under Apache 2.0. Renders on your computer need no account and add no watermark.
Read the quickstartStudio · Free plan
Prefer not to code? The Studio app puts an agent beside a live preview. Free with a HeyGen account, with 5 cloud exports a month.
Try Studio on the webPro · $25 a month
25,000 credits a month for HeyGen AI clips, voices and images, plus unlimited cloud exports in the app. Separate from HeyGen plans.
See ProHTML to video FAQs
What is HTML to video?
HTML to video is the process of rendering a web page or HTML animation into a video file such as MP4. A headless browser draws the page at each frame time, and an encoder stitches the frames and any audio into a video that plays anywhere.
Is the HTML to video output deterministic?
Yes. HyperFrames asks for each frame by number, freezes clocks and seeds randomness, so the same input renders the same video every time.
How do I convert HTML to MP4?
Install the skills, ask your agent for the video, then run npx hyperframes render. The CLI docs list every render option.
Which AI agents can make HTML videos?
Claude Code, Codex, Cursor and Gemini CLI through the skills. In the Studio app, ten agents work beside a live preview, including the built-in agent, which runs on credits.
Is HTML to video free?
Yes. HyperFrames is open source under Apache 2.0, and renders on your computer are free with no watermark. HeyGen cloud renders give free accounts 5 a month, then use credits.
Which formats, sizes and frame rates can I render?
MP4, transparent WebM, ProRes 4444 MOV, PNG sequences and GIF. Render any size up to 4K, at any frame rate from 1 to 240, and cap the bitrate to fit a file size limit.
Can I render a Lottie or SVG animation too?
Yes. Lottie JSON and .lottie files play with no conversion, and SVG animations driven by CSS or GSAP render frame by frame. See Lottie to MP4.
Can HTML animations be exported as MP4 with sound?
Yes. Audio and video elements in your HTML play on the timeline and are mixed into the MP4. Add music, a voiceover or sound effects, and set each clip’s volume and fades.
How do I automate HTML to video?
Run the CLI from a script or a CI job. Template variables render one video per data row, from JSON on your computer or JSONL on AWS Lambda. A render server can also run inside your own backend as an HTTP API.
Do I need a GPU or Docker?
No. Rendering runs on macOS, Windows and Linux with Node 22 or newer and FFmpeg, and Chrome downloads automatically. Docker is optional and gives byte-identical renders for CI.
How is HTML to video different from screen recording?
A screen recorder captures whatever plays in real time, so slow frames get dropped. The renderer seeks each frame by number and captures it, so every frame lands, even on a slow machine.
Do web fonts and images from the internet work?
Yes. Every font is embedded, so text renders the same on any machine, and media linked by URL downloads before the render. For the most reliable runs, the docs advise copying files into the project.
Who makes HyperFrames, and can I use it commercially?
HeyGen makes HyperFrames and uses it for its own videos. The framework is open source on GitHub under Apache 2.0, so you can use, change and sell work made with it.
Explore more HyperFrames tools
Every tool runs in HyperFrames Studio, free to start. See all tools
Edit your videos
For developers and agents
From the blog
- The Top 11 Best After Effects Alternatives for 2026
- The Best Claude Code Skills for Making Videos in 2026
- The 12 Best Open-Source AI Video Editors in 2026, Rated
- Our harness beats Claude Code: here’s how
- Can ChatGPT Make Videos? The Best Ways After Sora (2026)
- Can Claude Make Videos? Yes: The 4 Best Ways in 2026
Render your first HTML video today
HyperFrames is free and open source. Install the skills in one command, or try Studio on the web with no code.

