MP4 vs GIF vs WebP for 3D Model Previews
A short rotating preview sells a 3D model better than a still picture, but the format you choose decides how fast it loads, how good it looks and whether a marketplace accepts it. We rendered the same 4-second turntable and encoded it as MP4, animated WebP and GIF, so this guide can give measured file sizes instead of rules of thumb.
Measured results
Test clip: 640 x 640 pixels, 30 frames per second, 120 frames (4 seconds, one full turn), a shaded and textured object on a light background.
| Format and settings | File size | Compared with MP4 (CRF 23) |
|---|---|---|
| MP4, H.264, CRF 30 | 0.15 MB | 44% |
| MP4, H.264, CRF 23 | 0.34 MB | 100% |
| Animated WebP, quality 70 | 1.29 MB | 3.8 times larger |
| GIF, 320 x 320, 64 colours | 3.27 MB | 9.7 times larger |
| GIF, 640 x 640, 128 colours | 16.13 MB | 48 times larger |
What this shows
- At the same resolution the GIF was about 48 times the size of the MP4, and it still had only 128 colours.
- Even shrinking the GIF to a quarter of the pixels left it about 10 times larger than the full-size MP4.
- Animated WebP landed in the middle: about 3.8 times the MP4, with full colour.
- Raising the MP4 quantiser from 23 to 30 cut the size by a further 56%. Always compare both against the original frames before choosing.
Why the differences are so large
MP4 (H.264) stores differences between frames and uses motion prediction. A turntable keeps the background still and moves the object smoothly, which is a good case for video codecs. GIF stores every frame as an indexed-colour image with only simple lossless compression, so it cannot exploit smooth motion or gradients. WebP can use video-like techniques, but its animated mode has less encoder support and less hardware decoding than H.264.
Compatibility and behaviour
| MP4 | Animated WebP | GIF | |
|---|---|---|---|
| Colours | Millions | Millions | 256 at most per frame |
| Transparency | No | Yes | 1-bit only |
| Audio | Yes | No | No |
| Autoplay and loop in web pages | Yes, muted with the loop attribute | Yes, as an image | Yes, as an image |
| Supported by marketplaces and social sites | Almost always | Varies | Often |
| Hardware decoding on phones | Yes | Limited | No |
Platform rules change, so check the upload page of the site you use for accepted types and size limits.
Which format should you pick?
- Marketplace listing or social post: MP4. Keep it short (3 to 8 seconds), looping, and well under the platform size limit.
- Your own web page: MP4 in a
<video autoplay muted loop playsinline>tag. It loads faster and uses less data than a GIF. - A site that only accepts images: animated WebP if supported, otherwise a small GIF (320 to 480 pixels, few colours).
- Email or chat: GIF still plays almost everywhere, but keep it small.
How to keep any preview small
- Use a plain background. Flat areas cost almost nothing in MP4 and compress well in every format.
- Shorten the loop. File size scales with duration.
- Lower the frame rate to 24 or 20 for slow rotations.
- Match the resolution to the display: 720 to 1080 pixels is enough for most listings.
- For MP4, increase CRF or lower the bitrate until artefacts appear, then step back.
The STLtoMP4 tool exports MP4 with adjustable resolution, frame rate and bitrate, and can also produce a GIF. See how to make a turntable video for camera, lighting and duration advice.
Frequently asked questions
Why is my GIF so big?
GIF stores every frame as an indexed image with only basic compression. In our test the same clip was about 48 times larger as a 640-pixel GIF than as an MP4.
Can I upload MP4 where only GIF is allowed?
Only if the platform accepts it. Some sites convert uploaded videos automatically; others do not.
Is WebP better than GIF?
Usually yes for size and colour, but support is less universal than GIF or MP4.
How we measured
The clip is 120 frames of a lit, textured sphere rotating a full turn on a light background, generated programmatically for this article. It was encoded with FFmpeg 6.1: libx264 with -crf 23 and -crf 30 (yuv420p), libwebp animated at quality 70, and GIF with a generated palette (128 colours at 640 pixels with Bayer dithering; 64 colours at 320 pixels). A real model with fine texture or noisy lighting will produce larger files in every format, but the order and the rough ratios stay similar. The numbers are in a CSV file.