Online Lottie Viewer

Open a Lottie JSON or .lottie file to play it, step through its frames and check its size, frame rate and layers. It plays in your browser and is never uploaded.

Drop a Lottie file here

.json or .lottie. It plays in your browser, nothing is uploaded.

What a Lottie viewer is for

A Lottie file is JSON that describes an animation, so opening it in a text editor doesn't tell you much. A viewer plays it the way it will play on a website or in an app. Use it to:

  • check an export from After Effects with Bodymovin before you hand it over
  • check a file you downloaded or were sent before it goes into your project
  • see the file size, canvas size, frame rate and length without digging through the JSON
  • find the frame where something goes wrong by stepping through one frame at a time

How to use it

  1. Drop a .json or .lottie file onto the page, or click “Choose a file”.
  2. The animation starts playing. Pause it, drag the slider to move through the frames, or use the arrow keys to step one frame at a time. Shift and an arrow key moves 10 frames.
  3. Turn looping off, play at half or double speed, and switch the background between transparent, light, dark or a color you pick, to check edges and transparent areas.
  4. The file info shows the file size, canvas size, length, frame rate, number of frames, layers and images, and the Lottie version the file was exported with.

JSON and .lottie files

The viewer opens plain Lottie JSON files and .lottie (dotLottie) files. A .lottie file is a zip archive. The viewer unpacks it in your browser, plays the first animation in it and puts its images back in place. If a .lottie holds more than one animation, only the first is shown. To turn a JSON file into a .lottie, use the Lottie JSON to .lottie converter.

Animations are played with lottie-web, the player most websites use, with its SVG renderer. Expressions aren't run, so an animation that relies on them may look different here than in After Effects. The viewer tells you when a file uses expressions.

Your file stays on your device

The file is read and played by your browser. It isn't uploaded to Lottiemizer or anywhere else, and nothing is kept after you close the page, so it's fine to check client work or animations that haven't been released yet. The optimizer works differently: to make a file smaller it has to upload it, and the about page explains what happens to uploaded files.

Is the file bigger than it should be?

If the file size looks high, the Lottie optimizer can usually make it smaller without changing how it looks. It removes names and metadata that players don't use, rounds numbers to a sensible precision and recompresses embedded PNG images without losing quality. Before you download, you can compare the original and the optimized animation side by side, frame by frame.