Optimize Lottie animations

Shrink Lottie JSON files without changing how they play. Free, no sign-up.

Drop your files here

Lottie JSON files, up to 20 MB each

Preview

Original
Optimized
0 / 0

Space: play/pause · ← →: step frames · Esc: close

  • Uploads are deleted as soon as they are optimized
  • Optimized files are removed after 24 hours
  • Every rule is tested on 550+ real animations

How it works

  1. Add your files

    Drop Lottie JSON files on the box above or pick them from your device.

  2. We slim them down

    Unused data is removed, numbers are rounded and embedded images are re-compressed.

  3. Download

    Get each file as JSON or .lottie, or everything at once as a zip.

Upload your Lottie JSON files and Lottiemizer will make them smaller without changing how they look. Before you download anything, you can compare the original and optimized animation side by side.

Upload up to 20 files at once (20 MB limit per file), then download the optimized .json, the .lottie version, or everything as a zip.

Lottie Optimization

A Lottie file is an animation stored as JSON, usually exported from Adobe After Effects with the Bodymovin plugin or downloaded from an animation library. The player draws it as vector shapes in real time, so it stays sharp at any size. Exports are rarely as small as they could be, though.

What makes Lottie files large?

Much of an exported file isn't animation at all. Every layer, shape and property keeps its After Effects name, along with match names and indexes the player never reads. Numbers are written with far more decimal places than a screen can show. Hidden layers, unused assets and keyframes that never change the value add more, and embedded PNG images are often not compressed as well as they could be. Lottiemizer removes or shrinks all of this and leaves the animation itself alone.

Why does file size matter?

On a website, the JSON has to download and be parsed before the animation can play, so a heavy file delays it and adds to the page weight, especially on mobile connections. In an app, every animation adds to the download size. How much you save depends on the file: animations with many layers and detailed paths usually shrink the most, while files that are mostly embedded images shrink less, because PNGs are only recompressed without losing quality.

Should you use JSON or dotLottie?

That depends on where the animation is going, so Lottiemizer gives you both. The optimized .json is a good choice for the web. Served with gzip or Brotli compression, which most servers and CDNs support, it gets very small and plays in any Lottie player. The .lottie (dotLottie) file is a zipped version of the animation. It's smaller to store and ship because it doesn't rely on server compression, and it keeps images as separate files instead of embedding them as text. It's supported by the dotLottie players and newer Lottie players. If you're not sure, use the .json for websites and the .lottie for apps or anywhere the file is stored or sent as it is. Read more about converting Lottie JSON to .lottie.

How does the Lottie optimizer work?

The optimizer removes data that players don't need, such as names and metadata, and rounds numbers to a sensible precision. The rounding depends on context, so values that need more precision keep it and the animation doesn't break. Anything that expressions depend on is left in place, and embedded PNG images are recompressed losslessly. Every rule is tested against hundreds of real animations, rendered before and after, to make sure they look identical. The result is a smaller file that loads faster and looks the same. See what Lottiemizer changes and what it leaves alone for the full list.

Using the Lottie Optimizer

Click “Upload Files” or drop your Lottie files onto the page. You can upload up to 20 files at once, up to 20 MB each.

Your files are compressed in the browser, uploaded and optimized on our server. You can follow the progress of each file as it goes.

Each result shows the size before and after and what changed. Use “Preview” to compare the original and optimized animation side by side. To just play a file and check its size and frame rate without uploading it, open it in the Lottie viewer.

Download the optimized .json or the .lottie version of each file, or use “Download all” to get everything in one zip.

Ready to go again? Hit “Clear Queue” and start over. You can use the tool as many times as you like, for free.

Is it safe to optimize Lottie files?

Yes. Your original files stay untouched on your device. The copy you upload is used only to optimize it and is deleted as soon as processing finishes. Optimized results are kept for a short time so you can download them, and are deleted automatically after 24 hours. If you're not happy with a result, you can simply try again.

Frequently asked questions

What is Lottie optimization?

Making a Lottie animation file smaller without changing how it plays. An optimizer removes data the player doesn't use, such as names and metadata, rounds numbers to the precision you can actually see and recompresses embedded images, so the file downloads and starts playing sooner.

How does the Lottiemizer tool work?

Lottiemizer removes data that players don't need, rounds numbers to a sensible precision and losslessly recompresses embedded PNG images, without changing how the animation looks. You can upload up to 20 files at once and download each one as optimized JSON or as a .lottie file.

Is Lottiemizer free?

Yes, completely. There's no paid plan and nothing to unlock. The site is paid for by the ads on it.

How many files can I upload at once?

You can upload up to 20 Lottie files at once, up to 20 MB each. You can follow each file's progress and download the results as soon as they're ready, one by one or all together as a zip.

Is it safe to use the Lottiemizer Lottie optimization service?

Yes. Your original files stay untouched on your device. Uploaded files are used only to optimize them: the uploaded original is deleted right after processing, and optimized results are deleted automatically after 24 hours.

Should I use optimized JSON or dotLottie?

Lottiemizer gives you both. Optimized JSON served with gzip or Brotli compression works well on the web and plays in any Lottie player. A .lottie file is a zipped format that is smaller to store and ship and keeps images as separate files. It is supported by the dotLottie players and newer Lottie players.

Can I check the result before downloading?

Yes. When a file is finished, open “Preview” to play the original and optimized animation side by side. If anything looks different, don't use the optimized file: the original on your device is never changed. Animations with random motion are the exception, since they play a little differently every time, optimized or not.

Do I need an account, and which files can I use?

No account or sign-up is needed, and there's no limit on how often you use Lottiemizer. It accepts Lottie animations saved as JSON, including ones with embedded images, up to 20 files at once and 20 MB each. Each result can be downloaded as optimized JSON, as a .lottie file, or with the others in a zip.