TGS Sticker Viewer & Editor
Preview, edit part by part, recolor and convert Telegram stickers — right in your browser
How it works
A .tgs Telegram sticker is a gzip-compressed Lottie (Bodymovin) animation, so the studio unpacks it with the browser's native decompression, parses the JSON and plays it on a canvas with the Lottie player — with scrubbing, loop and speed controls. It also opens plain Lottie .json files and .lottie (dotLottie) containers. An automatic checklist verifies Telegram's animated-sticker rules: 512×512 canvas, at most 3 seconds, at most 60 fps, vector-only (no bitmap images or text layers) and the 64 KB size cap. The editor sees the sticker as parts: every shape group that carries paint, with its fills, strokes and gradients, listed under its layer in a Parts panel. A click on the sticker selects the exact part under the pointer — an id-colour render of the current frame says which paint drew each pixel, so antialiased edges and same-coloured neighbours never confuse it — and the part can then be renamed, hidden (and restored from a Removed list; hidden parts are left out of the exported file, which also makes it smaller), given another opacity, recoloured paint by paint (a stroke's width too), duplicated, drawn over or under its neighbours, and moved, scaled or turned by dragging it, its corner handles or the handle above it, with arrow-key nudges; every edit is an operation over the original, with undo and redo. The Colors panel lists every colour as a swatch — solid fills and strokes, and the color stops of gradient fills and strokes, static or animated — says how many parts each one paints, and picking a new color recolors them all live; expanding a swatch lists its parts, and Separate gives the ticked ones a colour of their own (the same colour at first) so two parts that happened to share a colour can be edited apart, with a way back to the shared colour. Add puts new parts on a layer of their own on top: circles, rounded rectangles, stars and polygons drawn by a drag, lines and paths drawn by clicked points (smoothed and closed if wanted), each with a fill and/or a stroke and, if wanted, a motion that loops over the sticker's length — pulse, bounce, spin, wiggle, fade or a slide in. Hovering the preview reads the colour under the pointer and lights up the swatch that paints it; clicking a spot pins that swatch and opens its picker, so any part of the sticker can be recoloured by pointing at it; and hovering a swatch shows where it paints, by greying every other colour in the preview, animation included. Share puts the packed sticker, its name and the colour edits into the link (long links are shortened automatically), so the person who opens it sees the sticker as edited, with the original swatches and the changes, and can keep editing or reset. Export the result as a .tgs (re-gzipped with the tgs marker, size-checked against the 64 KB limit), as pretty-printed Lottie JSON, as a PNG of the current frame, or as an animated GIF encoded in a Web Worker. Nothing ever leaves your device.
Questions
What is a .tgs file?
Telegram's animated sticker format: a Lottie/Bodymovin vector animation JSON compressed with gzip. This tool unpacks, previews, edits and repacks it entirely in your browser.
Is my sticker uploaded anywhere?
No. Decompression, playback, recoloring and every export run locally — .tgs files never touch a server.
How do I convert TGS to GIF?
Open the .tgs and click GIF. Frames are rendered on a canvas at up to 30 fps, composited on white (GIF has no smooth transparency) and encoded with a Web Worker so the page stays responsive.
How do I convert Lottie JSON to TGS?
Open the .json and click .tgs — the JSON is gzipped with the tgs marker added. The checklist and export note tell you if the result breaks Telegram's rules (512×512, ≤3 s, ≤60 fps, ≤64 KB, vector-only).
Can I edit the sticker?
Yes, part by part. Click any part on the sticker (or in the Parts panel) to select it: recolour each of its paints, change a stroke's width, set its opacity, rename it, remove it (the eye, or Delete — Removed brings it back), duplicate it, send it forward or back, and move, scale or turn it by dragging it, its corner handles or the handle above it (arrow keys nudge). Every colour is also a swatch that recolours every part painting with it at once. Undo and redo cover everything, and Share carries the edits in the link. Bitmap content is not modified.
Two parts have the same colour — how do I change only one?
Click the part on the sticker: its own colour picker in the Parts panel changes that part alone. Or expand the swatch in the Colors panel — it says how many parts it paints and lists them — tick the parts to split off and press Separate: they keep the colour for now but get a swatch of their own under Separated, so each can be recoloured apart; the × on a separated swatch returns it to the shared colour.
Can I add new parts?
Yes. Press Add in the Parts panel, pick a circle, rectangle, star, polygon, line or path, choose a fill and/or stroke and, if you like, a motion (pulse, bounce, spin, wiggle, fade, slide in), then drag it onto the sticker — a path is drawn by clicking its corners and finished with a double-click or Enter. New parts land on a layer of their own on top and are edited like any other; the motion loops over the sticker's length so the replay stays seamless.
Does removing parts make the file smaller?
Yes. Hidden parts and layers are left out of the exported .tgs and Lottie JSON (a hidden layer another layer is parented to stays, hidden), and the checklist's size line shows the size the sticker would export at after each edit — handy against Telegram's 64 KB limit.
How do I find which swatch paints a part of the sticker?
Point at it. The readout under the player shows the colour under the pointer and the matching swatch lights up in the Colors panel; click the spot and that swatch is pinned with its colour picker open. The other way round, hover a swatch and the preview greys everything except that colour, so you see every place it paints while the animation runs.
Can I share my recoloured sticker?
Yes — press Share. The link carries the packed sticker, its file name and your colour edits (and is shortened automatically when long), so whoever opens it sees the sticker as you left it, with the original swatches and your replacements, and can keep editing, reset, or export it. Stickers far above Telegram's 64 KB limit are too large for a link; then the link carries the colour edits only.
Why doesn't Telegram accept my exported sticker?
Check the built-in checklist: the canvas must be exactly 512×512, duration at most 3 seconds, frame rate at most 60 fps, the file at most 64 KB, and it must be vector-only. Importing still requires Telegram's @Stickers bot.
Does it play regular Lottie files too?
Yes — plain Lottie .json and .lottie (dotLottie) files open the same way, so it doubles as a local Lottie previewer and Lottie-to-GIF converter.