About this tool
Minify Lottie JSON before shipping it to production, compare the size reduction, and download a clean compact payload for delivery or handoff.
Lottie JSON Minifier is useful when animation files need to be smaller before release without changing how they play. It helps teams validate the JSON, compare file size savings, and export a leaner payload that is easier to ship in production.
- Validates the JSON first so you can catch broken payloads before exporting.
- Shows original size, minified size, and percentage saved for a quick delivery check.
- Outputs a compact JSON file ready for production use.
How to use Lottie Minifier
Upload or paste the Lottie JSON, run the minifier, and compare the original versus compact size before downloading the result. If the asset is performance-sensitive, treat the size report as a release check and pair it with runtime preview so smaller output still matches the expected animation.
When this tool is useful
- Validates the JSON first so you can catch broken payloads before exporting.
- Shows original size, minified size, and percentage saved for a quick delivery check.
- Outputs a compact JSON file ready for production use.
Examples you can test
Load an example, compare the result with the expected output, then replace it with your own input.
Minify a formatted Lottie export
Example input
Pretty-printed Lottie JSON file
Expected output
Compact JSON plus before and after byte counts
Whitespace-heavy files show the clearest savings, while already compact files may change only slightly.
Validate before handoff
Example input
Malformed JSON copied from an export
Expected output
Parse error instead of a broken minified file
Validation catches syntax issues before a minified asset reaches production or a design handoff.
Validation checklist
- Keep the original Lottie JSON so minified delivery files can be regenerated later.
- Run a visual preview after minifying to confirm playback still matches the source animation.
- Do not expect key rewriting or visual compression; this tool removes formatting whitespace from valid JSON.