Video to GIF Converter
Convert a video clip to an animated GIF with custom FPS and width — entirely in your browser, no upload.
100% client-side · no upload
How to convert a video to GIF
- Select your video file — MP4 and WebM are best supported.
- Set start and end times to select the clip segment to convert.
- Choose FPS (10 is a good default; higher = smoother but larger file) and width (480px is suitable for most sharing platforms).
- Click Convert to GIF and wait for ffmpeg.wasm to process.
- Download the animated GIF.
Tips for smaller GIF files
- Keep clips under 5 seconds for web-friendly file sizes.
- Use 8–10 FPS instead of 24 — the difference is subtle for short loops.
- Reduce the width to 320px for instant-message stickers.
- Avoid scenes with complex backgrounds or lots of colour variation.
Related tools: Video Trimmer · Frame Extractor · Thumbnail Generator · Video Compressor
常見問題
- Why is my GIF file so large?
- GIF uses an 8-bit (256 colour) palette and lossless compression. A 10-second, 480-pixel-wide GIF at 10 FPS is typically 5–20 MB. Reduce GIF size by lowering FPS, decreasing width, or shortening the clip duration.
- What is the maximum GIF size recommended for web use?
- Most web platforms accept GIFs up to 8 MB. For social media like Twitter/X and Slack, keep GIFs under 5 MB. For embedding in websites, aim for under 2 MB per GIF to avoid impacting page speed.
- Which input formats can be converted to GIF?
- ffmpeg.wasm supports MP4, WebM, MOV, AVI, MKV, and most other common video formats as input.
- Is my video uploaded during conversion?
- No. All conversion runs locally in your browser using ffmpeg.wasm. Nothing is sent to any server.
- How do I get the best GIF quality?
- Use a higher FPS (15–24) for smooth motion and a wider scale for clarity. For the best colour quality, use a short clip with limited colour variety — GIF is restricted to 256 colours per frame.
- How long does GIF conversion take?
- ffmpeg.wasm runs in single-threaded WebAssembly. Converting a 10-second clip at 10 FPS typically takes 10–60 seconds depending on video resolution and device speed.
- Can I convert a GIF back to a video?
- Yes, use the Video Converter tool to convert a GIF to MP4 or WebM. GIFs converted back to video will have the 256-colour limitation of the GIF format.
- Why does my GIF look washed out or have banding?
- GIF supports only 256 colours per palette. Videos with smooth gradients or many colours will show colour banding in GIF format. This is a fundamental GIF limitation. Reducing the clip length and using lower-saturation content helps.