How to Create and Export Lottie Animations Online
Compose a Lottie animation the format can carry, export the JSON from a browser editor, and validate one short test file before committing the long one.
A Lottie file is a JSON document that a player reads and draws: shapes, text, transforms and keyframes, measured in reference units rather than pixels. That structure lets one export appear at icon size and at full width without losing an edge, and it decides what the file can hold.
The work has two halves: compose an animation the format can describe, then export the JSON and prove it plays where it will run. The editor used here is the Motion & VFX Editor, a browser build with no account.
Compose for the player, not for a video frame
Fix the canvas before the first keyframe. Width and height become the reference frame the player maps onto whatever space it is given, so a design meant for a card should be built at that proportion.
Decide the duration and frame rate at the start. An interface animation is measured in seconds, and a composition that keeps that promise exports as a file whose size follows the moving parts, not the timeline. At 30 fps, two seconds is 60 frames, a sensible size for the test export below.
Build from vector shapes and text rather than stacked rasters, because a raster layer travels as an embedded image and scales like a photograph. Then save the project as .ecproj before exporting anything: the project is versioned JSON that reopens with its timeline intact, and the Lottie file is a copy for a player, not a place to keep the work.
Animate a few properties, then test the motion
Keyframe a small number of properties and shape the interpolation in the graph editor. Motion built from a few deliberate moves survives the trip into JSON better than motion made of dozens of nudges, and it stays editable when someone asks for a slower entrance.
Keep masks and precomps for the cases that need them, since each adds structure the player has to rebuild.
Then test before building the rest: one shape crossing the canvas at the intended speed shows whether the easing, the timing and the export path agree.
Effects that process pixels, complicated compositing and expressions are the usual casualties, because Lottie stores values: a property driven by an expression here can reach the player as a fixed number. A 3D camera setup deserves the same early test, since the format’s 3D support is not a general 3D renderer.
Export the Lottie file and keep the project
Use the editor’s export or render path, choose a Lottie export, and name the output so you can find it later. The audit of this build lists Lottie import and export among the editor’s surfaces and describes projects as .ecproj JSON, but did not record a specific export dialog. Confirm the wording on a short composition before a long animation depends on it.
The .ecproj is the editable master; the Lottie JSON is the deliverable, and once it has left the editor it can only be repaired by exporting again.
Validate the export where it will run
Open the exported file in the player or environment you are targeting, not in the editor that made it. Watch it once at normal speed, then look at the loop point, since a seam invisible on a timeline can read as a jump in a player.
Check the things that fail quietly. Text can lose its font and fall back to something wider, breaking a layout measured against the original. A pixel effect that did not export can leave a gap rather than an error, so compare the player and the composition side by side. Then check the file size and confirm it is text, since a JSON full of embedded images is a different asset.
Where the target cannot play Lottie reliably, a rendered video of the same composition is the honest second option, and the trade-offs are set out in the comparison of Lottie, GIF and MP4.
Where this browser build stops
The editor is alpha software. It cannot open .aep or .aepx projects, and AE plug-ins do not run in it, so a Lottie job starts from a composition built in the editor or from a Lottie file imported into it.
The first visit downloads about 60 MB; after that the service worker serves the editor from its cache and it opens offline. Rendering uses WebGPU where the browser has a usable adapter and falls back to WebGL2 automatically; WebGPU and clipboard access need HTTPS. macOS is upstream’s most-tested platform, so Linux and Windows users may hit rougher edges.
Projects and preferences live in this browser’s storage, so clearing site data deletes them; exporting the .ecproj is how you keep the work.
The order to work in
Compose on a fixed canvas at a decided frame rate, animate a few properties, export the JSON, and validate it in the target player before you polish the rest. The timing model underneath that order is covered in creating motion graphics with keyframes, and the JSON itself is opened field by field in what a Lottie file is. The sequence is short enough to run twice: a test file first, then the real one.
Frequently asked questions
What should I check in a Lottie export before delivering it?
That it plays in the player you are targeting, that fonts and text still lay out, that no effect disappeared silently, and that the file is text rather than a container of embedded images.
Can this editor open an AE project file (.aep/.aepx)?
No. It cannot open .aep or .aepx files and AE plug-ins do not run in it. Work starts from a composition built in the editor or from a Lottie file imported there, and projects save as .ecproj.
Is the Lottie file or the .ecproj the file to keep?
The .ecproj. It is the editable project and reopens with its timeline intact, while the Lottie JSON is a copy written for a player that has to be exported again if the animation changes.
Try these FreeAIGeneration tools
Related articles
-
Lottie vs GIF vs MP4: Which Animation Format Should You Use?
GIF spends colour, Lottie spends structure, MP4 spends computing power. What each costs in transparency, size and editability, and which format earns its place where.
Creative workflows Motion graphics Lottie File formats Workflow comparison 5 min read
Published By Julia M. Gil
-
What Is a Lottie File and How Does It Work?
A Lottie file is readable JSON: a canvas, a frame rate and an array of layers. What the fields define, why text changes delivery, and what the format cannot carry.
Creative workflows Motion graphics Browser tools No signup Lottie 4 min read
Published By Julia M. Gil
-
How to Create Motion Graphics Online with Keyframes
Set a property at two moments, then decide how the software travels between them. Timing before values, the graph editor, holds, and two exits: render or Lottie.
Creative workflows Motion graphics Browser tools No signup 4 min read
Published By Julia M. Gil
Keep exploring
FreeAIGeneration is more than this article. The editors and calculators below are real, free and run in your browser.