Convert TGS to SVG

Turn TGS images into SVG. The first frame of the animation as vector shapes, as the Lottie web player draws it, with clipping masks and embedded pictures kept and text as SVG text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TGS files on the dialor turn it to pick what to do

A still vector image from a Telegram sticker.The first frame of the animation, drawn as SVG shapes.

  1. What you get

    One SVG file with the first frame of the sticker, drawn as vector shapes the way the Lottie web player draws it. The movement is not kept, so you get a single still image.

    Clipping masks and embedded pictures stay in the file. Text becomes SVG text.

  2. What changes

    Expressions are not run. A value that an expression computes keeps its keyframes instead of the computed result.

    Fonts that the file links from the web are not named in a way other programs load. Text that uses such a font may look different outside the player.

  3. Other conversions

    For more ways to convert stickers, see every TGS conversion. To work with the result, you can compress SVG afterward.

TGS and SVG.What each format is.

The formats

From · TGS

Telegram Animated Sticker

A Telegram animated sticker: a gzipped Lottie animation, 512 pixels square at up to 60 frames per second.

Extensions
.tgs
MIME type
application/x-tgsticker
Kind
Images
To · SVG

SVG

Scalable vector graphics in XML. Logos, icons and diagrams that stay sharp at any size.

Extensions
.svg .svgz
MIME type
image/svg+xml
Kind
Images

In your code.The same TGS to SVG conversion through the API, for your app or your agent.

terminal
$ cv convert photo.tgs photo.svg
$ cv convert photo.tgs photo.svg

Questions.What people ask about TGS to SVG.

01OF 04

No. The SVG holds the first frame only, as a still image.

Yes. The frame is drawn as vector shapes, with clipping masks and embedded pictures kept and text as SVG text.

Fonts that the file links from the web are not named in a way other programs load. The text stays as SVG text, but the font may not match.

No. Expressions are not run, so values they compute keep their keyframes.

More conversions.Other ways in and out of TGS and SVG.