1. Open(simply drag and drop) a GIF/WebP file. And Click the Save button below.
2. Adjust quality, frames/sec, and resize image options. You can preview the output file size before you save it.
Firstly, you'd better set the quality around 80 and frames/sec under 20.
Even if you set those values much higher, the output file size will be even bigger with not much gain in quality of GIF/WebP/MP4.
Please keep in mind, however, that the output file size could be very dependent on the source GIF/WebP/MP4. (You might not get a 2MB GIF even if you follow these because the output size will be dependent on your source GIF/WebP.)
You can make it even smaller if you save it as WebP. (436KB)
3. Once you're done just click the Save button!
Here the file size of the output GIF is 2MB and that of WebP is 437KB.
Please keep in mind again that you might not get the same result since it highly depends on the source GIF/WebP.