TGS SVG
File conversion

Convert TGS to SVG

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

A .tgs file is a multi-frame Lottie vector animation; SVG can hold a static vector image but has no equivalent of Lottie's animation model. Converting means picking one frame and exporting it, which loses the animation entirely. If you need the motion, convert to GIF, WebP, or MP4 instead.

Also to SVG: LLSP · SVGZ · BPMN

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 SVG?

The main reason to target .svg is when you need a static vector version of a Telegram sticker - for use in a design file, to scale it without quality loss, or to embed scalable artwork in a document.

How to convert TGS to SVG

python-lottie OPEN-SOURCE

Install with pip install lottie and run lottie_convert.py input.tgs output.svg to export the first frame as an SVG vector image.

About these formats

Quality & what to watch

  • The animation is lost - TGS contains multiple keyframed frames, but only one still frame can be exported to SVG.
  • python-lottie may not support every Lottie feature a given .tgs uses; complex layer effects or masks may render incorrectly or be omitted.
  • If you need the motion rather than a still, convert to GIF, WebP, or MP4 instead.

Frequently asked questions

Can SVG preserve the Lottie animation from a TGS file?
Not in practice - the Lottie animation model has no direct SVG equivalent, and SVG SMIL animation is rarely produced or well supported by export tools.
Which frame does python-lottie export by default?
By default it exports the first frame (frame 0); check lottie_convert.py --help for options to specify a different frame.
Do I need to decompress the TGS before using LottieFiles?
Yes - rename the .tgs to .json.gz and extract it with 7-Zip or gunzip to get a plain Lottie .json that LottieFiles can open.