Free GIF sample, test and dummy files
Palette-based images with simple animation, limited to 256 colours per frame. Download valid GIF test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.
- Extension
- .gif
- MIME type
- image/gif
- Kind
- Binary
- Category
- Images
Create a GIF file of any size
Choose any size from 874 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.
GIF files by size
Every file below is a valid Graphics Interchange Format file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.
| File | Size | Contents | Download |
|---|---|---|---|
| 1 KB GIF samplesample-gif-1kb.gif | 1 KB1,024 bytes | Frames: 1 | Download GIF |
| 5 KB GIF samplesample-gif-5kb.gif | 5 KB5,120 bytes | Frames: 1 | Download GIF |
| 10 KB GIF samplesample-gif-10kb.gif | 10 KB10,240 bytes | Frames: 1 | Download GIF |
| 25 KB GIF samplesample-gif-25kb.gif | 25 KB25,600 bytes | Frames: 1 | Download GIF |
| 50 KB GIF samplesample-gif-50kb.gif | 50 KB51,200 bytes | Frames: 1 | Download GIF |
| 100 KB GIF samplesample-gif-100kb.gif | 100 KB102,400 bytes | Frames: 2 | Download GIF |
| 200 KB GIF samplesample-gif-200kb.gif | 200 KB204,800 bytes | Frames: 3 | Download GIF |
| 500 KB GIF samplesample-gif-500kb.gif | 500 KB512,000 bytes | Frames: 6 | Download GIF |
| 1 MB GIF samplesample-gif-1mb.gif | 1 MB1,048,576 bytes | Frames: 12 | Download GIF |
| 2 MB GIF samplesample-gif-2mb.gif | 2 MB2,097,152 bytes | Frames: 24 | Download GIF |
| 3 MB GIF samplesample-gif-3mb.gif | 3 MB3,145,728 bytes | Frames: 36 | Download GIF |
| 5 MB GIF samplesample-gif-5mb.gif | 5 MB5,242,880 bytes | 480 × 360 px | Download GIF |
| 10 MB GIF samplesample-gif-10mb.gif | 10 MB10,485,760 bytes | Frames: 119 | Download GIF |
| 15 MB GIF samplesample-gif-15mb.gif | 15 MB15,728,640 bytes | Frames: 178 | Download GIF |
| 20 MB GIF samplesample-gif-20mb.gif | 20 MB20,971,520 bytes | Frames: 238 | Download GIF |
| 25 MB GIF samplesample-gif-25mb.gif | 25 MB26,214,400 bytes | Frames: 297 | Download GIF |
| 30 MB GIF samplesample-gif-30mb.gif | 30 MB31,457,280 bytes | Frames: 356 | Download GIF |
| 50 MB GIF samplesample-gif-50mb.gif | 50 MB52,428,800 bytes | Frames: 568 | Download GIF |
| 100 MB GIF samplesample-gif-100mb.gif | 100 MB104,857,600 bytes | Frames: 568 | Download GIF |
More GIF samples
Hand-designed files with realistic content or a specific edge case.
| File | Size | Contents | Download |
|---|---|---|---|
| Animated GIF, 320 × 240, 24 framessample-animated-loop.gif | 283 KB290,031 bytes | 320 × 240 px | Download GIF |
What is a GIF file?
GIF stores images with a palette of up to 256 colours and compresses them with the LZW algorithm. Its lasting use is short, looping animation, which every browser and messaging app supports.
An animated GIF is a sequence of frames, each with its own delay. Frames can cover only part of the canvas, which is how encoders keep animations small.
How to recognise a GIF file
Software recognises a GIF file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.
| Extension | .gif |
|---|---|
| MIME type | image/gif |
| Specification | GIF89a (CompuServe, 1990) |
| Compression | Lossless LZW |
| Colour | Up to 256 colours per frame from a 24-bit palette |
| Transparency | One fully transparent palette entry; no partial alpha |
What to test for
These are the behaviours that most often go wrong when software handles GIF files.
- Many resizing libraries silently keep only the first frame of an animated GIF.
- Animated GIFs are large for what they show; a few seconds can reach several megabytes, so they hit size limits early.
Strengths of GIF
- Animation that plays everywhere without a video player.
- Lossless for images with few colours.
Limitations of GIF
- Only 256 colours per frame, so photographs band and dither.
- Far larger than a short video of the same clip.
Typical uses of GIF test files
- Testing whether image pipelines preserve animation
- Checking frame-count and duration limits
- Testing avatar and reaction uploads
Software that opens GIF
- Every browser and messaging app
- Image editors
- gifsicle, ImageMagick and Pillow
Specifications
Related
GIF sample files: questions
- Are the sample GIFs animated?
- Yes. They loop forever at about 12 frames per second. The frame count for each size is shown on its download page.
- What is the MIME type of a GIF file?
- The MIME type is image/gif. The file extension is .gif.
- Is a sample GIF file the same as a dummy or example GIF file?
- Yes. Sample, test, dummy and example GIF files are different names for the same thing: a GIF file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy GIF file.