TGS LOTTIE
File conversion

Convert TGS to LOTTIE

QUICK ANSWER
Is it possible to convert TGS to LOTTIE?
Yes - TGS converts to LOTTIE.

A Telegram animated sticker is a standard Lottie JSON file with a gzip layer on top. Removing the gzip wrapper is all that is required - no lossy conversion takes place. Rename the output to .lottie if the target tool expects that extension.

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert TGS to LOTTIE?

Sticker creators want the editable Lottie source to tweak the animation in tools such as LottieFiles or re-export it for a non-Telegram platform. Developers building other apps need the raw Lottie JSON so their Lottie player can load it directly.

How to convert TGS to LOTTIE

7-Zip OPEN-SOURCE

Rename sticker.tgs to sticker.tgs.gz, right-click and choose 7-Zip > Extract here, then rename the output to sticker.lottie.

gunzip FREE

Run cp sticker.tgs sticker.json.gz && gunzip sticker.json.gz in a terminal; rename the result to .lottie if the target tool requires that extension.

python-lottie OPEN-SOURCE

Install with pip install lottie and run lottie_convert.py sticker.tgs sticker.json; rename to .lottie for tools that require that extension.

About these formats

Quality & what to watch

  • No quality loss occurs - this is lossless decompression; every vector shape, keyframe, and layer is preserved exactly.
  • The only structural difference between a .tgs and a plain Lottie JSON is the gzip wrapper; the GZIP magic bytes at offset 0 mark the compression.
  • Telegram's constraints (512x512 canvas, frame rate, duration) are reflected in the JSON fields w, h, fr, and op and remain in the file after decompression.

Frequently asked questions

Is there a difference between a .lottie file and the JSON extracted from a .tgs?
The .lottie extension is used by some modern tools and may imply a dotLottie package format; if a tool expects plain JSON, use the .json extension instead.
Can I re-upload the extracted Lottie JSON as a Telegram sticker?
Yes - Telegram's sticker tools accept Lottie JSON, but you may need to re-compress it to .tgs (gzip the JSON) before uploading.
Is the conversion lossless?
Yes - decompression preserves every vector shape, timing value, and keyframe from the original file.