HyperFrames

The best free way to convert a Lottie animation to MP4

HyperFrames renders every Lottie frame at its exact time, on your computer, as MP4, transparent WebM or MOV, or GIF. Free and open source.

  • Free and open source (Apache 2.0)
  • Lottie JSON and dotLottie files
  • MP4, transparent WebM or MOV, GIF, up to 4K

Updated 18 November 2026

Short answer: HyperFrames is the best free way to convert a Lottie animation to MP4, because it renders every frame at its exact time on your computer, at any size up to 4K, and uploads nothing. LottieFiles' free online converter also works if you sign in and upload a file of up to 20 MB.

The job: a short food-app story told in one unbroken line. The result: 32 seconds of an orange line travelling through app screens and food cards, rendered frame by frame with HyperFrames.

Why do people convert Lottie files with HyperFrames?

  • Frame-exact up to 4K. Every Lottie frame is drawn at its own time, at 1 to 240 fps, so nothing drops at 4K.
  • Transparent output. Render WebM with alpha or ProRes 4444 MOV for Premiere Pro, Final Cut Pro or DaVinci Resolve.
  • Nothing uploaded. Renders run on your computer, free and with no watermark.
  • Your Lottie inside a full video. Add titles, captions, a voiceover and music around it, all in one render.
  • Free and open source. HyperFrames is Apache 2.0, with 85,000+ GitHub stars, and the Studio app has a free plan.

Convert your Lottie to MP4 today, free

How does HyperFrames turn a Lottie file into video?

A Lottie file is a JSON description of vector shapes and keyframes, usually exported from After Effects with Bodymovin or from a Lottie editor. A player such as lottie-web draws it in a browser.

HyperFrames never plays the file in real time. For each frame of the video, its Lottie adapter tells the player to go to that exact frame. HyperFrames waits until the picture is drawn, captures it in headless Chrome and moves on. FFmpeg encodes the frames. A heavy frame takes longer to capture, but it is never skipped, even at 4K and 60 fps.

The video's length comes from the page, not the file. A Lottie set to loop: true wraps around to fill the video. One set to loop: false holds its last frame until the video ends.

What can HyperFrames do with a Lottie file?

HyperFrames treats your Lottie like any other layer in a video: it seeks it, sizes it and renders it with everything around it. Six features set it apart from an online converter.

Frame-exact at any frame rate

Every frame is drawn at its own time, at 1 to 240 frames per second. Match the file's own frame rate for one video frame per Lottie frame.

lottie-web and dotLottie

HyperFrames seeks both players. A .json file works with the lottie-web script tag; a .lottie file works with the dotlottie-web player and its WASM file copied into the project.

Transparent output

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

Sharp at 4K

With renderer: "svg", lottie-web draws vector shapes, so --resolution 4k redraws them sharp at 3840 by 2160 instead of stretching pixels.

A Lottie inside a full video

The page is ordinary HTML. The Lottie can share the frame with titles, a logo, captions, a voiceover, music and other scenes, all in one render.

The same file on every machine

Render inside Docker with --docker for identical output in CI, or render one template many times with --batch and a JSON file of rows.

Have your agent build the video around your Lottie

Which Lottie animations can you turn into video?

Any Lottie that lottie-web or dotLottie can play can become a video. These are the kinds people convert most, each with a HyperFrames detail that matters for it.

  • UI micro-animations. Loaders, toggles, checkmarks and success states, rendered at 60 fps for a product demo or an app store video.
  • Character animations. Walk cycles and mascots. The Lottie Character Walk block pairs a Lottie walk with a GSAP card on one timeline.
  • Animated icons. Icon sets from LottieFiles or your design system, placed in a grid or one by one, with transparent backgrounds.
  • Logo animations. A Lottie logo sting exported as a transparent MOV for the end of every video. For logos that start as an SVG, see the logo animation maker.
  • Stickers and emoji. Looping stickers rendered as GIF for chat, docs and pull requests.
  • Explainer illustrations. Animated scenes from an illustrator, placed under a voiceover and captions in an explainer video.
  • Onboarding and empty states. App animations turned into a walkthrough video with titles between the steps.
  • Infographic animations. Animated charts exported from After Effects, framed with real numbers that count up next to them.
  • After Effects exports. Bodymovin JSON exports, rendered without opening After Effects again.
  • Editor exports. Files from Lottie Creator, Lottielab or SVGator. Lottielab and SVGator limit video export on their free plans.
  • Background loops. A slow Lottie pattern behind a title card or a talking-head clip.
  • Social posts. A Lottie in a vertical 1080 by 1920 frame for Reels, TikTok and Shorts, with captions on top.

