A modern, browser-based tool for converting video clips to GIF animations with advanced customization options. Built with vanilla JavaScript and HTML5, this tool runs entirely in your browser - no server uploads required. The entire application is contained in a single HTML file, making it fast, secure, and privacy-friendly since all processing happens locally on your device.
The GIF above was created using this tool.
Visit Video To GIF Converter
- Upload and preview video files directly in the browser
- Interactive timeline with draggable markers for precise time selection
- Play/Pause functionality
- Audio mute toggle with persistent settings
- Loop playback within the selected range
- Frame-by-frame navigation using arrow keys
- Playhead scrubbing for precise frame selection
- Expandable panels for better workspace organization
- Frame Rate Selection: Choose between 5-30 fps
- Output Size Control: Adjust from 25% to 100% of the original size
- Speed Control: Adjust playback speed from 1x to 5x
- Dithering Options:
- No Dithering (default)
- Floyd-Steinberg
- Light Dithering
- Stucki
- Video Cropping:
- Interactive crop region with resize handles
- Real-time crop dimensions display
- Real-time GIF preview
- File size estimation
- Double-click GIF preview for fullscreen view
- Expandable/collapsible panels for better workspace organization
- Detailed conversion progress with status updates
- Conversion time and file statistics display
- Keyboard shortcuts for efficient timeline control
- Cancel conversion option
- Mobile-optimized touch controls
- Persistent settings between sessions
- Fullscreen preview mode for converted GIFs
- Space: Play/Pause video
- [: Set start marker at current position
- ]: Set end marker at current position
- ←/→: Step frame by frame (hold for continuous stepping)
- Real-time conversion progress bar
- Detailed frame processing information
- Estimated file size and dimensions display
- Conversion time tracking
- Cancelable conversion process
- Step-by-step status updates
- Responsive design for desktop and mobile
- Settings persistence between sessions
- Works entirely in the browser - no server processing needed
- Helpful tips panel with optimization suggestions
- Visual feedback for settings changes
- Automatic file size optimization suggestions
- Touch-friendly controls for mobile devices
-
Upload Video
- Click the file input area or drag and drop a video file
- Video will appear in the preview panel
-
Adjust Time Range
- Use timeline markers to select start and end points
- Fine-tune using time input fields
- Preview selection using play button
-
Configure Settings
- Adjust frame rate for smoothness vs. file size
- Select output size
- Choose dithering method for color optimization
-
Convert and Download
- Click "Convert to GIF" to process
- Preview the result
- Click "Download GIF" to save
- Built with vanilla JavaScript
- Uses HTML5 Canvas for video processing
- Implements gif.js library for GIF encoding
- Client-side processing only
- Multi-threaded processing using Web Workers
- Adaptive worker count based on CPU cores
- Dynamic worker allocation
- Efficient frame capture
- Memory management during conversion
- Cancelable conversion process
- Chrome (recommended)
- Firefox
- Safari
- Edge
Processing time depends on:
- Video size
- Selected duration
- Frame rate
- Output dimensions
- Use shorter durations
- Lower frame rates (10-15 fps) for most cases
- Reduce output size if original is large
- Experiment with dithering options
- Adjust playback speed for longer videos
- Clone the repository
- Open
VideoToGif.html
in a modern web browser - No build process or dependencies required
MIT License - feel free to use and modify as needed.
- Uses gif.js for GIF encoding
- Interface design inspired by modern web applications
- SVG Icons from Feather Icons