Lottie JSON Metadata Inspector
Lottie JSON Metadata Inspector: Parses Lottie bodyMovin structure, extracts frame count (180), frame rate (60 fps), and calculates duration (3.0s).
About this lottie json metadata inspector
Read version, frame range, frame rate, dimensions, and layer count from pasted Lottie JSON; animation playback is not included.
How this tool works
Parses pasted JSON and reports v, fr, w, h, the top-level layer count, and op minus ip when both values are truthy. It does not render animation, calculate duration in seconds, validate Bodymovin structure, or inspect assets and nested layers.
- XML DOM & Path Parsing: Parses SVG text into an XML DOM tree, extracting viewBox, path elements, and styling attributes.
- Vector Coordinate Optimization: Truncates excessive floating-point decimals in path coordinates (e.g. from 8 decimals to 2 decimals).
- Metadata & Node Pruning: Removes unnecessary XML headers, DOCTYPE declarations, editor metadata, and collapsed empty container tags.
- Rasterization & Data URI Encoding: Renders vector curves to high-DPI canvas buffers or encodes clean SVGs to base64 Data URIs.
Worked example
Scenario: Summarize supplied Lottie metadata without rendering an animation.
Sample input:
Processing: Return supplied version, frame rate, dimensions and array length; subtract ip from op only because both are truthy.
Illustrative output:
Limits and verification
Ensures coordinate rounding precision does not deform complex curves or tiny vector icons (minimum 1-2 decimal places recommended). Sanitizes embedded script tags (<script>) to prevent Cross-Site Scripting (XSS) in untrusted SVG inputs.
Examples demonstrate an expected workflow; they do not prove every input or every branch of an external specification. Check important results with an independent source before using them for money, security, compliance, safety, or irreversible file changes.
Browser processing boundary
Tool input is processed by code running in the browser and is not intentionally sent to a CZOA processing API. The page can still request ordinary site assets, analytics, or advertising when those services are enabled. Browser extensions and managed-device software remain outside this tool's control.
Relevant references
These references govern or help explain the format, protocol, or calculation used here. Listing a reference does not claim certification or complete implementation of every optional feature.
Content owner: CZOA Tools · Last reviewed: 2026-09-15 · Review methodology
How to use it
- Enter, paste, or select your input data into the Lottie JSON Metadata Inspector workspace controls.
- Review available parameter fields, units, formats, or options configured for your task.
- Click the action button or observe immediate live calculations rendered in your browser runtime.
- Inspect the resulting output and any diagnostic messages, then copy or download the result if needed.
Frequently asked questions
What does the Lottie previewer actually extract?+
It parses JSON and returns v, fr, w and h as supplied; frames is Number(op) − Number(ip) only when both values are truthy, and layers is the array length or zero.
Which inputs and controls exist?+
Only a JSON textarea and Run locally are exposed. It does not load a file, render animation, play frames, inspect assets, export media, validate Lottie schema, or offer batch processing.
What limits apply to its metadata summary?+
Zero ip or op makes frames null because the branch tests truthiness. It does not calculate duration, inspect nested layer details, validate types, or prove that a JSON file is playable.
What did the browser fixture verify?+
For v 5.7.0, fr 60, ip 10, op 130, 400×200 and two layers, it independently confirmed 120 frames and the supplied metadata.
