All tools
Import

GIF to Lottie

Convert a short animated GIF to image-backed Lottie JSON or .lottie. Preserve unequal frame delays and transparency, inspect frames, and compare output sizes before your handoff.

Included

Original frame timing

Included

JSON and .lottie downloads

Included

Local processing

Loading tool...

Use a GIF in a workflow that requires Lottie

This importer turns each composited GIF frame into a PNG image layer, with the original accepted frame delay on the Lottie timeline. It is useful when a widget or handoff requires Lottie JSON or a dotLottie package but the source is a short GIF. It does not trace pixels into shapes. Keep the GIF when your destination already supports it and a format change adds no value.

How to use this tool

  1. Choose an animated GIF, or try the original moving coral rectangle. Conversion starts locally in your browser; no account is needed.
  2. Review the duration and frame count. The importer accepts up to 10 MB, 512 pixels per side, 120 frames, 10 seconds per cycle and 16 million decoded pixels across all full frames.
  3. Play the Lottie preview or pause on individual frames. The coral example holds its four frames for 40, 90, 130 and 70 ms, totaling 330 ms.
  4. Compare the measured GIF, JSON and dotLottie sizes. Download JSON with embedded PNGs or a .lottie package, then verify it in the player you will actually use.

Before you use the result

Output remains raster artwork with image layers, so enlarging it does not recover vector detail. The JSON can be much larger than the GIF. Each output is capped at 20 MB, and decoded PNG assets at 14 MB. The built-in preview uses lottie-web canvas; other web and mobile players need their own verification. One cycle is exported; looping belongs to the destination player, and the GIF repeat count is not copied.

Common questions

Does GIF to Lottie create editable vectors or a smaller file?

No. It packages raster images on a Lottie timeline. Objects do not become editable paths, and base64 images can increase JSON size. The tool shows actual input and output sizes so you can decide whether the handoff is practical. Recreate the artwork in a vector animation tool when scalable shapes are required.

Why are zero and 10 ms frame delays rejected?

Players can interpret very short delays differently. This importer requires an explicit delay of at least 20 ms for every frame and stops if the browser changes the accepted timing. Re-export the GIF with explicit delays rather than silently changing its speed. Other unequal delays are retained.

What happens to transparency and previous-frame disposal?

The browser decodes complete frames before they are stored as PNGs. This includes the transparent canvas and GIF disposal operations such as clearing a previous rectangle or restoring an earlier frame. The Lottie layers switch at the original accepted frame boundaries. Use the slider and your destination player to check the result.

Which browsers and files are supported?

The importer checks for animated GIF ImageDecoder support; updated Chrome or Edge may provide it. Unsupported browsers show a message instead of uploading files elsewhere. Malformed files, unsupported controls, plain-text rendering, missing palettes and files beyond the stated limits are rejected. Conversion can be cancelled and must finish within 45 seconds.

Related

More Lottie tools

View all