Skip to content
Lesson 6 of 6100% of the course

Turn a CSS animation into a GIF, a video or an animated SVG

Save any Motion Studio animation as a GIF, an MP4 or WebM video, an SVG that animates by itself, or a PNG of one frame. Pick the size, frame rate, length and sharpness, and keep files small, all in your browser.

Nothing loads from YouTube until you press play. Then Google receives your IP address and may set its own storage. Narrated with an AI-generated voice. Privacy

Slides, chat apps, social posts, emails and many README files cannot run your CSS. For those, Motion Studio records the motion into a file, in your browser, with nothing uploaded.

The Export tab

Open a motion and the Export tab. Set the picture first, then press the format you want.

SettingChoicesTip
Size1:1, 4:3, 16:9, 9:16, Banner, or any width and height9:16 for stories and reels, 16:9 for slides, 1:1 for most posts
Frame rate15, 24 or 30 fps15 for the smallest file, 24 like film, 30 the smoothest
Length1, 2 or 3 loopsFor loops only. A GIF repeats forever anyway
Sharpness1× or 2×2× is sharp on high-density screens, with four times the pixels
Smooth GIFOn or offMixes neighbouring colours so gradients do not band

Under the settings, a line says what you will get: how long, how many frames, and how many pixels. If the GIF will be big, it says so and suggests a video, a smaller size or a shorter length.

The stage background is part of the picture: dark, light, any colour, or see-through.

Set the picture, read what you will get, then press a format.

GIF

Press GIF. A progress bar shows each frame being drawn and then encoded, and Cancel stops it. The file downloads when it is done.

A loop is recorded for whole cycles, so the GIF repeats without a jump. A motion that plays once is recorded with a short hold at the end. Hover and click motions are recorded pressed, then let go, so the file shows both states.

Use a GIF where video does not play: older chat tools, email, some README renderers and slide tools.

Video

The video button says Video MP4 or Video WebM, depending on what your browser can record. A video is far smaller than a GIF of the same motion, with full colour and no banding. Use it for social posts, slides that take video, and anywhere a GIF would be several megabytes.

Animated SVG

Animated SVG saves one SVG file that plays by itself: the motion's markup and CSS inside the SVG. It is tiny, sharp at every size, and works in an <img> tag, in a GitHub README and in many slide tools.

It is available for loops and motions that play once. Hover, click and pointer motions need a page to react to, so take their code instead (lesson 5).

This frame

This frame saves what the stage shows right now as a PNG. Drag the time bar to the moment you want first. With the see-through stage, the PNG has a transparent background: a good way to get a still of a motion for a thumbnail or a design file.

Keep files small

  • Smaller size first. Half the width and height is a quarter of the pixels.
  • 15 fps is plenty for most UI motion in a GIF.
  • One loop. A GIF repeats by itself; more loops only make it longer.
  • Video over GIF whenever the place accepts video.
  • Smooth GIF off for flat colours; on for gradients and glows.

That completes the course. You can now find a motion, shape it, time it, and ship it as code or as a file, for any place it needs to go.

Your progress stays in this browser only.
Contact