EN · Languages : English

Compress your Lottie animation.

Your files never leave your device.Never stored · GPS removed · No cookies
Output format:
Accepted formats: JSON or .lottie · 10 MB max

JSON or .lottie · 10 MB max

Frequently asked questions

How do I compress a Lottie file?

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.

What is a Lottie file?

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.

Will my animation stay identical?

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.

How much weight will I save?

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.

JSON or .lottie: which file will I get?

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.

Why shrink a Lottie?

A page that loads more slowly loses visitors and search ranking. A lighter animation appears faster, especially on a phone, and uses less data.

Are the images inside the animation compressed?

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.

Are After Effects expressions kept?

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.

Is my file sent to a server?

No. Everything happens in your browser: your animation never leaves your device, and the preview loads nothing from the internet.

What are the limits?

One file at a time, 10 MB maximum. A Lottie is usually under 1 MB, a few MB if it contains images.

How do I create a blank Lottie to test a mockup?

With our Lottie placeholder: enter the size and download a small animated JSON file that holds the spot of the real one.