Lottie Animation Player

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

  1. Load your animation โ€” Drag and drop a Lottie .json file onto the player, choose one from your device, or paste the JSON itself.
  2. Preview the animation โ€” The animation plays immediately. Use the timeline scrubber to jump to any frame.
  3. 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.
  4. 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.

FormatFile sizeGzippedTransparent backgroundScales without blurring
Lottie JSON1,106 B351 BYesYes (vector)
GIF51,754 B49,162 B1-bit onlyNo
MP4 (H.264)13,886 Bn/aNoNo
lottie-web 5.12.2 player (one-time)305,543 B75,995 Bn/an/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.

Frequently Asked Questions

What file format does this support?+
This player supports Lottie JSON files (.json). These are typically exported from After Effects using the Bodymovin plugin, or created with tools like Lottie Creator, Haiku Animator, or LottieFiles.
Can I edit the animation here?+
This is a preview and inspection tool โ€” you can control playback but not edit keyframes or layers. For editing, use After Effects with the Bodymovin plugin, or LottieFiles' web editor.
Are Lottie animations supported in all browsers?+
Yes โ€” the lottie-web library (which this player uses) works in all modern browsers. For native mobile apps, Lottie has official libraries for iOS (lottie-ios) and Android (lottie-android).
How do I add a Lottie animation to my website?+
Include the lottie-web library via CDN, then use lottie.loadAnimation() with your JSON file. React developers can use the lottie-react package for a component-based approach.
What makes a Lottie file too large?+
Complex vector paths, many layers, and high frame counts increase file size. Simplify paths in After Effects, reduce keyframes, and avoid raster images embedded in the animation.
Can Lottie animations be interactive?+
Yes โ€” the Lottie API supports play, pause, stop, setSpeed, goToAndStop, and event listeners. You can trigger animations on scroll, click, hover, or any JavaScript event.

Built by Derek Giordano ยท Part of Ultimate Design Tools

Privacy Policy ยท Terms of Service