Skip to main content

Exporting for Runtime

note

Runtime export is available on paid plans. See pricing.

Exporting packages your Rive file into a .riv file that apps, games, and websites can load at runtime (when your app is live and running for a user).

To export your file:

  1. Click the blue export button on the right side of the Toolbar, or
  2. Go to Export → For runtime in the left toolbar menu.

This produces a .riv file you can load using any of Rive's open-source runtimes.

Export for runtime

What's in the .riv File?

The .riv file contains everything your animation needs to run.

The exported file includes:

  • All artboards marked as components (reusable artboards — see the Components page for details)
  • All animations and state machines on those artboards
  • Embedded assets (images, audio, fonts) — unless you load them separately (out-of-band)

Tips for Smaller Files

Smaller files load faster and use less memory. To reduce file size:

  • Remove unused artboards
  • Use WebP for images
  • Export only needed font glyphs
  • Load large assets separately (out-of-band) (see Best Practices)