Compress your Lottie animation.
JSON or .lottie · 10 MB max
JSON or .lottie · 10 MB max
Drop your JSON or .lottie file in the area above. FileDiet shrinks it automatically and shows you the animation before and after. Then you download the lighter file and replace the old one on your site or in your app.
A vector animation saved as JSON, or as .lottie (its zipped version). A website or an app plays it with a small player. It is often exported from After Effects (Bodymovin extension), Figma or an online animation editor. For a logo or icon that does not move, SVG is simpler: Compress an SVG.
Yes. FileDiet only removes what you can't see: layer names, needless decimals, editing data. The size, duration and speed don't change. The before/after preview lets you check before you download.
Often 20 to 60% for a file exported as is from After Effects, more if it contains images. An already optimized file saves little: FileDiet tells you instead of damaging it.
The same format as the one you dropped: a JSON stays a JSON, a .lottie stays a .lottie. You don't have to change anything in your site's code.
A page that loads more slowly loses visitors and search ranking. A lighter animation appears faster, especially on a phone, and uses less data.
Yes, when it helps: embedded JPEG images are recompressed, and a PNG image without transparency can switch to JPEG if it becomes clearly lighter. Images with transparency stay PNG.
Yes. If your animation contains expressions, FileDiet keeps the layer names they need. The preview doesn't run them, for safety: only the final version on your site plays them.
No. Everything happens in your browser: your animation never leaves your device, and the preview loads nothing from the internet.
One file at a time, 10 MB maximum. A Lottie is usually under 1 MB, a few MB if it contains images.
With our Lottie placeholder: enter the size and download a small animated JSON file that holds the spot of the real one.