Pack Lottie JSON into a .lottie archive, slim it down on the way, and play the packed result before you ship it. Everything runs in your browser; no file leaves this page.
.json→.lottie·.lottie→.jsonOnly kept when smaller than the original. WebP needs iOS 14+ for lottie-ios; Android and browsers are fine.
Players that read the manifest use these when your code doesn't set them.
The diamonds on the timeline mark keyframe times in the root composition. Preview uses lottie-web; native players (lottie-ios, lottie-android) can differ on features flagged below.