Who converts Lottie to video with HyperFrames?

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

Product designers

Export the micro-interactions from a design file to MP4 for a case study, a Dribbble shot or a product review, at 60 fps.

Motion designers

Deliver a ProRes 4444 MOV with alpha from the same Lottie a developer ships, so the editor and the app use one source.

Front-end developers

Turn the Lottie already in your app into a release clip with npx hyperframes render, from the same repository.

Marketers

Put a brand Lottie inside an ad or a social post with a headline and music, in 16:9, 1:1 and 9:16 versions.

App developers

Record onboarding and empty-state animations for app store previews without a screen recorder dropping frames.

Content creators

Use LottieFiles animations as stickers, transitions and lower thirds inside YouTube videos.

Agencies

Render a client's Lottie library to video in one batch, with their colours and fonts around each file.

Teams with a render pipeline

Convert Lotties in CI with --docker for the same pixels on every run, or render on HeyGen's cloud, AWS Lambda or Google Cloud Run.

Render your first Lottie video tonight

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

Five steps take a Lottie file 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-lottie --non-interactive --skip-skills
cd my-lottie

You get a folder with index.html, hyperframes.json, package.json and meta.json, plus AGENTS.md and CLAUDE.md for a coding agent. --skip-skills leaves the agent skills out; drop it if you want them.

Step 2: Add your Lottie file

Copy your Lottie export into the folder as animation.json. To follow along without one, save this file: a green ball that drops and bounces back in 2 seconds, 60 frames at 30 fps.

JSON
{"v":"5.7.4","fr":30,"ip":0,"op":60,"w":512,"h":512,"nm":"bounce","ddd":0,"assets":[],
 "layers":[{"ddd":0,"ind":1,"ty":4,"nm":"ball","sr":1,"ao":0,"ip":0,"op":60,"st":0,"bm":0,
  "ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"a":{"a":0,"k":[0,0,0]},"s":{"a":0,"k":[100,100,100]},
   "p":{"a":1,"k":[
     {"t":0,"s":[256,96,0],"o":{"x":[0.5],"y":[0]},"i":{"x":[0.8],"y":[1]}},
     {"t":30,"s":[256,416,0],"o":{"x":[0.2],"y":[0]},"i":{"x":[0.5],"y":[1]}},
     {"t":59,"s":[256,96,0]}]}},
  "shapes":[{"ty":"gr","nm":"dot","it":[
    {"ty":"el","nm":"circle","p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[140,140]}},
    {"ty":"fl","nm":"fill","c":{"a":0,"k":[0.31,0.86,0.37,1]},"o":{"a":0,"k":100},"r":1},
    {"ty":"tr","p":{"a":0,"k":[0,0]},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"r":{"a":0,"k":0},"o":{"a":0,"k":100},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}}]}]}]}

Step 3: Write the page that plays it

Replace index.html with this page:

