Sign in Sign up free Account

Lottie JSON to dotLottie (.lottie)

Convert a Lottie .json to a compressed .lottie (dotLottie) file for the dotLottie players on web, Android and iOS, often a fraction of the size. Free, nothing uploaded.

How it works

  1. Open the Lottie file

    Drop a Lottie .json (exported from After Effects with Bodymovin, or downloaded from LottieFiles) or a .lottie file. It plays at once, in your browser.

  2. Pick the size and frame rate

    Set the width, the frame rate and the background: transparent, white, black or any colour. Scrub to a frame for a PNG or SVG still.

  3. Download the dotLottie

    Every frame is drawn by lottie-web, the player Airbnb wrote and LottieFiles uses, so it looks as it does on the web.

Why it matters

Drawn by lottie-web

The same open-source player that shows Lottie on the web draws every frame, so the GIF or video looks like the animation, not an approximation of it.

Exact timing

Frames are taken at the frame rate you choose from the animation's own timeline. A GIF's delays are carried so 30 fps really plays in the length it should (3, 3 and 4 hundredths in turn).

Nothing uploaded

Client animations and unreleased work stay on your computer: the file is read, drawn and encoded in this tab.

Lottie JSON to dotLottie converter: a practical guide

A dotLottie is a zipped Lottie (.lottie) that can carry several animations and their images. Smaller than JSON and self-contained. Getting there from a Lottie JSON is what lottie JSON to dotLottie means, and doing it well means not letting the converter need After Effects, or export a video ten times the size.

The steps are short: drop your Lottie JSON into the box above, check the result, and download a dotLottie when it looks right.

Lottie JSON and dotLottie: what changes

  • Lottie JSON: A Lottie animation in its plain JSON form. Images it references have to travel with it.
  • DotLottie: A zipped Lottie (.lottie) that can carry several animations and their images. Smaller than JSON and self-contained.

How the Lottie JSON to dotLottie converter works

A Lottie JSON is played in your browser frame by frame.

Frames are written as a dotLottie at the size and frame rate you choose, with transparency kept where the format allows it.

What the dotLottie is used for

  • Apps and websites
  • Animation libraries

What makes this Lottie JSON to dotLottie converter different

  • Preview it playing. Check timing and size first.
  • Transparency kept where the format can hold it.
  • Nothing uploaded. Runs in your browser.

Tips for the best dotLottie

  • Keep animations short for GIF; long ones grow large quickly.

On the blog: How to Use the Lottie JSON to .lottie Converter

Reviews

No reviews yet. Used this tool? Yours could be the first.

Used this tool? Sign in to write a review.

Questions

How do I convert Lottie JSON to dotLottie?

Drop your Lottie JSON into the box at the top of this page and press Convert to dotLottie. The conversion runs in your browser in a few seconds. Check the result, then download a dotLottie.

What is the difference between .json and .lottie?

A .lottie (dotLottie) is a zip holding the Lottie JSON, a manifest and the pictures as separate files. It is compressed, so it is often a fraction of the JSON's size, and it plays in the dotLottie players for web, Android and iOS. Lottie JSON is what lottie-web and older players read.

What is a Lottie file?

A Lottie is a vector animation saved as JSON: shapes, keyframes and timing, exported from After Effects with the Bodymovin plugin or made in LottieFiles' editor. A .lottie (dotLottie) is the same animation zipped with its pictures, usually much smaller.

Why does my animation look different?

After Effects expressions are not run here, as the iOS and Android Lottie players do not run them either, and the page says when a file has them. Text drawn with a font that is not on this computer is replaced. Everything else (shapes, masks, mattes, gradients, trim paths, repeaters, pictures) is drawn by lottie-web.

Can a GIF keep a transparent background?

Yes, choose Transparent. A GIF pixel is either fully see-through or solid, so soft edges become hard ones; on a known background colour, pick that colour for smooth edges. MP4 has no transparency, so a transparent background becomes white there.

Which video formats can it make?

MP4 (H.264) and WebM (VP9, or VP8 where VP9 is not available), with your browser's built-in encoder: Chrome, Edge, Firefox 130+ and Safari 17+.

Is my file uploaded?

No. The Lottie is read, played and converted in your browser tab.