Video To GIF Converter

A modern, browser-based tool for converting video clips to GIF animations

View the Project on GitHub dylansallred/Video-To-Gif-Converter

Video To GIF Converter

A single-file, browser-based video to GIF editor. It runs entirely locally in the browser, works offline after the page is loaded, and does not upload videos to a server. The app is built with vanilla HTML, CSS, JavaScript, Canvas, and an embedded GIF encoder.

Main Application Interface

The GIF above was created using this tool.

Live Demo

Open Video To GIF Converter.

Features

Local Video Workflow

Timeline And Trimming

Frame Sequence Mode

GIF Export Settings

Cropping And Image Tuning

Conversion Feedback

Keyboard Shortcuts

Shortcut Action
Space Play or pause the video
[ Set the start marker to the playhead
] Set the end marker to the playhead
/ Step backward or forward by the selected frame interval
Shift + / Jump backward or forward by 1 second
Alt + / Nudge backward or forward by 0.01 seconds
A Add the current frame to the frame sequence
Esc Close fullscreen or open overlays
Enter / Space on picker Browse for a video

Usage

  1. Load a video
    • Drag a local video onto the picker or click Browse.
    • The app reads the file locally and shows video metadata.
  2. Choose a workflow
    • Use Range mode for a continuous clip.
    • Use Frame Sequence mode to build a GIF from selected non-contiguous frames.
  3. Set timing
    • Drag the timeline markers, scrub the playhead, use shortcuts, or enter exact start/end values.
    • Use timeline zoom when you want to focus on a selected range.
  4. Configure output
    • Pick FPS, output size, dithering, color quality, palette mode, loop behavior, and speed.
    • Enable crop or timecode if needed.
    • Open Tune Image for brightness, contrast, saturation, warmth, and sharpness adjustments.
  5. Convert and download
    • Click Convert to GIF.
    • Preview the rendered GIF.
    • Download the final file when it looks right.

Performance Tips

Technical Details

Browser Compatibility

Development

  1. Clone the repository.
  2. Serve the folder locally, for example:

    python3 -m http.server 8000
    
  3. Open http://localhost:8000/Video-To-Gif-Converter.html.

The app is intentionally kept as one standalone HTML file.

License

MIT License - feel free to use and modify as needed.

Credits