Open-source GIF encoder · runs in your browser
Make and compress GIFs in your browser
Turn videos into GIFs, and compress, resize, crop and edit the GIFs you have. Nothing is uploaded: the lessgif encoder runs on your device as WebAssembly.
Specs
- Encoder
- lessgif 0.1.0
- Runtime
- WebAssembly, 179 KB, in a worker
- Uploads
- none, 0 bytes
- Input
- MP4, WebM, MOV, GIF, WebP, PNG, JPEG
- Output
- GIF, MP4, PNG, JPEG
- License
- MIT or Apache-2.0
- Source
- moonjuho11/lessgif
Tools
- Video to GIFMP4, WebM or MOV to an animated GIF
- Compress GIFMake a GIF smaller, or fit a size limit
- Images to GIFBuild an animation from pictures
- Resize GIFChange width and height
- Crop GIFKeep part of the picture
- Cut GIFTrim or remove frames
- Change speedFaster, slower, or even timing
- Reverse GIFBackwards or boomerang
- Rotate and flipTurn or mirror a GIF
- Add textCaptions and meme text
- Split into framesEvery frame as a PNG or JPG
- GIF to MP4A video, usually far smaller
Benchmark
Video to GIF
363 film clips · against gifski 1.34
Compress GIF
281 GIFs · against gifsicle 1.94 lossy
Median file size at the same SSIMULACRA2 score, a perceptual quality metric, with the other tool's size as 100. There has been no blind viewing test yet, and up close lessgif's GIFs show a bit more fine grain in flat areas. See the full comparison, with side-by-side GIFs and how it was measured.
Command line
$ lessgif clip.mp4 clip.gif --quality 70 $ lessgif big.gif small.gif --max-size 8M
The same encoder is an app for Windows, macOS and Linux, with no limits on file size or length. Download it, or read the code and the benchmark on GitHub.
Questions
Is lessgif free?
Yes. The website, the app for Windows, macOS and Linux, and the encoder are free and open source under the MIT or Apache-2.0 license, with no sign-up and no watermark.
Are my files uploaded?
No. Every tool runs in your browser tab with WebAssembly, so your videos and GIFs never leave your device.
How much smaller are lessgif's GIFs?
In the project's published benchmark, a median 50% smaller than gifski's when making GIFs from video, and 40% smaller than gifsicle's lossy mode when compressing existing GIFs, at the same SSIMULACRA2 quality score. Results vary by GIF, and a GIF that is already well optimised may not shrink.