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. Smaller files load faster, so your website or app feels quicker and smoother.

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

Lottie Optimisation

Lottie files contain animation data exported from applications like Adobe After Effects and are in a JSON data format. Complex animations for online and mobile applications can be made with them. Lottie files are perfect for producing smooth, high-quality animations that load rapidly because they are simple to render in real-time. They are widely used in the industry today.

Why would you want to optimize Lottie files?

Large Lottie files may cause a bad user experience and sluggish load times. We can apply a compression approach to minimize the size of Lottie files while maintaining the animation's quality. Better user experiences and quicker load times may arise from this.

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.

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?

Lottie optimization involves reducing the file size of Lottie animations while preserving their quality. This results in faster load times and improved user experience.

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 the Lottiemizer Lottie optimization service free?

Yes, the Lottiemizer Lottie optimization service is completely free to use. Users can upload and optimize Lottie files without any cost.

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.