HTML
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/build/player/lottie.min.js"></script>
    <style>
      html, body { margin: 0; width: 1920px; height: 1080px; overflow: hidden; background: #0f1115; }
      #anim { position: absolute; left: 640px; top: 140px; width: 640px; height: 640px; }
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-no-timeline data-start="0" data-duration="4" data-width="1920" data-height="1080">
      <div id="anim" class="clip" data-start="0" data-duration="4" data-track-index="0"></div>
    </div>
    <script>
      const anim = lottie.loadAnimation({
        container: document.getElementById("anim"),
        renderer: "svg",
        loop: true,
        autoplay: false,
        path: "animation.json",
      });
      window.__hfLottie = window.__hfLottie || [];
      window.__hfLottie.push(anim);
    </script>
  </body>
</html>

Four lines do the work:

  • autoplay: false, because the renderer moves the playhead, not the player.
  • window.__hfLottie.push(anim), the list of players HyperFrames seeks on every frame.
  • data-no-timeline on the root, because this page has no GSAP timeline to wait for.
  • data-duration="4", the video's length. With loop: true, the 2-second bounce plays twice.

Step 4: 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. Remove data-no-timeline and lint stops with missing_timeline_registry, because the page registers no GSAP timeline. Run npx hyperframes preview to open the browser editor and scrub the bounce frame by frame.

Step 5: Render the MP4

Bash
npx hyperframes render --output video.mp4

The CLI captures 120 frames, 4 seconds at the default 30 fps. It writes a 1920 by 1080 video.mp4 with the ball centred on a dark background.

The Lottie Character Walk block from the HyperFrames catalog: a Lottie character walking onto a GSAP stage, rendered to MP4 the same way.

Rather click than type? Render it in the free app

Can you add text, music or motion around the Lottie?

Yes. The page is ordinary HTML, so titles, a logo, a voiceover or other scenes can sit around the Lottie in the same video. The film at the top of this page does that. A runner from a LottieFiles animation sprints down a track that GSAP builds around him. Then the frame closes into a run-tracker widget, a second Lottie file. The animations are Runner by Dinara Dauletkhankyzy and Run Complete Widget by Sanjib Paul, both free on LottieFiles.

For a ready-made start, add the Lottie Character Walk block to a project with one command. It writes the block's files and prints a one-line snippet to paste into index.html:

Bash
npx hyperframes add lottie-character-walk

Add words that move with kinetic typography, word-by-word animated captions, or titles and lower thirds from add text to video. npx hyperframes tts makes a free local voiceover, and the voice and audio guide covers music. Working from an animated SVG instead? Read SVG to MP4.

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

Claude Code, Codex, Cursor and other coding agents can write the page and render it 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 Lottie file in your project folder and ask your agent. For example: "Using /hyperframes, turn animation.json into a 6-second 1080p video on a white background. Keep the Lottie's timing, add our logo at the end, and render an MP4." The skills tell the agent to set autoplay off, register the player, run check, open the preview and render once you approve it. You stay the director: reply to its plan, ask for changes, then say go. The Claude Code guide walks through the setup.

How do you convert Lottie 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 file. Drag your .json or .lottie file onto Make something. It waits in the box as a pill.
  3. Say what you want. For example, "make this Lottie a 1080p video on a white background". 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

Match the Lottie's frame rate

--fps 60

Use the file's own fr value for one video frame per Lottie frame; any rate from 1 to 240

Transparent web overlay

--format webm

VP9 with alpha; delete the background line on html and body

Transparent file for editors

--format mov

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

4K

--resolution 4k

3840 by 2160; the svg renderer redraws vector shapes sharp

GIF

--format gif --fps 15

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

PNG frames

--format png-sequence --output frames/

One RGBA image per frame, for compositing

Vertical or square video

data-width and data-height on the root

Set 1080 by 1920 or 1080 by 1080, and the same width and height on html and body

The same file on every machine

--docker

Renders inside Docker, for CI

One file per data row

--batch rows.json

Renders each row of variables to its own file

The rendering guide explains each format, 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

Lottie 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 LottieFiles, Lottielab and screen recording?

There are four common ways to get a video out of a Lottie file. You can use an online converter, a Lottie editor's export, a script from GitHub, or a screen recording. HyperFrames renders the file frame by frame on your computer and lets it sit inside a full video. Facts are from each tool's own pages on 15 November 2026, plus our logged Lottielab test.

Route

How it makes frames

Output

Free option

Where it runs

HyperFrames

Seeks the Lottie to each frame's exact time in headless Chrome

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

Free and open source (Apache 2.0); Studio app free plan, Pro $25 a month

Your computer, CI, or HeyGen's cloud

LottieFiles converter

Not stated on its page

MP4, GIF, WebM, MOV; background colour and resolution settings

Free with a free LottieFiles account; files up to 20 MB

Online, after you upload the file

Lottielab

Exports from its editor

GIF and MP4 on Free; HD and 4K video and Lottie export on Pro

Free plan exported 480p (848 by 478) in our test on 15 November 2026

Online editor

puppeteer-lottie

A script that drives Chrome with Puppeteer

Images, GIF (with gifski) or MP4 (with ffmpeg)

Free, public on GitHub (no licence file); last commit March 2021

Your computer

Screen recording

Records the player in real time

Whatever the recorder writes

Free tools exist

Your computer; frames drop when it is busy

  • Choose the LottieFiles converter for a quick one-off MP4 or GIF of a single file, when uploading it is fine.
  • Choose Lottielab when you also want to edit the animation itself in a browser editor and pay for HD exports.
  • Choose HyperFrames to render the Lottie frame-exact on your own computer, free, up to 4K or with transparency. Titles, captions, music and other scenes can go around it in the same video. Download Studio to try it without a terminal.

What goes wrong, and how do you fix it?

  • Nothing appears, and lint reports missing_lottie_script. The page uses Lottie without loading the player. Add the lottie-web script tag before your code.
  • Lint reports missing_timeline_registry. A Lottie-only page has no GSAP timeline. Add data-no-timeline to the root element.
  • The animation runs at its own speed. Set autoplay: false and push the player onto window.__hfLottie, so the renderer controls it.
  • It freezes early, or repeats when it shouldn't. The video length is the root's data-duration. Set loop on purpose: loop: true repeats the animation, and loop: false holds its last frame.
  • A .lottie file won't load. dotLottie needs the @lottiefiles/dotlottie-web player and its WASM file copied into the project. Import its ESM entry and set the WASM URL before you create the player.
  • 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.
  • The 4K video looks soft. The canvas renderer draws pixels at a fixed size. Use renderer: "svg" so shapes are redrawn at 4K.

Where does HyperFrames fall short?

  • It plays Lotties; it doesn't edit their keyframes. To change the animation itself, edit it in After Effects, Lottie Creator or Lottielab, then render the new file.
  • The CLI needs Node.js 22 and FFmpeg. The Studio app avoids the setup.
  • It renders in Chrome. A Lottie feature lottie-web doesn't support in the browser won't appear in the video either.
  • dotLottie needs a little setup. Copy the player and its WASM file into the project first.

Questions people ask

What is the best free Lottie to video converter?

HyperFrames, HeyGen's free and open-source video framework (Apache 2.0). Load the Lottie JSON in a small HTML page and run npx hyperframes render. Every Lottie frame lands at its exact time, and the file stays on your computer. You can export MP4, transparent WebM or MOV, GIF or PNG frames, up to 4K.

Is there a free way to convert Lottie to MP4?

Yes. HyperFrames converts Lottie 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.

How do I convert a Lottie JSON file to MP4?

Put the JSON in a HyperFrames project and load it with lottie-web, autoplay off. Push the player onto window.__hfLottie, add data-no-timeline to the root, and run npx hyperframes render --output video.mp4. The full working example is above.

Can I convert Lottie to video 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.

Does it work with dotLottie (.lottie) files?

Yes. HyperFrames seeks both lottie-web and dotLottie players. A .lottie file needs the dotlottie-web player and its WASM file copied into the project, then pushed onto window.__hfLottie like a JSON one.

Can I convert a Lottie animation to GIF?

Yes. Run npx hyperframes render --format gif --fps 15 --output loop.gif. GIFs carry no sound, frame rates above 30 are capped at 30, and --gif-loop sets how many times it repeats.

Can I convert Lottie to MP4 at 60 fps or in 4K?

Yes. Add --fps 60 for 60 frames per second, or any rate from 1 to 240, and --resolution 4k for 3840 by 2160. With renderer: "svg", lottie-web redraws the shapes sharp at 4K.

How is HyperFrames different from the LottieFiles converter?

LottieFiles' converter is a free online tool: you sign in, upload a file of up to 20 MB and download MP4, GIF, WebM or MOV. HyperFrames renders on your own computer with no upload and seeks every frame. It can also put titles, captions, music and other scenes around the Lottie in one video.

Do I need After Effects?

No. HyperFrames only needs the exported Lottie file. It plays the file in a browser and never opens After Effects.

Can I put text or music over a Lottie animation?

Yes. The Lottie sits in an HTML page, so titles, captions, a logo, a voiceover and music go in the same composition. npx hyperframes tts makes a free local voiceover, and FFmpeg mixes the audio into the MP4.

Can my AI agent convert the Lottie 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 writes the page, checks it and renders. It runs on your own agent plan; OpenCode runs free models.

Can I convert many Lottie files at once?

Yes. Render each file from its own page in a script or CI job. Or use one page with variables and npx hyperframes render --batch rows.json for one video per row. Add --docker for identical output on every machine.

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 Lottie 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.