How to compress a GIF so you can upload it to X, Discord, Gmail, and Outlook
Start with the platform limit, then use the matching target size. X, Discord, Gmail, and Outlook do not need the same settings, but most GIFs only need one quick pass plus a width or frame-drop adjustment.
GIF Compressor
Set the target size for the platform first, compress once, then adjust width or frame dropping only when needed.
Step 1
Start by checking where you want to upload the GIF. X allows up to 15 MB on web and 5 MB on mobile, Discord is usually 10 MB, and Gmail or Outlook attachments are usually planned around a 25 MB ceiling.
Step 2
Match the target size to the platform: 5 MB for X mobile, 15 MB for X web, 10 MB for Discord, and usually 10 to 15 MB for Gmail or Outlook before you fall back to 25 MB.
Step 3
In most cases, just click compress once. If the GIF is still too large, then keep adjusting width and frame dropping.
Step 4
If you have several GIFs for the same platform, open Batch GIF Compressor.
This guide uses GIF Master's GIF Compressor
Use it to shrink oversized GIFs so they are easier to upload to X, Discord, Gmail, and Outlook.
Check the platform limit before choosing the target size
Start with the platform you plan to upload to. X allows animated GIFs up to 15 MB on web and 5 MB on mobile, Discord is usually 10 MB, and Gmail or Outlook attachments are usually treated as a 25 MB ceiling.
You can turn that into settings right away: use 5 MB for X mobile, 15 MB for X web, 10 MB for Discord, and usually 10 to 15 MB for Gmail or Outlook. Leave the original dimensions alone first and only change width if the first pass is still too large.
Set the target size for the platform
Current GIF
Preview
- File
- campaign-demo.gif
- Size
- 18.6 MB
- Dimensions
- 1280 x 720
- Frames
- 96
Compression settings
Tune size, dimensions, and frame dropping before starting compression.
Target size
The tool tries to get under the target size, but some GIFs may stop shrinking first.
Resize mode
Drop frames
Already know the upload destination?
Open the compressor and set the target size before the first pass.
Start with one compression pass using the platform settings
If you are uploading to X mobile, start at 5 MB. If it is for X web, enter 15 MB. If it is for Discord, start at 10 MB. If it is for Gmail or Outlook, try 10 to 15 MB first.
Most of the time you do not need to touch width or frame dropping immediately. Just click Compress GIF once, then check the first result before changing anything else.
Compress right after setting the size
Current GIF
Preview
- File
- campaign-demo.gif
- Size
- 18.6 MB
- Dimensions
- 1280 x 720
- Frames
- 96
Compression settings
Tune size, dimensions, and frame dropping before starting compression.
Target size
The tool tries to get under the target size, but some GIFs may stop shrinking first.
Resize mode
Drop frames
If it is still too large, adjust width and frame dropping
Try width settings by platform: 480px is a good first move for X mobile, 600px works well for X web plus Gmail or Outlook, and 720px is a reasonable first try for Discord before dropping to 600px. Let the height scale automatically so the GIF keeps its original ratio.
If width alone is not enough, increase frame dropping next. Starting around 20% or 30% is usually a clean first step. Change one major setting at a time so you can see what actually pushes the GIF closer to the size you need.
Width and frame dropping settings
Current GIF
Preview
- File
- campaign-demo.gif
- Size
- 18.6 MB
- Dimensions
- 1280 x 720
- Frames
- 96
Compression settings
Tune size, dimensions, and frame dropping before starting compression.
Target size
The tool tries to get under the target size, but some GIFs may stop shrinking first.
Resize mode
Target width
Drop frames
If several GIFs are going to the same platform, switch to batch compression
If you have several GIFs that all need to go to X, Discord, or email, do not repeat the same settings one file at a time.
Open Batch GIF Compressor and reuse one set of target size and width settings across the whole group.
Batch compression entry
Need to compress multiple GIFs?
Open the batch GIF compressor to apply one compression workflow across multiple GIF files and download the finished results together.
Need to process several GIFs?
Jump straight to Batch GIF Compressor when several GIFs need the same platform settings.
Start compressing a GIF
Set the target size for the platform, compress once, then adjust width or frame dropping only if the file still needs more work.
Open GIF CompressorRelated guides
This article is designed to support the core tool pages below. After reading the workflow, jump directly into the matching tool.
Optimize GIFs
GIF Compressor
Compress animated GIFs toward a target size with resizing, frame dropping, and browser-side optimization settings.
GIF CompressorBatch optimizer
Batch GIF compressor
Compress multiple GIF files in one workflow for uploads, documentation, and shared asset cleanup.
Batch GIF compressorTransparent GIF
Remove GIF background
Remove solid-color GIF backgrounds in your browser, manually clean up tricky frames, and export a transparent GIF without uploads.
Remove GIF backgroundCreate GIFs
Video to GIF
Turn videos into GIFs, then add text, images, arrows, emoji, shapes, and mosaic in the same browser editor.
Video to GIF