SVG to TGS Telegram sticker animation

tgs converter

TGS Converter: Supported Formats and Export Guide

Check which source files can become TGS, understand the format, and prepare artwork that Telegram can use.

Upload SVG to create TGS Static vector SVG. Embedded images and text are ignored during export.
Upload SVG to create TGS
Browser-based editor SVG inputTGS outputExport validationSample files below

SVG to TGS: supported by this converter

Use vector paths and shapes from a design editor. The converter reads a static SVG, adds motion with presets or exports a still composition, and creates a compressed TGS file. Existing SVG animation code is not the input animation timeline.

  • Outline text before export from your design app.
  • Replace embedded raster images with vector paths.
  • Review warnings for filters, masks and patterns.

PNG, JPG or GIF to TGS: prepare vectors first

These files contain pixels rather than editable vector paths. They cannot be uploaded directly to this converter. Trace or redraw the artwork, simplify it, and export a vector SVG. Placing a photo inside an SVG does not turn the photo into vector shapes.

Lottie JSON or an existing TGS: use a different import workflow

TGS contains gzip-compressed Lottie JSON, but this editor does not import JSON or TGS. Start with your original SVG artwork here. A Lottie animation must also meet Telegram’s supported-feature and file-size requirements; compression alone cannot fix an incompatible animation.

How it works

How to prepare and export a TGS file

Check which source files can become TGS, understand the format, and prepare artwork that Telegram can use.

  1. Identify your source format

    Use a vector SVG. For a raster image, prepare vector paths first; for an existing animation, keep its original project for a compatible exporter.

  2. Choose SVG and sign in

    Select the SVG file and sign in with Telegram. A diagnostic copy of the selected SVG is sent to the service before sign-in.

  3. Set motion and inspect the preview

    Choose static mode or a preset. Check the loop, transparent areas, edge movement and any missing text or shapes.

  4. Export and address validation errors

    Download .tgs when validation passes. Reduce path complexity for size errors, and check the canvas or duration settings for format errors.

  5. Test the file in Telegram

    Use @Stickers to add the exported file to a sticker or emoji pack. Inspect the result at its real display size.

Use cases

Where this workflow fits

A logo from a design editor

Export outlined SVG artwork, then add a simple preset for a branded sticker.

A text-based emoji

Convert lettering to paths first so the exported design does not depend on a font.

A raster illustration

Redraw a simplified vector version before conversion; intricate tracing can create oversized files.

A collection of icons

Export separate SVGs with consistent artboards and compare their TGS previews before building a pack.

Format

What is inside a TGS file?

TGS is a gzip-compressed JSON document containing Lottie vector animation data. It is not a GIF, a video or an SVG with a different extension. Decompressing it gives animation JSON; it does not recover the original design file.

The downloadable example below shows all three stages: an SVG square, readable Lottie JSON describing a rotating square, and the compressed 327-byte TGS. It is a format example, not a promise that every SVG will produce a file this small.

Tips and requirements

Common TGS export problems and what to change

  • “No editable vector paths”: outline the text or trace the raster artwork, then export a new SVG.
  • “Compressed .tgs … Telegram limit is 64 KB”: remove unnecessary detail, simplify paths or animate fewer layers.
  • Canvas or frame-rate error: TGS uses a 512 × 512 canvas and 60 FPS; the animation must be no longer than 3 seconds.
  • Missing letters or images: live text and embedded raster images are not supported TGS shape layers.
  • Clipped movement: reduce the artwork scale or motion so objects remain inside the canvas, and use a loop.
  • Different appearance: inspect SVG masks, filters and patterns, and rebuild unsupported effects as simpler vector shapes.

Try a sample SVG and TGS

Download the SVG to try the converter, or inspect a small animated TGS export.

FAQ

Frequently asked questions

Can I convert a file to TGS by renaming its extension?

No. Changing .svg, .json or .gif to .tgs does not create the required compressed animation data. Use an exporter that produces Telegram-compatible TGS.

Can this converter turn TGS back into SVG or GIF?

No. This tool accepts SVG and exports TGS. It does not open existing TGS files or export GIF. Keep your original SVG if you need to edit the source artwork later.

Can I convert a PNG or a JPG to TGS?

Not directly here. Trace or redraw the image as vector paths, remove embedded raster content, and save an SVG. Automatic tracing may need simplification to keep the TGS within the size limit.

Is every Lottie JSON file compatible with Telegram?

No. Telegram supports a restricted set of animation features. The source animation must meet those requirements before TGS compression. This converter does not import Lottie JSON.

Is TGS the same as TGA?

No. TGA is the Truevision Targa raster image format. TGS is compressed vector animation data used by Telegram. They need different converters.

Is TGS conversion free?

The SVG conversion and TGS download are free after Telegram login. Pro adds more animation options and connected Telegram tools. A copy of the selected SVG is sent to the service for diagnostics.

Start now

Have a vector SVG ready?

Upload it, sign in with Telegram, and preview the conversion before downloading TGS.

Upload SVG to create TGS