How to Make a GIF from a YouTube Video
YouTube videos are full of moments worth turning into GIFs — a comedian's perfect pause, a sports highlight, a tutorial step that needs to loop for clarity. The process takes two steps: getting the video onto your device, then converting the clip you want into a GIF. Both steps are easier than most people expect.
Step One: Getting the Video
YouTube's own download feature (available to Premium subscribers) saves videos in a format that does not easily convert to GIF. For GIF-making purposes, you need the raw video file. The cleanest approach is to use a browser-based YouTube downloader — search for one, paste the video URL, select MP4 at 720p or 1080p, and download. Save the file somewhere easy to find.
If you only need a short clip from a longer video, some download tools let you specify a time range before saving, which gives you a smaller file to work with.
Step Two: Converting the Clip to a GIF
With your MP4 saved, open the GIFDB MP4 to GIF converter in your browser. Click the upload button and select your video file. Once it loads, you will see a timeline where you can drag handles to set the start and end points for your GIF. Find the exact moment you want — even a two-second window can make a great GIF — and set your trim points there.
Next, choose your output settings. For a GIF you plan to share on social media or in a chat, 480p resolution is usually the right call. It loads fast, looks sharp on phone screens, and keeps the file under 5 MB for clips up to about 6 seconds. If you want a higher-quality version for a website or presentation, 720p gives you noticeably crisper results at the cost of a larger file. Hit Convert, wait a few seconds, and download.
Alternative: Convert Directly in a Browser Without Downloading
A few online tools accept a YouTube URL directly, so you skip the download-to-desktop step. GIPHY's create page and Ezgif both support URL-based imports for some YouTube videos. Paste the URL, wait for the tool to fetch the video, trim to your desired segment, and create the GIF. This is faster when it works, though these tools occasionally hit restrictions on certain videos depending on the uploader's settings.
Working with Longer Videos
If the YouTube video is long and you only need a few seconds, it is worth trimming the source file before converting. Uploading a 30-minute video just to extract a 5-second clip is slow and wasteful. Use a free video trimmer — VLC on desktop can do this, or any online video trimmer — to cut the file down to a 10–15 second window around your target moment, then run it through the GIF converter. The conversion will be faster and you will have a smaller working file.
Frame Rate and Quality Settings
YouTube videos are typically shot at 24, 30, or 60 frames per second. When you convert to GIF, you generally do not need to preserve the full frame rate. 15 fps produces smooth-looking animation for most content and keeps file sizes much smaller than 24 or 30 fps. The exception is fast-motion content — sports, action sequences — where dropping below 20 fps makes the motion look choppy. For those cases, keep the frame rate at 24 fps and accept a larger file, or compensate by shortening the clip.
Using the GIF
Once downloaded, the GIF is ready for anywhere you share content. Post it to Twitter, send it in Discord, attach it to an email, or upload it to GIFDB to share with a wider audience. If the file is too large for a particular platform, the guide on how to make a GIF file smaller covers the compression techniques that trim the file without visible quality loss. For the full rundown on all the ways to create GIFs, head to the main how to make GIFs guide. If you also work with TikTok or Twitter videos, the TikTok downloader and Twitter video downloader work the same way for sourcing clips from those platforms.