Skip to main content
f_gif converts a video into a GIF. Combine it with the trim tokens so_, eo_, and d_ to control which segment becomes the GIF, and with w_ to set the output width.
f_gif returns a GIF image, not video. Reference the result with an <img> tag rather than a <video> element.

How to use it?

Add f_gif to the URL. On its own it converts the full video; add trim tokens to capture a segment.
Video to GIF conversion
We recommend trimming with d_ and setting a width with w_ (e.g. f_gif,so_5,d_10,w_400) because GIF file size grows fast with both length and dimensions. Use GIFs for silent previews in lists and cards where full video controls are not needed.

Next steps

Trim

Pick the exact segment before converting to GIF.

Resize & aspect ratio

Control GIF dimensions with width, height, and ratio.