Appearance
Output formats
Every format Build can write, what it is for and what plays it. Files › Export as… writes the same document formats from a file you already have. How to pick formats in the panel: Build › Formats.
Which format do I need?
| You want to… | Use |
|---|---|
| Put an animation on a website or in an app | json (Lottie) or lottie (dotLottie): lottie is smaller and carries its images inside |
| Make it interactive: hover, click, themes | lottie (dotLottie v2), with the Interactive Studio |
| Send a Telegram sticker | tgs |
| Animate an Android app icon or vector without a player | AVD XML |
| Put an animation in a web page with no player at all | SVG (SMIL) or the GSAP folder |
| Hand a developer editable web code | GSAP folder |
| Show a client or reviewer | Demo page (one file that plays in any browser) |
| Run an HTML5 ad | Banner page |
| Post a preview in a chat, README or store listing | gif, webm, avif or webp |
Every format
| Format | File | What it is | Plays in | Themes and machines | Trial |
|---|---|---|---|---|---|
json | .json | Lottie, the standard web and app animation file | lottie-web, dotLottie, lottie-android, lottie-ios and others | — | ✓ |
lottie | .lottie | dotLottie v2: the animation (or several), its images, slots, themes and state machines in one zip | dotLottie players (web, Android, iOS); what each plays | ✓ | ✓ plain only |
tgs | .tgs | Telegram sticker, checked against Telegram's own limits | Telegram | — | ✓ |
| JS bundle | .js | Player and animation in one script | any web page | — | ✓ |
| Demo page | .html | A page that plays the animation, to send for review | any browser | — | ✓ |
| Banner page | .html | Ad-ready HTML with a click tag | ad networks, browsers | — | ✓ |
| AVD XML | .xml | Android animated vector drawable | Android (no player needed) | — | ✓ |
| SVG (SMIL) | .svg | Animated SVG that plays with no player | any browser | — | ✓ |
| GSAP folder | folder | SVG plus GSAP timeline code | any browser, with GSAP | — | ✓ |
gif | .gif | Up to 256 colours, one-bit transparency | everywhere | — | — |
webm | .webm | VP9 video with a real alpha channel, or AV1 (smaller, no transparency) | browsers | — | — |
avif | .avif | AV1 image sequence, usually the smallest file with alpha | modern browsers | — | — |
webp | .webp | Animated WebP, lossy or lossless | browsers | — | — |
The four video formats are rendered by After Effects itself, so every effect, plug-in and 3D layer looks as it does in your comp. They are encoded by ffmpeg, a free encoder you install once (how). The document formats need nothing extra.
What each generated format carries
How to put these on a page: Without a player: SVG, GSAP or video.
The audit knows these formats too: tick Android AVD (XML), SVG SMIL (XML) or SVG + GSAP (JS) under Target players and it lists what the comp would lose. The export report lists it again after a build.
SVG (SMIL) and Android AVD
| Carried | Not carried |
|---|---|
| Shapes, fills, strokes and gradients | Text strokes and text animators |
| Layer motion, scale, rotation | Masks below full strength, effects, blend modes |
| Masks at full strength; track mattes cut the layer as in lottie-web (SMIL) | The Repeater (only the original is drawn), Twist |
| Audio and adjustment layers, slots, markers asked for by name | |
| AVD only: layer and precomp opacity, solids. A 3D layer stops the conversion |
GSAP folder
The folder holds an SVG, the timeline code and a page that plays it. The page fits the animation inside the window (a smaller comp draws at its own size, a larger one is scaled down) and loops at the comp's end, so motion keyed past the end is cut there.
The output holds only what GSAP itself can do. When a feature needs a GSAP plugin, the folder carries that plugin too.
| Carried | How |
|---|---|
| Layer and shape-group motion, colours, opacity, stroke width | GSAP tweens |
| Shape and path changes | GSAP's MorphSVGPlugin |
| Curved motion paths, Auto-Orient along a path | GSAP's MotionPathPlugin |
| Trim Paths on a single stroked path | GSAP's DrawSVGPlugin |
| Masks and track mattes, inverted masks, wide strokes under a matte | cut as in After Effects |
| Time-remapped precomps, holds and backwards included | a nested timeline the main one plays |
| Blend modes on layers and shape groups | as lottie-web draws them |
| Dashed strokes, stars and polygons, skew on a shape group | — |
| Gradients that change colour, opacity or (linear) position | — |
| Text, with the web font the file names; lines exactly one line height apart | — |
| Not carried | What you get instead |
|---|---|
| Effects, Drop Shadow included | the layer without the effect |
| An inverted track matte | the layer draws uncut |
| A Repeater | only the original |
| Layer skew, keyed skew, a moving radial gradient | — |
| A blend mode set on a fill or stroke itself | Normal |
| A fill or stroke placed above paths it should not paint | — |
| Trim Paths on a filled path, on several paths, or with start and end keyed on different timing, or a keyed offset | the full path |
| Auto-Orient with keyed rotation or Separate Dimensions | no turning |
| A time remap below zero, or not made of keyframes | — |
| Two animated shapes merged into one outline | the first frame holds |
| A shape group with two fills or two strokes | one of each |
| A mask with a negative Mask Expansion | the mask's own outline |
Video, GIF and image sequences inside a comp
A video, animated GIF or image-sequence layer in your comp is a different thing from the video formats above: it is written into the Lottie frame by frame, so it plays in every player. See Build › Video, GIF and image sequences inside a comp.