Online TGS to AVIF converter
Save Telegram Stickers as Animated AVIF Images
Telegram animated stickers use the TGS format — a gzipped Lottie JSON file that describes vector animations. These files are lightweight and look sharp at any size inside the Telegram app, but they're useless outside of it. No browser, image viewer, or social media platform can display a .tgs file directly. Converting to AVIF turns the vector animation into a raster image sequence that works everywhere modern images are supported.
Why Convert to AVIF Specifically?
Among raster animation formats, AVIF offers by far the best combination of quality and file size. A Telegram sticker converted to GIF might be 500 KB–2 MB and limited to 256 colors, while the same animation as an AVIF can weigh under 100 KB with full 24-bit color and smooth transparency. If you plan to use the sticker on a website, in a presentation, or anywhere file size matters, AVIF is the best choice — as long as the viewer supports it (which all modern browsers now do).
Understanding the Settings
- Width and Height — Telegram stickers are defined at 512×512 pixels, but you can output them at any size. Smaller dimensions mean smaller file sizes. If you're using the result as a small avatar or emoji, 128×128 or 256×256 may be plenty.
- Frame rate (FPS) — the default 20 FPS matches Telegram's own playback speed. Increasing it makes the animation smoother but adds more frames, increasing file size. Lowering it can save space at the cost of slightly choppier motion.
- Quality — controls how much compression is applied to each frame. At 60–70, most stickers look indistinguishable from the original vector. Going below 40 will show noticeable artifacts, but produces very small files. Values above 80 offer diminishing returns for typical sticker content.
About TGS and Lottie
Lottie is an animation format created by Airbnb that describes motion using JSON — think keyframes, bezier curves, and shape transforms rather than pixels. Telegram adopted it for their animated stickers, adding the .tgs extension and wrapping the JSON in gzip compression. The format is efficient and resolution-independent, but rendering it requires a Lottie player library. Converting to a raster format like AVIF “bakes” the animation into actual pixel frames, trading the scalability of vectors for universal compatibility.
Need a different output format? Convert your stickers to GIF for maximum compatibility, APNG for full-color animation with transparency in PNG-based workflows, or WebP for a good balance of quality and browser support. For more about animated image formats and how they compare, see our animated format comparison guide.