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.