HyperFrames

The best free way to convert an animated SVG to MP4

HyperFrames renders your SVG's CSS or GSAP animation frame by frame on your computer, sharp up to 4K, as MP4, GIF or a transparent WebM or MOV. Free and open source.

  • Free and open source (Apache 2.0)
  • CSS keyframes or GSAP, frame-exact
  • MP4, transparent WebM or MOV, GIF, sharp at 4K

Updated 18 November 2026

Short answer: HyperFrames is the best free way to convert an animated SVG to MP4, because it renders CSS and GSAP animation frame-exact on your computer, redrawn sharp up to 4K. SVGator also exports MP4 up to 4K, but only on its Pro plan at $24 a month billed yearly.

The job: a logo reveal for HeyGen HyperFrames. The result: ASCII-art sharks circling the logo, built in HTML and rendered to MP4 with HyperFrames.

Why do people convert SVG animations with HyperFrames?

  • Frame-exact CSS and GSAP. HyperFrames seeks your SVG's CSS keyframes or GSAP timeline to each frame's exact time, at 1 to 240 fps.
  • Sharp up to 4K. The SVG is redrawn for every frame at the output size, up to 4K, never upscaled.
  • GIF, MP4 or transparent video. One render gives MP4, GIF, WebM with alpha or ProRes 4444 MOV.
  • Free, on your computer. Nothing is uploaded, and renders carry no watermark.
  • Your agent can animate it. Claude Code, Codex and Cursor use the HyperFrames skills to write the CSS or GSAP for your SVG.

Convert your SVG to MP4 today, free

Which SVG animations can HyperFrames render?

In a check on 6 November 2026, the HyperFrames team put four kinds of SVG motion on one page and captured frames at 1 and 3 seconds, twice. Two kinds landed on the exact frame both times; two followed the clock instead and came out wrong.

How the SVG moves

Frame-exact in the video?

What to do

CSS keyframes inside an inline svg

Yes

Keep them; use a finite iteration count and fill mode both

GSAP tweens on SVG elements

Yes

Create the timeline paused and register it on window.__timelines

SMIL tags such as animate

No, it runs on the clock

Rewrite the motion as CSS or GSAP

An animated SVG file in an img tag

No, it animates on its own

Paste the SVG markup into the page

The reason: HyperFrames sets every animation it can reach to the frame's exact time. SMIL and an SVG loaded as an image keep their own clocks, so they move by however much real time passed. Converting a whole web page instead? Read HTML to MP4.

What can HyperFrames do with an animated SVG?

HyperFrames turns your SVG into a video file the way a video tool would. It works frame by frame, at the size and frame rate you ask for. Six features set it apart from an upload converter.

Frame-exact capture

Every frame is captured at its own timestamp, at 1 to 240 frames per second. A line draw lands at the same point on every render.

Sharp at any size

SVG is redrawn for every frame at the output size, so --resolution square-4k gives a crisp 2160 by 2160 badge, not an upscaled one.

Transparent output

Render WebM with alpha for the web, or ProRes 4444 MOV with alpha for Premiere Pro, Final Cut Pro, DaVinci Resolve and After Effects.

GIF for READMEs and docs

--format gif writes a looping GIF for a pull request, a README or a help article, with --gif-loop for the loop count.

GSAP for exact timing

GSAP tweens on SVG elements give you eases, exact start times and one timeline to edit, all seeked frame by frame.

An SVG inside a full video

The SVG can share the frame with titles, captions, a voiceover, music and other scenes, all rendered in one pass.

Have your agent animate your SVG for you

Which kinds of SVG motion can you turn into video?

