Tools · Optimization desk
Optimize & Compress Lottie Files Online
Reduce Lottie JSON file size in your browser. Choose from 6 optimization presets, see an itemized changelog, compare before/after preview, and export a smaller, smoother animation for web, iOS, or Android. No upload, no account, free.
Drop your file to optimize§ 1
6 optimization presets
- Safe — metadata cleanup and keyframe deduplication only. No visual risk.
- Balanced — recommended. Numeric rounding, path simplification, and safe cleanup.
- Smallest file — aggressive rounding and simplification for the smallest possible output.
- Mobile smooth — optimized for mobile playback performance.
- Web fast — optimized for web loading speed.
- Custom — pick exactly which optimizations to apply.
§ 2
What gets optimized
- Metadata cleanup — strips generator info, author data, and unnecessary fields.
- Numeric rounding — rounds excessive decimal precision (exports often carry 10+ decimals).
- Keyframe deduplication — removes duplicate and redundant keyframes.
- Path simplification — reduces bezier control points while preserving visual shape.
§ 3
One-click optimized export
Clicking "Optimized Lottie JSON" in the Export dialog automatically runs the recommended Balanced preset if no current result exists. A result modal shows original vs. optimized size, bytes saved, percentage, itemized changes, compatibility warnings, and a before/after preview.
§ 4
Why optimize Lottie files?
Lottie files exported from After Effects often contain unnecessary data — 12-decimal coordinates, layer names, generator metadata, and redundant keyframes. Every kilobyte counts against page load time and Core Web Vitals. Optimizing your Lottie files reduces bundle size and improves runtime performance across every device.
Queries & corrections
Frequently asked questions
- How much can I reduce my Lottie file size?
- Vector-only animations typically shrink 20–40% from precision trimming and metadata stripping. Results depend on the file — the optimizer shows exact before/after sizes.
- Will optimization break my animation?
- The Safe preset only removes metadata and duplicate keyframes with no visual risk. Balanced and more aggressive presets may apply rounding and path simplification — always check the before/after preview before exporting.
- Can I optimize for a specific platform?
- Yes. The Mobile smooth and Web fast presets are tuned for their respective platforms. The compatibility report also flags platform-specific risks.