Export

Export Lottie AI animations as Lottie JSON, dotLottie, SwiftUI, Jetpack Compose, image, video, and Frolic source.

Click Export in the Studio and pick a target. Your Controls adjustments are included in every format. Lottie AI uses Frolic, an animation DSL, so you can also export the Frolic source.

FormatYou getUse it for
Lottie JSONA .json fileAny Lottie player or runtime
dotLottie (Recommended)A zipped .lottie file with theming and state machinesSmaller files and the dotLottie players
SwiftUISwift code for a SwiftUI viewNative iOS, iPadOS, and macOS apps
Jetpack ComposeKotlin code for a composableNative Android apps
Animated GIF256-color animation with hard-edged transparencySimple animated images
MP4MP4 videoVideo playback and sharing
WebMVP9 videoVideo on the web
Poster (PNG)One mid-timeline frameStatic previews and thumbnails
PNG sequenceEvery frame as a numbered PNGFrame-by-frame editing and compositing
Sprite sheetAll frames on one sheet, plus JSONSprite-based animation workflows
Animated PNGLossless animation with transparency; server-renderedAnimated images with transparency
Animated WebPFull-color transparent animation; server-rendered; smaller than GIFCompact animated images
MOV (ProRes 4444)Editing-grade video with transparency; server-renderedVideo editing and compositing
FrolicProcedural source you can re-runSource-based animation workflows

Lottie JSON

The standard Lottie format, playable in any Lottie player or runtime.

import lottie from "lottie-web";

lottie.loadAnimation({
  container: document.getElementById("anim"),
  renderer: "svg",
  loop: true,
  autoplay: true,
  path: "animation.json",
});

dotLottie (.lottie)

A compressed archive of your animation and its assets, usually much smaller than JSON.

import { DotLottie } from "@lottiefiles/dotlottie-web";

new DotLottie({
  canvas: document.querySelector("#canvas"),
  src: "animation.lottie",
  loop: true,
  autoplay: true,
});

SwiftUI

Native Swift code for a SwiftUI view. Add the exported file to your Xcode project and place the view in your layout like any other SwiftUI view.

Jetpack Compose

Native Kotlin code for a composable function. Add the exported file to your Android module and call the composable from your UI.

Using your animation

For player options, events, and platform runtimes, see the existing LottieFiles docs:

Last updated: November 10, 2026 at 8:00 PMEdit this page