Most SVG animation on the web is one of these kinds. Most have a free, open-source starting point in the HyperFrames catalog of 210 blocks and 238 components.

  • Line drawing. A path draws itself on, such as SVG Stroke Trace, which draws from the path's measured length.
  • Loaders and progress. A looping line loader such as SVG Line Draw Loader, rendered as a GIF.
  • Mask reveals. Shapes or images uncovered by an animated mask, such as SVG Mask Reveal.
  • Outlined text. Letters traced as outlines, then filled, such as Outline Draw.
  • Handwriting. Words written stroke by stroke, such as Stitched Text Draw.
  • Whiteboard sketches. A drawing sketched line by line with a pen, such as Whiteboard Ink.
  • Ink and paint. A shape that bleeds in like ink on paper, such as Ink Bleed Reveal.
  • Motion along a path. An object that travels an SVG path, such as Offset Path Traveler and Arc Motion Path.
  • Icon morphs. One icon turning into another on the beat, such as Icon Morph Beat.
  • Logo reveals. A logo outline that draws, fills and locks up. See the logo animation maker.
  • Charts and diagrams. SVG bars, lines and arrows that build from real numbers. See AI motion graphics.
  • Illustrations. A full SVG illustration traced stroke by stroke, assembled and set in motion, like the film at the top of this page.
  • A static SVG. A plain logo or icon with no animation. Describe the motion and your agent adds it.

Who converts SVG animation to video with HyperFrames?

HyperFrames suits anyone who has an SVG and needs a video file at the end. These are the jobs it does today.

Designers

Turn an animated logo or icon from a design file into an MP4 for a portfolio, a pitch or a brand guide.

Front-end developers

Render the CSS-animated SVG already on your site to a GIF for the README or a release note.

Motion designers

Deliver a ProRes 4444 MOV with alpha of a line-draw logo to drop into any editor.

Brand and marketing teams

Make a logo sting for the end of every video, in 16:9, 1:1 and 9:16, from the brand's own SVG.

Teachers and course creators

Draw a diagram stroke by stroke under a voiceover, so the class watches it being built.

Documentation writers

Explain a flow with an animated SVG diagram rendered as a short GIF for the help center.

Developer relations

Animate architecture diagrams and code-adjacent illustrations for a launch post or a talk.

Agencies

Render a client's icon set or logo variations to video in one batch, each with the client's colours.

Render your first SVG video tonight

How do you convert SVG to MP4, step by step?

Four steps take an animated SVG to an MP4. You need Node.js 22 or newer and FFmpeg; run npx hyperframes doctor to check both.

Step 1: Create a project

Bash
npx hyperframes init my-svg --non-interactive --skip-skills
cd my-svg

You get a folder with index.html, hyperframes.json, package.json and meta.json, plus AGENTS.md and CLAUDE.md for a coding agent.

Step 2: Paste the SVG into the page

Replace index.html with this page. It is a square 1080 by 1080 video of a check badge: a green ring draws itself, then a white tick.

