Download

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

Tools

  1. Video to GIFMP4, WebM or MOV to an animated GIF
  2. Compress GIFMake a GIF smaller, or fit a size limit
  3. Images to GIFBuild an animation from pictures
  4. Resize GIFChange width and height
  5. Crop GIFKeep part of the picture
  6. Cut GIFTrim or remove frames
  7. Change speedFaster, slower, or even timing
  8. Reverse GIFBackwards or boomerang
  9. Rotate and flipTurn or mirror a GIF
  10. Add textCaptions and meme text
  11. Split into framesEvery frame as a PNG or JPG
  12. GIF to MP4A video, usually far smaller

Benchmark

Video to GIF

363 film clips · against gifski 1.34

gifski
100
lessgif
50

Compress GIF

281 GIFs · against gifsicle 1.94 lossy

gifsicle
100
lessgif
60

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.