Skip to content

Reference

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 appjson (Lottie) or lottie (dotLottie): lottie is smaller and carries its images inside
Make it interactive: hover, click, themeslottie (dotLottie v2), with the Interactive Studio
Send a Telegram stickertgs
Animate an Android app icon or vector without a playerAVD XML
Put an animation in a web page with no player at allSVG (SMIL) or the GSAP folder
Hand a developer editable web codeGSAP folder
Show a client or reviewerDemo page (one file that plays in any browser)
Run an HTML5 adBanner page
Post a preview in a chat, README or store listinggif, webm, avif or webp

Every format ​

FormatFileWhat it isPlays inThemes and machinesTrial
json.jsonLottie, the standard web and app animation filelottie-web, dotLottie, lottie-android, lottie-ios and others—✓
lottie.lottiedotLottie v2: the animation (or several), its images, slots, themes and state machines in one zipdotLottie players (web, Android, iOS); what each plays✓✓ plain only
tgs.tgsTelegram sticker, checked against Telegram's own limitsTelegram—✓
JS bundle.jsPlayer and animation in one scriptany web page—✓
Demo page.htmlA page that plays the animation, to send for reviewany browser—✓
Banner page.htmlAd-ready HTML with a click tagad networks, browsers—✓
AVD XML.xmlAndroid animated vector drawableAndroid (no player needed)—✓
SVG (SMIL).svgAnimated SVG that plays with no playerany browser—✓
GSAP folderfolderSVG plus GSAP timeline codeany browser, with GSAP—✓
gif.gifUp to 256 colours, one-bit transparencyeverywhere——
webm.webmVP9 video with a real alpha channel, or AV1 (smaller, no transparency)browsers——
avif.avifAV1 image sequence, usually the smallest file with alphamodern browsers——
webp.webpAnimated WebP, lossy or losslessbrowsers——

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 ​

CarriedNot carried
Shapes, fills, strokes and gradientsText strokes and text animators
Layer motion, scale, rotationMasks 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.

CarriedHow
Layer and shape-group motion, colours, opacity, stroke widthGSAP tweens
Shape and path changesGSAP's MorphSVGPlugin
Curved motion paths, Auto-Orient along a pathGSAP's MotionPathPlugin
Trim Paths on a single stroked pathGSAP's DrawSVGPlugin
Masks and track mattes, inverted masks, wide strokes under a mattecut as in After Effects
Time-remapped precomps, holds and backwards includeda nested timeline the main one plays
Blend modes on layers and shape groupsas 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 carriedWhat you get instead
Effects, Drop Shadow includedthe layer without the effect
An inverted track mattethe layer draws uncut
A Repeateronly the original
Layer skew, keyed skew, a moving radial gradient—
A blend mode set on a fill or stroke itselfNormal
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 offsetthe full path
Auto-Orient with keyed rotation or Separate Dimensionsno turning
A time remap below zero, or not made of keyframes—
Two animated shapes merged into one outlinethe first frame holds
A shape group with two fills or two strokesone of each
A mask with a negative Mask Expansionthe 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.

AXO for After Effects