HTML Video Maker

Free · no sign-up · runs in your browser

HTML to Video Maker: code in, MP4 out

Paste HTML, CSS and JavaScript, watch it animate, scrub the timeline frame by frame, then export an MP4-ready project. Free, no sign-up, nothing uploaded.

3panes, one live preview
16:9 · 9:16 · 1:1frame presets
0files uploaded
Live preview
0.00 / 3.00s

Drag the timeline to check timing frame by frame. Your code stays in this tab.

Get the MP4: both export routes and the render command

Browser-only route. Download the project, open it in a tab, set your recorder to the same frame size and record the tab at 30 or 60 fps.

Frame-accurate route. HyperFrames treats a page like this one as a composition and renders it to video, so the markup you just wrote renders deterministically instead of in real time:

npx skills add heygen-com/hyperframes

Paste your markup, stylesheet and script. The preview re-renders as you type, and nothing you type is uploaded or stored on a server.

Workflow

How to turn HTML into a video

  1. Paste the composition

    A hero animation, a chart reveal, a kinetic-type card — any self-contained HTML/CSS/JS page. Drop the three parts into the three panes and the preview updates instantly.

  2. Check the timing frame by frame

    Drag the timeline. Every animation and transition inside the preview is paused and seeked together, so you can see exactly what second three looks like before you render anything.

  3. Record or render to MP4

    Download the project as one .html file and hand it to a frame-accurate renderer, or record the preview with a screen recorder. Both routes end in an MP4 you can post.

Export

Screen recording vs. frame-accurate rendering

Match the route to the job. Neither one needs an account here.

Screen recording: the fastest route to an MP4

The browser can draw your page, but it has no video encoder for a DOM tree. So the no-install route is to record the tab. Download the project above, open it in its own tab, set your recorder to the frame size you previewed (1280×720 for 16:9), and capture at 30 or 60 fps.

Two things bite beginners. A background tab gets throttled, so the animation stutters unless the tab stays in front. And a recording always gains a little latency at the start, so give the animation half a second of stillness before the first frame you actually care about.

Frame-accurate rendering: the cleanest route

A renderer drives the timeline itself instead of watching the screen. HyperFrames is the current example: you author a scene as a self-contained HTML/CSS/JS page, and it plays that timeline through a headless browser and encodes the result to a video file — MP4, MOV, WebM, GIF or a PNG sequence, locally or through HeyGen's cloud rendering API. Frame 37 is frame 37 no matter how loaded your laptop is.

That determinism is what turns a page into a template. Swap the headline, swap the number, and render a thousand variants overnight while nobody watches a screen.

Which one to pick

One video, needed today: record. Anything you will render more than a handful of times, or at several sizes: render. The markup is identical either way — the editor above is where you settle the timing first, because scrubbing shows exactly what second three looks like before any file exists.

Why code

Why build the video in code at all

Timing you can read

An animation is a few hundred characters of CSS. Diff it, version it, regenerate it for the next campaign instead of dragging keyframes again.

One source, many sizes

The same composition renders at 16:9, 9:16 and 1:1 from the same code. Change the frame preset instead of rebuilding the edit.

Text stays sharp

Type is rendered as text, not baked pixels, so captions and numbers stay crisp at 1080p and beyond.

Data can drive it

Numbers from a JSON file, a chart, a scoreboard: bind them to the markup and every render uses the latest data.

Frequently asked questions

Can I turn HTML into a video without installing anything?

Yes. Paste your code, preview it here, and record the preview tab with the built-in screen recorder on your system or a tool like OBS. No install and no account. A frame-accurate result instead of a screen capture needs a renderer such as HyperFrames.

Does this tool upload my code?

No. The preview runs in an iframe inside this page, and the download button builds the file in your browser. Your markup, styles and script are never sent to a server.

What frame size should I use?

16:9 at 1280×720, 9:16 at 720×1280 for Shorts, Reels and TikTok, or 1:1 at 960×960. The preset changes the viewport your code sees, so build with relative units and clamp() rather than fixed pixel widths.

Why does the animation look fine live but stutter in the recording?

Almost always because the tab lost focus and the browser throttled the animation, or because the recorder captured at 30 fps while the motion was faster than that. Keep the tab in front, close heavy extensions, and record at 60 fps if anything moves quickly.

Can I render the result with HyperFrames or Remotion?

HyperFrames, yes — a self-contained HTML/CSS/JS page is exactly what it expects as a composition. Remotion is a React framework, so the same design has to be rewritten as components before it will render there.

Is there a watermark or a render limit?

Nothing is added by this page — there is no watermark and no render quota, because the file is produced by your recorder or your own renderer.