What Is a Lottie Animation Player?
A Lottie animation player lets you preview, inspect, and test Lottie JSON animation files in your browser. Lottie is a lightweight animation format created by Airbnb that renders After Effects animations in real time on web and mobile. This tool lets you drag in a .json file, control playback speed, loop settings, and frame range โ without writing any code.
Why Lottie Over GIF or Video?
Lottie animations are vector-based, so they scale to any resolution without pixelation, and the animation file is usually far smaller than the same animation as a GIF (47 times smaller in our test below, though the player library adds a one-time cost). They support interactive playback: play, pause, reverse and scrub to any frame. And unlike video, Lottie animations can have transparent backgrounds, which suits UI overlays, loading spinners and micro-interactions.
How to Use This Tool
- Load your animation โ Drag and drop a Lottie .json file onto the player, choose one from your device, or paste the JSON itself.
- Preview the animation โ The animation plays immediately. Use the timeline scrubber to jump to any frame.
- Adjust playback settings โ Set the speed anywhere from 0.1ร to 3ร, pause and play, toggle looping, switch direction (forward or reverse), and scrub to any frame.
- Inspect animation details โ View metadata like frame count, duration, dimensions, and layer count to understand the animation structure.
Worked example: one animation as Lottie, GIF and MP4
The "Lottie is smaller than GIF" claim is true, but how much smaller depends on what you count. On October 12, 2026 we built a simple 2-second loader animation: a rotating rounded square and a pulsing dot, 200 ร 200 at 30 fps, 60 frames. We rendered every frame with lottie-web 5.12.2 (the engine this player uses) in Chromium, then encoded those frames as a GIF (FFmpeg, optimised palette) and as an H.264 MP4.
| Format | File size | Gzipped | Transparent background | Scales without blurring |
|---|---|---|---|---|
| Lottie JSON | 1,106 B | 351 B | Yes | Yes (vector) |
| GIF | 51,754 B | 49,162 B | 1-bit only | No |
| MP4 (H.264) | 13,886 B | n/a | No | No |
| lottie-web 5.12.2 player (one-time) | 305,543 B | 75,995 B | n/a | n/a |
The animation file itself was 47 times smaller than the GIF, and a GIF's size grows with every extra pixel and frame while the JSON's doesn't. But a web page also has to load the player. The full lottie-web build is about 76 KB gzipped, more than this GIF. So Lottie wins clearly when a page shows several animations, or animations that are larger, longer or need to stay sharp at any size. For one small spinner, a CSS loader or an MP4 can be the lighter choice. If you only use the SVG renderer, lottie-web's lottie_svg build is smaller than the full one.
What the inspector reads from your file
The details panel reads the top-level fields of the Lottie JSON. In the format's schema these are v (the exporter version), w and h (canvas size), fr (frame rate), and ip/op (in and out points). Frame count is op โ ip, and duration is that divided by fr, so our test file shows 60 frames and 2.00 s. The panel also counts top-level layers and assets, which include images and precompositions. File size is the size of the file you loaded. Raster images embedded as base64 in the assets list are the most common reason a Lottie file is unexpectedly large, so a non-zero asset count on a "simple" animation is worth a look.
Sources
Checked on .
Frequently Asked Questions
Built by Derek Giordano ยท Part of Ultimate Design Tools