Skip to main content

Lottie to MP4 Converter

Convert Lottie JSON and .lottie animations to MP4 video. Pick fps, resolution, and background — 100% client-side, your file never leaves your device.

Upload Lottie

Click to upload or drag and drop

Lottie JSON or .lottie (max 15MB)

No Lottie uploaded

Upload a Lottie JSON or .lottie file to convert it to MP4 video

Why convert Lottie to MP4?

Lottie plays beautifully inside apps — but video editors, social platforms, presentation software, and stakeholders' phones all want a video file. MP4 with H.264 is the most universally supported format there is.

Converting your Lottie to MP4 lets you cut it into a product video, post it to any social platform, or hand a client a file that plays on literally every device.

How the conversion works

  1. Your Lottie JSON (or .lottie archive) is parsed in the browser
  2. Every frame is rendered with the official lottie-web engine
  3. Frames are composited over your chosen background color
  4. H.264 video is encoded with your browser's built-in WebCodecs encoder
  5. Nothing is uploaded — the whole pipeline is client-side

Tips for the best MP4 output

  • 30 fps + Balanced quality is the right default for social posts and product pages.
  • Match the background to the destination — MP4 can't be transparent, so pick the color of the page or slide it will sit on.
  • 720px width is plenty for feeds and messaging; go 1080px+ only for full-screen or editing use.
  • Need transparency? Use our Lottie to GIF converter instead — GIF supports on/off transparency.

Frequently asked questions

Is this Lottie to MP4 converter free?

Yes, completely free. No subscription, no watermark, no account required. Convert as many Lottie files as you want.

Is my Lottie file uploaded to a server?

No. Rendering and video encoding run entirely in your browser using WebCodecs. Your animation never leaves your device.

Does it support .lottie (dotLottie) files?

Yes. Both plain Lottie JSON exports and .lottie archives are supported — embedded images are inlined automatically.

Which browsers can export real MP4?

Chrome, Edge, and recent Safari and Firefox versions support WebCodecs H.264 encoding and produce a real MP4. Older browsers fall back to WebM output with a notice.

Can the MP4 have a transparent background?

No — the MP4/H.264 format has no alpha channel. Choose a background color matching your destination, or use our Lottie to GIF converter for transparency.

How long can the animation be?

Up to 1,800 output frames — 60 seconds at 30 fps or 30 seconds at 60 fps. That covers virtually every Lottie animation in circulation.

Is "JSON to MP4" the same thing as "Lottie to MP4"?

Yes — Lottie animations are stored as JSON files, so converting JSON to MP4 and Lottie to MP4 describe the same conversion. Upload your Lottie JSON (or .lottie file) here and it converts the same way.

Can I convert a LottieFiles download to MP4?

Yes. Download the JSON or .lottie file from LottieFiles, upload it here, and convert — no LottieFiles account or API key required.

Lottie to MP4 conversion guide: codecs, quality, and workflows

From vector keyframes to H.264 video

A Lottie JSON describes an animation as vector shapes and keyframes; an MP4 stores compressed pixel frames. Converting means rendering every frame at your chosen resolution with the official lottie-web engine, then encoding the frames as H.264 — the codec every phone, browser, editor, and platform accepts. This tool does the entire pipeline in your browser using WebCodecs, the same hardware-accelerated encoder your video calls use, so a 10-second animation typically converts in a few seconds. For the reverse direction — extracting a Lottie from an existing video — use MP4 to Lottie, MOV to Lottie, or WebM to Lottie.

MP4 vs GIF for sharing animations

Both formats play everywhere, so which should you export? MP4 wins on quality and size: full 24-bit color, smooth 30–60 fps, and files roughly 5–10× smaller than an equivalent GIF. GIF wins on autoplay ubiquity: it animates inline in GitHub READMEs, email clients, and chat apps where video needs a click. A good rule — social media, presentations, and video editing take MP4; documentation, email, and chat take GIF. Both converters accept the same files, so exporting both takes seconds: this page for MP4, Lottie to GIF for GIF.

Choosing resolution, frame rate, and bitrate

Lottie is vector, so you can render at any size without quality loss — the question is what the destination needs. Instagram and LinkedIn feeds are comfortable at 720–1080px wide; a hero video on a product page rarely needs more than 1280px; anything destined for further editing should match your timeline resolution. For frame rate, 30 fps is indistinguishable from 60 fps for most motion design — reserve 60 fps for fast, fluid UI animations. The bitrate presets map to intent: Balanced (4 Mbps) for social and web, High (8 Mbps) when the video will be re-encoded by an editor, Smaller (1.5 Mbps) for quick previews in chat.

The transparency question

H.264 MP4 has no alpha channel, so transparent Lottie animations must be composited over a solid color — that's what the background picker does. If you genuinely need transparency in a video pipeline, the professional path is exporting a PNG sequence or ProRes 4444 from After Effects; on the free web-tool path, a transparent GIF export covers chat, docs, and web embeds. For most social and presentation uses, matching the background color to the destination looks identical to true transparency.

JSON to MP4: same conversion, different search term

If you searched "JSON to MP4" rather than "Lottie to MP4," you're in the right place — a Lottie file is a JSON document following a specific animation schema, so the two phrases describe the same conversion. This also works with files downloaded straight from LottieFiles: drop in the .json or .lottie from their library, no LottieFiles account or API key needed here.

This converter vs. screen-recording or After Effects render

Before a tool like this, turning a Lottie into video meant either screen-recording it playing in a browser (soft edges, capped by monitor refresh rate, often includes the cursor) or reopening the source in After Effects to render a video pass — assuming you still have the AE project file. Rendering directly from the Lottie JSON with lottie-web and WebCodecs skips both: pixel-accurate frames at your exact chosen resolution and frame rate, encoded to H.264 in the browser, with no capture artifacts and no need for the original project file.

Common problems and fixes

Conversion fails or the tab freezes: WebCodecs requires a modern browser (Chrome, Edge, or recent Safari/Firefox) — on unsupported browsers the tool automatically falls back to WebM, which is clearly labeled in the result. Video looks blocky or low quality: raise the bitrate preset to High, especially for animations with fine detail or text. File is larger than expected: drop the resolution or switch to the Smaller bitrate preset — unlike Lottie's vector storage, every pixel of every frame costs bytes in video. Colors look different against the background: remember MP4 has no transparency — pick the background color option that matches where the video will be embedded.

Privacy and client-side encoding

Parsing, rendering, and H.264 encoding all happen locally — your animation is never uploaded, which matters for unreleased product work and client assets under NDA. There are no accounts, queues, or watermarks. The only requirement is a browser with WebCodecs (Chrome, Edge, recent Safari/Firefox); older browsers automatically fall back to WebM output, clearly labeled so you're never surprised by the file you download. See our full Lottie converter toolkit for every conversion direction in one place.

Support HuPNG

These tools are free to use and always will be. If they helped you, consider buying me a coffee — it directly funds hosting and new tools.