Compress and optimize your Lottie JSON files. Reduce file size by up to 60% without quality loss.
Drag & drop your file here or click to browse
Only .json files (max. 10MB)
Upload a Lottie file to preview
Need to compress Lottie JSON files but don't want to install software or sign up for yet another service? You're in the right place. Our Lottie minifier online free tool reduces animation file sizes by 30-60% in seconds – all without affecting visual quality.
Whether you're optimizing a single animation or preparing an entire library for production, our tool makes it fast and effortless. Upload, configure your options, and download – the entire process happens in your browser with zero server uploads.
Lottie files exported from After Effects often contain unnecessary data that bloats file size. Whitespace, metadata, layer names, and excessive decimal precision add kilobytes without improving the animation. Here's how to fix that:
Drag and drop or click to browse. We accept standard .json files up to 10MB.
Choose which optimizations to apply: remove whitespace, strip metadata, reduce number precision.
Watch the file size comparison update in real-time as you toggle options. Preview the animation to verify quality.
One click, and your minified Lottie JSON is ready to deploy. File naming automatically adds ".min" suffix.
The entire process takes less than 30 seconds. No command-line tools. No build scripts. No account creation.
There are other ways to optimize Lottie animations, but here's why thousands of developers choose our tool:
Your Lottie files never leave your computer. All minification happens locally in your browser using JavaScript. We can't see your files – they're completely private.
See exactly how much space you're saving as you toggle options. Original size, minified size, and percentage saved – all updated instantly.
Verify your animation still looks perfect after optimization. The built-in Lottie player shows the result before you download.
Toggle each optimization independently. Remove whitespace and metadata safely, or carefully test precision reduction for maximum savings.
Every kilobyte counts in web performance. Here's why optimized Lottie files matter:
A 100KB animation minified to 40KB loads more than twice as fast on slow connections. Every millisecond counts for user experience.
Less data transferred means lower hosting costs, especially for high-traffic sites serving millions of animation views monthly.
Mobile users often have slower connections and limited data plans. Optimized animations provide a smoother experience for everyone.
Smaller resources improve LCP and overall page performance, which can positively impact your Google search rankings.
Minified files without layer names and metadata are harder to reverse-engineer. Keep your animation assets clean and production-ready.
If you're bundling multiple animations, minification compounds. 10 animations at 60% savings each adds up to significant bandwidth reduction.
Our minifier offers three types of optimization. Each targets different types of bloat in Lottie JSON files:
JSON files are often formatted with spaces, tabs, and line breaks for human readability. This option compresses everything onto a single line, removing all unnecessary characters.
✓ Safe – Zero impact on animation quality. Typically saves 15-25%.
After Effects and Lottie exporters embed extra information: author names, software versions, layer names (nm, mn, ln), and comments. None of this affects playback.
✓ Safe – Zero impact on animation quality. Adds another 10-30% savings.
Lottie files contain thousands of numbers for positions, colors, and keyframes. These are often exported with 10+ decimal places when 3-4 would suffice. Rounding to 3 places saves bytes but may cause minor visual differences.
⚠ Use with caution – Preview carefully before deploying. Can add 5-15% additional savings.
To get the most out of the Lottie minifier:
Whitespace and metadata removal are always safe. Enable these first – they provide the biggest impact with zero quality loss.
If you enable precision reduction, watch the preview carefully. Complex illustrations may show subtle differences at edges or curves.
Minification is a one-way process. Always save your original files in case you need to make changes later.
Minified Lottie files compress even better with gzip or brotli enabled on your server. The savings compound.
We built this tool with privacy as a core principle. This is especially important for agencies and enterprises working with confidential brand assets or unreleased projects.
No uploads – Your Lottie files are processed entirely in your browser. They never touch our servers.
No tracking – We don't track which files you optimize or what settings you use.
No accounts – No registration means no personal data collection.
Open processing – The JavaScript runs in your browser; you can inspect exactly what happens.
Upload your Lottie JSON file to our free online minifier, select your optimization options (remove whitespace, strip metadata, reduce precision), and download the compressed file. The entire process happens in your browser – no server upload required.
No. Removing whitespace and metadata has zero impact on visual quality. Only the "reduce number precision" option may cause minor visual differences in very complex animations, and this option is off by default.
Most Lottie files see a 30-60% size reduction with full optimization. Simple icons save 20-40%, UI animations 30-50%, and complex illustrations with many layers can save up to 60%.
Yes, completely free! No hidden fees, no premium tiers, and no usage limits. You can minify as many Lottie files as you want without paying anything.
No registration or login is required. Just open the tool and start minifying immediately. We don't collect personal information or require email signups.
No, your files never leave your device. Our Lottie minifier runs 100% in your browser using JavaScript. We cannot see, access, or store your animations – they remain completely private.
Our minifier removes: whitespace and formatting (spaces, tabs, line breaks), metadata (author info, generator data, comments), and layer/element names (nm, mn, ln properties). Optionally, it can also reduce number precision for extra savings.
It depends on your animation. Simple icons and loaders usually handle precision reduction well. Complex illustrations with intricate curves may show subtle differences. Always preview before downloading when using this option.