HTML
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <style>
      html, body { margin: 0; width: 1080px; height: 1080px; overflow: hidden; background: #0f1115; }
      #badge { position: absolute; left: 240px; top: 240px; }
      @keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
      #ring { stroke-dasharray: 100; animation: draw 1.2s ease-out 1 both; }
      #tick { stroke-dasharray: 100; animation: draw 0.6s ease-out 1.1s 1 both; }
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-no-timeline data-start="0" data-duration="3" data-width="1080" data-height="1080">
      <svg id="badge" class="clip" data-start="0" data-duration="3" data-track-index="0" width="600" height="600" viewBox="0 0 300 300">
        <circle id="ring" pathLength="100" cx="150" cy="150" r="140" fill="none" stroke="#4fdb5e" stroke-width="12" />
        <path id="tick" pathLength="100" d="M85 155 L130 200 L215 105" fill="none" stroke="#ffffff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" />
      </svg>
    </div>
  </body>
</html>
  • pathLength="100" makes every path 100 units long, so one dash pattern draws any shape from 0 to 100.
  • Each animation has a finite count (1) and fill mode both, so it holds its last pose.
  • The svg is a clip with its own start, duration and track, like any element on screen.
  • data-no-timeline tells the renderer there is no GSAP timeline to wait for.

Step 3: Check and preview it

Bash
npx hyperframes lint
npx hyperframes check

On this example, lint and check both pass. A check with HyperFrames v0.9.53 on 15 November 2026 found no errors and no warnings. Then run npx hyperframes preview and scrub the timeline. At 0.3 seconds a quarter of the ring is drawn, at 0.9 seconds most of it, and by 2.5 seconds the full badge holds.

Step 4: Render the MP4

Bash
npx hyperframes render --output badge.mp4

The CLI captures 90 frames, 3 seconds at the default 30 fps, and writes a 1080 by 1080 badge.mp4.

Left: an SVG path drawing itself on (the SVG Stroke Trace component). Right: a sketch drawn stroke by stroke with a pen nib (the Whiteboard Ink component). Both come from the HyperFrames catalog and are rendered to MP4 the same way.

Prefer GSAP? Same SVG, one timeline

Remove the CSS animations and data-no-timeline, give both shapes stroke-dasharray="100", load GSAP, and drive the stroke from a paused timeline. GSAP gives you eases, exact start times and one place to edit.

JavaScript
const tl = gsap.timeline({ paused: true });
tl.fromTo("#ring", { strokeDashoffset: 100 }, { strokeDashoffset: 0, duration: 1.2, ease: "power2.out" }, 0);
tl.fromTo("#tick", { strokeDashoffset: 100 }, { strokeDashoffset: 0, duration: 0.6, ease: "power2.out" }, 1.1);
window.__timelines = window.__timelines || {};
window.__timelines["main"] = tl;

The film at the top of this page is built the same way, at a larger scale. A watch movement is drawn as SVG paths that GSAP traces stroke by stroke, then assembles and turns. The GSAP guide covers the timeline rules.

A square illustration film made with HyperFrames from SVG artwork.

Rather click than type? Do it in the free app

How do you convert SVG to MP4 with your AI agent?

Claude Code, Codex, Cursor and other coding agents can do every step for you once the HyperFrames skills are installed. In Claude Code, install the plugin:

Bash
claude plugin marketplace add heygen-com/hyperframes
claude plugin install hyperframes@hyperframes

For Codex, Cursor and other agents, install the skills from a terminal, then start a new agent session:

Bash
npx skills add heygen-com/hyperframes

Put the SVG file in your project folder and ask your agent. For example: "Using /hyperframes, turn logo.svg into a 4-second square logo reveal: draw the outline, then fill it. Paste it inline, rewrite any SMIL as GSAP, and give me an MP4 and a transparent MOV." The skills have the agent run check, open the preview and render once you approve it. A static SVG works too: describe the motion you want and the agent animates it. The Claude Code guide walks through the setup.

How do you convert SVG to MP4 without code?

Use the HyperFrames Studio app, free for Mac, Windows and Linux with a free HeyGen account. It runs an AI agent beside a live preview, so you work by typing and pointing at the picture.

  1. Download and sign in. Install the app and sign in with your HeyGen account.
  2. Drop in the SVG. Drag it onto Make something. It waits in the box as a pill.
  3. Say what you want. For example, "animate this logo drawing itself, 4 seconds, square". The first time, the agent menu asks which agent to use. The built-in HyperFrames agent needs no install and comes with Pro (or runs on your own HeyGen API key). Agents you already have work too: Claude Code or Codex on your own plan, OpenCode's free models, Grok, Antigravity, GitHub Copilot and more.
  4. Point at what to change. Ask in plain words, or use Select, Draw or Comment on the picture. Each agent run has its own Undo.
  5. Export. Choose Export and export on your computer. Pick MP4, WebM or MOV at 1080p, or 4K when the project fits.

Exports rendered on your computer are free, with no watermark. The export guide lists every setting.

Which render options can you change?

Add these flags to npx hyperframes render. The page stays the same.

You want

Add

What to know

4K of a square SVG

--resolution square-4k

2160 by 2160; SVG is redrawn sharp, not upscaled

4K of a 16:9 page

--resolution 4k

3840 by 2160

GIF for a README or a doc

--format gif --fps 15

No sound; GIF frame rates above 30 are capped at 30; set loops with --gif-loop

Transparent web overlay

--format webm

VP9 with alpha; remove the background on html and body

Transparent logo for editors

--format mov

ProRes 4444 with alpha, for Premiere Pro, Final Cut Pro, DaVinci Resolve and After Effects

Smoother motion

--fps 60

Any rate from 1 to 240

PNG frames

--format png-sequence --output frames/

One RGBA image per frame

The same file on every machine

--docker

Renders inside Docker, for CI

The rendering guide explains each format, the 4K guide covers the size presets, and the CLI reference lists every flag.

Is HyperFrames free, and what does Pro add?

HyperFrames itself is free and open source under Apache 2.0, and commercial use is allowed. The CLI, the browser editor, the core skills and rendering on your computer cost nothing and add no watermark. The Studio app has a free plan with a free HeyGen account. Pro costs $25 a month with 25,000 credits and is separate from HeyGen's own plans. These rows come from the pricing page and the Studio export docs on 15 November 2026.

What you get

Free

Pro, $25 a month

SVG to MP4, WebM, MOV, GIF on your computer

Free, any length, no watermark

Free, any length, no watermark

CLI, browser editor, core skills

Free and open source

Free and open source

Built-in HyperFrames agent

Not included (or your own HeyGen API key)

Included, 25,000 credits a month

AI voiceovers, captions, music and sound effects

Included

Included, plus HeyGen Voice 1 and Lyria 3 Pro music

AI video clips

3 a month (HeyGen Video 1)

With credits: HeyGen Video 1, Seedance 2.5, MiniMax H3 Max

Studio cloud exports (paused in the current app build)

5 a month

Unlimited

Free today, with no upload and no watermark

How does HyperFrames compare with SVGator, online converters and screen recording?

There are four common ways to get a video out of an animated SVG. You can export it from an SVG editor, upload it to an online converter, run a script, or record the screen. HyperFrames seeks every frame of your own SVG instead. Facts and prices are from each tool's own pages on 15 November 2026.

Route

What you give it

Output

Free option

Paid from

HyperFrames

Your SVG inline in an HTML page, with CSS or GSAP motion

MP4, GIF, WebM and MOV with alpha, PNG frames; 1 to 240 fps; up to 4K

Free and open source (Apache 2.0)

Optional Studio Pro, $25 a month

SVGator

An animation you build in its editor

MP4, AVI, MKV, MOV, WebM, up to 4K; GIF

Free plan: static SVG exports only

Video and GIF export on Pro, $24 a month billed yearly

online-convert.com

An uploaded SVG file

MP4, with size, bitrate, cut and codec settings

Free online converter

Not checked

jcubic/svg-video

An SVG animation, from a script

MP4

Free and open source (MIT)

None

Screen recording

A playing browser tab

Whatever the recorder writes

Free tools exist

None

  • Choose SVGator when you want to design the animation in a visual editor and export video from there.
  • Choose an online converter for a one-off file when uploading it is fine and the animation is simple.
  • Choose jcubic/svg-video for a scripted MP4 of a simple SVG animation, with no editor.
  • Choose HyperFrames to render your own SVG frame-exact on your computer, free, sharp up to 4K or with transparency. The source stays a file you or your agent edit. Download Studio to try it without a terminal.

What goes wrong, and how do you fix it?

  • The SVG doesn't move in the video. It sits in an img tag or uses SMIL. Paste the markup inline and rewrite SMIL as CSS or GSAP.
  • The line draws only partway, or jumps. The dash length doesn't match the path. Add pathLength="100" and use 100 for both the dash array and the offset.
  • Lint reports missing_timeline_registry. A CSS-only page has no GSAP timeline. Add data-no-timeline to the root element.
  • The animation snaps back to the start at the end. Add fill mode both and a finite iteration count to the CSS animation.
  • The SVG is cut off or tiny. The video size comes from the root's data-width and data-height; the SVG's width, height and viewBox place it inside.
  • The transparent video has a black background. Remove the background colour on html and body. WebM alpha plays in browsers; video editors need the MOV.
  • --resolution 4k fails on a square video. The preset must match the shape: use square-4k.

Where does HyperFrames fall short?

  • SMIL doesn't seek. animate, animateTransform and animateMotion run on their own clock; rewrite them as CSS or GSAP, or ask your agent to.
  • An SVG in an img tag can't be seeked. Paste the markup into the page.
  • The CLI needs Node.js 22 and FFmpeg. The Studio app avoids the setup.
  • It renders in Chrome. An SVG that depends on another browser's behaviour renders as Chrome draws it.

Questions people ask

What is the best way to turn an SVG animation into a video?

Render it with HyperFrames, HeyGen's free and open-source video framework (Apache 2.0). Paste the SVG inline in an HTML page, keep its CSS animation or drive it with GSAP, and run npx hyperframes render --output video.mp4. Each frame is set to its exact time in Chrome, so nothing drops.

Is there a free SVG to MP4 converter?

Yes. HyperFrames converts animated SVG to MP4 for free, with no account and no watermark for renders on your computer. The HyperFrames Studio app is free too, with a free HeyGen account; Pro costs $25 a month. Download Studio to start.

Can I convert SVG to MP4 with a transparent background?

Yes, as WebM or MOV. MP4 has no alpha channel, so render --format webm for a web overlay or --format mov for ProRes 4444 with alpha, which video editors read. Remove the page background first.

Do SMIL animations like animate and animateTransform work?

No. HyperFrames seeks CSS keyframes and GSAP, but SMIL runs on its own clock, so its frames come out wrong. Rewrite the motion as CSS keyframes or a GSAP timeline, or ask your agent to convert it.

Can I convert an SVG animation to GIF?

Yes. Run npx hyperframes render --format gif --fps 15 --output badge.gif. GIFs carry no sound, frame rates above 30 are capped at 30, and --gif-loop sets the loop count.

Will the SVG stay sharp in 4K?

Yes. With --resolution 4k, or square-4k for a square video, HyperFrames redraws SVG, text and CSS at the higher size instead of stretching pixels.

Can I turn a static SVG logo into a video?

Yes. Ask your AI agent, or the HyperFrames Studio app, to animate it: draw the outline, fade in the fill, scale it in. The result renders like any other SVG animation.

How do I convert an animated SVG file that plays in my browser?

Open the file, copy its markup and paste it inline into a HyperFrames page. If the motion is CSS, it renders as is; if it is SMIL, rewrite it as CSS or GSAP. An SVG loaded through an img tag keeps its own clock and won't land on the right frames.

How is HyperFrames different from SVGator?

SVGator is an editor where you build the animation, with video export on its Pro plan at $24 a month billed yearly. HyperFrames renders an SVG you already have, or one your agent animates, for free on your computer, and keeps the source as editable HTML.

Can I add a voiceover or music to an SVG animation?

Yes. Put audio elements in the page with HyperFrames timing attributes, and FFmpeg mixes the sound into the MP4. npx hyperframes tts makes a free local voiceover.

Can my AI agent convert the SVG for me?

Yes. Install the HyperFrames plugin in Claude Code, or run npx skills add heygen-com/hyperframes for Codex, Cursor and other agents, then ask for the video. It runs on your own agent plan; OpenCode runs free models.

Does it work on Windows, Mac and Linux?

Yes. The HyperFrames CLI runs wherever Node.js 22 and FFmpeg run. The HyperFrames Studio app is available for Mac, Windows (x64, and on Arm through Windows' emulation) and Linux.

Explore more HyperFrames tools

Each page below covers one job, with films and steps. The quickstart makes your first video in a few commands, and the catalog holds about 450 blocks and components to start from.

Turn your SVG into a video today, free

Make videos with your AI agent

HyperFrames is free and open source. The Studio app runs your agent beside the preview, on Mac, Windows and Linux.