Image Tools
Lottie / TGS to GIF Converter
Convert a Lottie animation (.json or .lottie) or a Telegram animated sticker (.tgs) to a GIF, an animated PNG or PNG frames. Choose the size, frame rate and background, preview it, and download. Nothing is uploaded.
How to use
- 1Drop a Lottie .json, a .lottie file or a Telegram .tgs sticker. Its size, length and frame rate are shown.
- 2Set the width, frame rate, output (GIF, animated PNG or PNG frames) and background. Press Preview to check it.
- 3Press Convert and download the file.
Frequently asked questions
How do I get a .tgs file from Telegram?
In Telegram Desktop, right-click an animated sticker and choose to save or export it, or forward the sticker to a bot that returns the file. A .tgs is a gzip-compressed Lottie animation, which this tool unpacks.
Why do the edges look rough on a transparent GIF?
GIF pixels are either fully see-through or fully solid, so the soft edges of a vector animation have to be cut one way or the other. Edge pixels are blended with the background colour you pick before the cut, so choose a colour close to where the GIF will be shown. For truly smooth edges, save as an animated PNG.
Some effects are missing. Why?
Rendering uses lottie-web's lightweight canvas player, which doesn't run expressions (small scripts some After Effects exports contain) and doesn't support a few effects. Telegram doesn't allow expressions in .tgs stickers, and most icon animations don't use them.
Which frame rate should I choose?
Telegram stickers are made at 60 fps, but a GIF can only time frames in hundredths of a second and many viewers slow very short delays down. 25–30 fps keeps the motion smooth with half the frames, so the file is smaller. Animated PNG has millisecond timing.
Is my file uploaded?
No. The animation is rendered and encoded in your browser.
Sources
What's inside a Lottie file
A Lottie animation is JSON describing vector shapes, their keyframes and timing (frame rate fr, in point ip, out point op, width w and height h). It's tiny and resolution-independent, but only apps with a Lottie player can show it. Converting to GIF or APNG turns it into ordinary pictures that any browser, chat app or slide deck can play, at the size and frame rate you choose.
Example: a Telegram sticker for a slide deck
Telegram's rules make a .tgs sticker a 512 × 512 animation of up to 3 seconds at 60 fps, so a 3-second sticker has 180 frames. For a presentation, set the width to 256, the frame rate to 30 and Animated PNG with a transparent background: 90 frames that keep the sticker's smooth edges on any slide colour. For a forum that only accepts GIF, choose GIF with the forum's background colour so the edges blend in.
How the timing is kept
Frames are rendered at exact moments (frame k at k ÷ fps seconds) and given delays that add up to the animation's real length. When a format can't store the exact delay (GIF rounds to 10 ms), delays alternate slightly, for example 30 and 40 ms at 30 fps, so the total doesn't drift.
Related tools
- APNG Maker (Animated PNG)
Make an animated PNG from a set of images, or convert an animated GIF to APNG. Full colour and smooth transparency, any frame delay and loop count, built in your browser.
- WhatsApp & Telegram Sticker Maker
Turn images into stickers that meet WhatsApp's and Telegram's file rules: the right size and format, under the size limit, transparent background, an optional white outline, plus the pack's tray icon or thumbnail. Remove plain backgrounds and download the whole pack as a ZIP.
- Aseprite File Exporter (.aseprite to GIF, PNG, Sprite Sheet)
Open an .aseprite or .ase file without Aseprite and export it as a GIF, animated PNG, PNG frames, one folder per layer, or a sprite sheet with Aseprite-style JSON. Tags, hidden layers, groups, blend modes and tilemaps are respected.
- Before & After Image Slider Maker
Compare two photos with a draggable before/after slider — then export embeddable HTML, a snapshot image, or an animated GIF for social media. Great for edits, renovations and results.
- DICOM Viewer & Anonymizer
View DICOM (.dcm) medical images and all their tags in your browser, adjust the window and level, step through frames and save PNGs. De-identify one file or a whole folder following the DICOM PS3.15 Basic Profile, with options to keep or shift dates. Files never leave your computer.
- FITS Viewer (Astronomy Images)
Open astronomy FITS images (.fits, .fit, .fts, .fits.gz) in your browser. Stretch them with zscale, percentiles, log, sqrt, asinh or histogram equalisation, read pixel values and RA/Dec under the cursor, browse every HDU and header card, and save the view as PNG.