Swelıty
Tools for everyone

Free Online Video to GIF

Turn a video clip into an animated GIF. Set the range, speed, crop, size and frame rate, add a caption, and loop or boomerang it.

Add a video to turn into a GIF

Drag and drop a video here, or click to browse.

How to use

  1. Add a video of up to 1 GB by dragging it in or choosing a file. The editor opens.

  2. Use the Preview switch above the picture. As GIF shows one frame the way the GIF will look and updates when you change a setting. Original video shows your file.

  3. The whole video is selected to begin with, or the first 30 seconds of a longer one. Change the start and end by dragging the two handles on the timeline under the player, with Set start here and Set end here at the playhead, or by typing a time such as 0:12.5 under Clip. Press Play to check that part, then Pause, Resume or Start over. Click the pictures to jump to a point, and Reset range to select the whole length again (up to 30 seconds). On a phone or narrow window, the buttons at the bottom open each group of settings.

  4. Under Motion, choose a speed from 0.5 times to 3 times, and Forward, Reverse or Boomerang. Pick a frame rate.

  5. Under Size and shape, crop to a square, wide, photo or tall shape, keep the video's own size or make it smaller by Pixels (a preset width, or your own width or height) or by Percent, set the number of colours, and turn dithering and looping on or off.

  6. Optionally type a caption, then choose its position, size and colour.

  7. Press Make the GIF (Make GIF on a narrow window). A progress bar shows each frame, and you can cancel at any point. Check the GIF, its size and frame count, then download it. If you change settings afterwards, the GIF you have stays until you make it again.

Why use this tool

  • Undo and redo

    Take back or redo a change to your settings, with the buttons or Ctrl+Z (Command+Z on a Mac). Dragging a slider or handle counts as one step.

  • Live preview of your settings

    The editor shows one frame exactly as the GIF will look, with the crop, size, colours, dithering and caption applied, and it updates as you change a setting. Speed, reverse, boomerang, loop and frame rate only show in the finished GIF. Press Play to see the original video: inside the part you chose it runs at your speed and stops at the end.

  • Choose the exact clip

    A timeline with pictures from your video has two drag handles, buttons that set the start or end at the playhead, and time boxes for exact values. One button plays, pauses and resumes just the part you keep.

  • Speed, reverse and boomerang

    Play the clip from 0.5 times to 3 times its speed, backwards, or forward and then back in a loop. The frame and time limits still apply to the finished GIF.

  • Crop and captions

    Crop the middle of the picture to a square, wide, photo or tall shape. Add a line of text with an outline in white, yellow or black, at the top or bottom, in three sizes.

  • Size and frame rate

    Keep the video's own size, which is the default, or make it smaller: pick a preset width, type or step a width or a height, or scale by percentage. A lock keeps the shape; open it to set both sides yourself. Frame rates from 5 to 20 per second. A video is never made bigger than it is.

  • Colours, dithering and looping

    Use 64, 128 or 256 colours. Dithering smooths gradients. Looping can be turned off so the GIF plays once.

  • A size estimate from your video

    The tool encodes a few sample frames to measure the size, then works out the whole file. It is an estimate: busy scenes and captions can move it, and it warns you when the result is likely to be very large.

  • Progress and cancel

    Frames are read one at a time, with a running count of the file size. Cancel stops the job and keeps nothing.

  • Own GIF encoder

    The GIF is written by code in this page, with a median cut colour palette and LZW compression. No video library is needed.

About this tool

Video to GIF is an online converter that turns a short part of a video into an animated GIF. Add a video and an editor opens with the video, a strip of pictures along the bottom and the settings beside it (on a phone, behind the buttons at the bottom of the screen). Choose where the clip starts and ends, change the speed, play it forward, backward or as a boomerang, crop it to a square or another shape, add a caption, pick a size and a frame rate, and make the GIF. The tool shows how many frames it will use and an estimate of the file size, measured from a few sample frames of your own video. The GIF is made in your browser with its own encoder, so no other software is needed. GIFs get big fast, so the tool limits a GIF to 300 frames and 30 seconds. It reads the video through the browser, so the formats it opens depend on your browser. MP4 and WebM open almost everywhere. If you only need to cut the video and keep it as a video, use the Video Trimmer; to put clips, text and music together, use the Video Editor.

Frequently asked questions

Add the MP4, or another video your browser can play such as WebM, choose the part to keep on the timeline, set the size and frame rate, then press Make the GIF and download it. A GIF can be up to 30 seconds and 300 frames long.

A GIF stores every frame as a picture and cannot compress motion the way a video does. A 10 second clip at 480 pixels wide and 15 frames per second is easily 10 MB or more. The GIF keeps your video's own size by default, so an HD video makes a very large file. To shrink it, choose a smaller width such as 800 or 480, or lower the frame rate or the number of colours, or use a shorter clip.

Yes. Under Size and shape, choose Pixels to pick a preset width or type a width or a height, or Percent to scale the picture, for example to 50%. A lock between width and height keeps the shape, so the other side follows and nothing is stretched. Open the lock to set both sides yourself; the page warns you how much the picture will be stretched. If you crop first, the size is worked out from the cropped picture. A GIF is never made larger than your video.

Yes. A GIF can have at most 300 frames and 30 seconds. At 20 frames per second that is 15 seconds. At 10 frames per second it is 30 seconds. If your range is longer, the tool shortens it and says so.

Whatever your browser can play, in files up to 1 GB. MP4 (H.264) and WebM work in all common browsers. MOV, MKV and AVI files depend on the codec inside them. If the browser cannot play a file, the tool says so and nothing is changed.

In your browser, by code on this page. Nothing needs to be installed.

A boomerang plays the clip forward and then back, so it needs about twice the frames for the same clip. The 300 frame and 30 second limits apply to the whole GIF, so the tool shortens the clip to about half the length. The first and last frames are not repeated at the turn.

It is an estimate. The tool encodes three sample frames from your clip and multiplies by the frame count, which is usually close, but a clip that changes a lot between frames can come out larger or smaller. The real size is shown when the GIF is made.