Skip to content

How to make a GIF from a video or photos, on any device

A step-by-step guide to turning a video clip, a handful of photos or a ready-made template into an animated GIF, with the settings that decide how it looks and how big the file gets.

Published Last updated 17 min read

In short

  • From a video: trim it to the 2 to 6 seconds you need, take about 10 frames per second, and keep the width at 480 pixels or less.
  • From photos: add the pictures in the order they should play, show each one for 0.5 to 1.5 seconds, and set the GIF to loop forever.
  • From a template: pick an effect such as the heart locket, add your photo and caption, and download the finished animation.
  • What moves in the picture decides the file size more than anything else. A camera pan can be 50 times larger than a still shot with one small moving object.

To make a GIF, you choose a short clip or a set of pictures, put them in order as frames, decide how long each frame stays on screen and whether the animation loops, then export the result as a .gif file. You can do all of that in a browser, with the camera roll tools on most phones, or in Photoshop. This guide covers each route, then the settings and file-size limits that cause most GIF problems.

Four photos of a red ball bouncing on a lawn, each one a single frame, joined into one looping animated GIF file.

Three ways to make a GIF

Every GIF starts from one of three things: footage you already have, a set of still pictures, or a template that does the animating for you. Pick the row that matches what you have.

You start withGood forWhere to make it
A video clip or screen recordingReaction GIFs, product demos, short tutorials, funny momentsGIF maker in any browser, Photoshop, or a phone’s own tools
Photos, screenshots or drawingsSlideshows, before-and-after, step-by-step, stop motionGIF maker, Samsung Gallery, Google Photos or Photoshop
A template or effectMemes, greetings, custom emoji, animated logosHeart locket GIF maker, GIF to emoji, SVG to GIF

Whichever you choose, the result is the same kind of file: a stack of still frames, each with its own display time and its own palette of up to 256 colors, plus a note telling the viewer how many times to loop. The illustration at the top of this guide shows the idea, and that structure explains almost every setting further down.

How to make a GIF from a video

Turning a video into a GIF means sampling stills from a few seconds of footage. The free video to GIF maker on this site does it in the browser, so the clip never leaves your phone or computer, which matters for screen recordings of work apps and private family videos.

  1. Open the GIF maker and drop in an MP4, MOV or WEBM file, or tap to choose one from your phone.
  2. Play or scrub through the video, then press Start here and End here to mark the part you want. Two to six seconds is the usual length for a GIF.
  3. Choose the frames per second. Ten is smooth enough for most clips; use 15 to 25 only for fast motion such as sport or gaming, because each step up adds frames and file size.
  4. Press Add frames. The frames appear in a strip, where you can delete the slow start, duplicate a frame to hold a moment, or reverse the whole clip.
  5. Set the width (480 pixels suits most chats and web pages) and choose Loop forever.
  6. Press Make GIF, check the preview and its file size, then download it.
Two steps in the QuickImageFix GIF maker. Left: part of a mountain lake video chosen from 0.5 to 2.5 seconds at 10 frames per second, which adds 20 frames. Right: frames in the frame strip with a live preview, 500 ms per frame and the loop set to forever.
Choose the seconds you want (1), then reorder, retime and preview the frames before you make the GIF (2).

Pick a clip where the camera stays still if you can. A locked-off shot of someone reacting compresses far better than a handheld shot of the same moment, because only the moving parts of each frame have to be stored again. The size test further down puts numbers on that.

Turning a screen recording into a GIF

Record your screen with the tool you already have (Xbox Game Bar with Win+Alt+R on Windows, Shift+Command+5 on a Mac, or Screen Recording in the Control Center on an iPhone), then treat the recording like any other video. Before you start, shrink the window or zoom in on the part that matters, because a 640-pixel-wide GIF of one dialog box reads better than a full desktop squeezed into the same width. Screen recordings suit 8 to 12 frames per second: menus and cursors do not need more.

How to make a GIF from photos or images

A set of still images becomes a GIF the same way a flip book works: each picture is one frame, shown for a set time before the next. Holiday photos, product shots from several angles, the steps of a recipe or a series of drawings all work.

  1. Add your JPG, PNG, WEBP or HEIC pictures to the online GIF creator. You can add more at any time; new pictures join the end of the strip.
  2. Put them in order: select a frame and use Move earlier or Move later, or Reverse to flip the whole sequence.
  3. Set the time per frame. For a photo slideshow, 500 ms to 1.5 seconds gives people time to look; for stop motion, 80 to 150 ms makes movement look continuous.
  4. Choose a shape. Like the first frame keeps your first picture’s proportions; square suits chats and profile pictures, and tall 9:16 suits stories.
  5. Choose Show the whole picture to fit every image inside the frame, or Fill the frame to crop the edges so nothing is letterboxed.
  6. Pick the loop, press Make GIF and download.

Photos taken seconds apart make the smoothest animations, so burst shots are ideal. For stop motion, keep the camera on a stand and lock the exposure, otherwise the brightness flickers from frame to frame. If one picture needs straightening or trimming before it goes in, crop it first and add the cropped copy.

How to make a GIF on iPhone and Android

Phones can make simple GIFs with their own apps. What each one can do depends on the brand, so the options below stick to what Apple and Samsung document, and say where a feature comes from third-party guides instead. For full control over speed, size and colors on any phone, the browser route works the same as on a computer.

Illustration of a waving hand animation on a smartphone, saved as a looping .GIF file that plays the same way on a laptop.
Made on a phone or a computer, a GIF loops the same way on every screen it reaches.

On iPhone: Live Photos, Loop and Bounce

If you take Live Photos, you already have short clips. Apple’s instructions: open a Live Photo in the Photos app, tap the Live button near the top of the screen, and choose Loop or Bounce. Loop replays the moment from start to finish; Bounce plays it forwards and then backwards. Apple notes that editing the photo in a third-party app can remove the effect.

A Loop or Bounce looks like a GIF in your library, but apps often send it as a short video. To get an actual .gif file, guides from 9to5Mac and others describe the Make GIF action in Apple’s Shortcuts app, which turns a Live Photo, burst or video into a GIF; search the Shortcuts gallery for “GIF” to find it. The other option is to open the GIF maker in Safari, tap to choose a video, and use the same steps as on a computer.

On a Samsung Galaxy phone, Samsung’s support pages give this route: open Gallery, select the photos, tap More, choose Create GIF, adjust the speed and order, then save. The camera can also capture a GIF when you swipe the shutter button, an option set under Swipe shutter button in the camera settings. Menu names vary a little between models and One UI versions.

Google Photos on Android has an Animation option in its Create menu that joins a set of photos into a looping animation; tech sites such as PhoneArena describe it, and Google has moved it around between app versions. Neither Gallery nor Google Photos lets you set colors or an exact width, so if the file has to meet a size limit, make it in the browser instead.

Make a fun GIF from a template

Templates do the animating for you: you supply a photo or a caption, and the motion is already designed. They are the quickest way to make a GIF for a message, a birthday or a group chat.

  • The “my beloved” meme: the heart locket GIF maker puts your photo in a red locket that swings open beside a caption, or beside a second photo.
  • Custom emoji: turn a GIF into a Discord or Slack emoji, squared, resized and fitted under each platform’s limit (256 KB on Discord, 128 KB on Slack).
  • Animated logos and icons: if the animation is an SVG, convert the SVG to a GIF so it plays in places that do not support SVG, such as email.

How to make a GIF in Photoshop

Photoshop builds GIFs from layers, which suits designers who want to edit individual frames. The steps below use the frame animation timeline in current versions.

  1. Load the pictures as layers with File › Scripts › Load Files into Stack. For a video, use File › Import › Video Frames to Layers and choose the range.
  2. Open Window › Timeline, then choose Create Frame Animation in the middle of the panel.
  3. In the Timeline panel menu, choose Make Frames From Layers. Each layer becomes one frame.
  4. Set each frame’s delay from the small menu under its thumbnail, and set the loop at the bottom of the panel to Forever.
  5. Export with File › Export › Save for Web (Legacy). Choose GIF, set the colors (128 is a good start), turn dithering on or off, check the file size in the corner of the preview, and save.

Photoshop gives frame-by-frame control, at the cost of a subscription and a dozen steps. For putting pictures or a clip in order and getting a clean, small GIF, the browser tool covers the same settings in a minute.

GIF settings: frame rate, size, colors and looping

Five settings decide how a GIF looks and how large it is. Here is what each one does, and a starting point for common uses.

Kind of GIFWidthFrames per secondColorsLength
Reaction GIF for chat320–480 px10–12128–2552–4 s
Product demo480–640 px10–152553–6 s
Screen recording640–800 px8–1264–1285–10 s
Photo slideshow480–800 px1–22551 s per photo
Custom emoji128 px or less10–1564–1281–3 s

Frame rate and frame delay

A GIF has no frame rate as such. Each frame carries a delay, stored in hundredths of a second, and the frame rate follows from it: a delay of 100 ms is 10 frames per second, 50 ms is 20. Because of the hundredths, 30 frames per second cannot be stored exactly; a delay of 30 ms plays at about 33 fps and 40 ms at 25.

Very short delays backfire. Browsers have long treated a delay of 0 or 10 ms as a mistake and slowed it to about 100 ms, so a GIF meant to race along can crawl. Twenty milliseconds is the shortest delay that reliably plays fast, and the GIF maker never writes anything shorter. To retime a GIF you have already made, use the GIF speed changer, which changes only the delays, not the pictures.

Dimensions and number of frames

File size grows with the area of each frame and with the number of frames. Width is the setting people most often get wrong: a GIF shown in a chat bubble or a blog column rarely appears wider than 480 pixels, so anything larger is weight nobody sees. The number of frames is length multiplied by frame rate, so 4 seconds at 15 fps is already 60 frames. The GIF maker holds up to 150.

Colors: the 256-color limit and dithering

Each GIF frame can use at most 256 colors, chosen for that frame. That is plenty for screenshots, cartoons and logos, but a photo has thousands of shades, so skies, skin and shadows get squeezed into steps called banding. Dithering hides the steps by scattering dots of neighboring colors, which looks smoother and makes the file larger, because the noise compresses badly.

Use fewer colors (64 or 128) for flat artwork and screen recordings, where they are rarely missed. Keep 255 and try dithering only when a photo shows visible bands.

Looping

A GIF can loop forever, play once, or repeat a set number of times. Forever is what people expect in a chat or on a web page. Play once suits a reveal that should stop on its last frame, such as an animation inside a slide. For a smooth loop from a clip that jumps at the end, use “play forwards, then backwards”, the same idea as the iPhone’s Bounce.

What makes a GIF file big: a size test

To see which settings matter most, we made the same 3-second clip with this site’s GIF encoder, changing one setting at a time. One version is a slow camera pan across a detailed landscape, so every pixel changes in every frame, like most phone footage. The other holds the same picture still with one small object moving across it, which is what screen recordings and tripod shots look like.

Settings (3 seconds)Camera panStill shot, one moving object
480 px, 10 fps, 255 colors2.1 MB42 KB
480 px, 10 fps, 128 colors1.7 MB37 KB
480 px, 10 fps, 64 colors1.3 MB28 KB
480 px, 10 fps, 255 colors, dithered2.6 MB47 KB
320 px, 10 fps, 255 colors1.1 MB23 KB
640 px, 10 fps, 255 colors3.4 MB64 KB
480 px, 5 fps, 255 colors1.0 MB37 KB
480 px, 20 fps, 255 colors4.4 MB46 KB
Same frames as animated WebP420 KB18 KB

Three things stand out. First, content beats settings: the still shot is 50 times smaller than the pan at identical dimensions, because the encoder only stores pixels that change. Second, on footage that moves, frame rate scales the size almost exactly: double the frames, double the file. Third, cutting colors from 255 to 64 saved 38 percent, while dithering added 23 percent. Your own numbers will differ with the footage, but the order of these levers holds.

How to make a GIF smaller

Work down this list in order and stop once the GIF fits. The first steps save the most and cost the least quality.

  1. Trim the clip. Cut slow starts and endings; every second you remove is a second you do not store.
  2. Lower the frame rate. Going from 20 to 10 frames per second roughly halves a moving clip.
  3. Crop to the action. Less moving background means fewer changed pixels per frame, which was the biggest factor in the size test.
  4. Reduce the width. 480 pixels is enough for most places a GIF is shown; 320 for chat.
  5. Use fewer colors, and switch dithering off unless the GIF shows banding.
  6. Compress what is left. The GIF compressor can fit a finished GIF to a target size such as 256 KB or 5 MB, trading a little detail for a much smaller file.

If the GIF is still too large after all that, the honest answer is that GIF is the wrong format for this clip. A short MP4 or WebP keeps far more quality at a fraction of the size, as the comparison below shows. For still images that are too heavy, the guide on reducing image size without losing quality covers JPG, PNG and WebP.

Transparent GIFs: how they work and how to make one

A GIF can mark one color in each frame’s palette as transparent. A pixel is either fully see-through or fully solid; there is nothing in between. That works well for stickers, icons and cut-outs with crisp edges, and it is why soft edges look rough.

Smooth edges in a photo or a PNG are built from half-transparent pixels that blend into whatever is behind them. A GIF has to round each of those to solid or clear, so curves look stepped, and the solid ones keep the color of the background they were cut from. That is the white or dark halo you see when a GIF made on white is placed on a dark page.

The same cartoon star on a transparent background twice: on the left with smooth edges, on the right saved as a GIF with stepped, pixelated edges, shown up close under a magnifying glass.
Left: the soft edge of a PNG cut-out. Right: the same star as a GIF, where every edge pixel is either fully solid or fully clear.
  • To make a transparent GIF from pictures, start from PNG cut-outs and choose Transparent as the GIF maker’s background.
  • To make an existing animation transparent, use the GIF background remover, which clears the background frame by frame and can also fill it with a new color.
  • To avoid halos, cut the image out against a color close to the page it will sit on, or keep shapes crisp and skip soft shadows.

For still images with transparent backgrounds, and why PNG handles soft edges better than GIF, see the guide to transparent backgrounds.

GIF vs MP4 vs animated WebP

GIF dates from 1987 and its animation and transparency from 1989. It survives because it plays everywhere without a play button. The newer formats are smaller and look better, but neither is accepted everywhere a GIF is.

GIFMP4 videoAnimated WebP
ColorsUp to 256 per frameMillionsMillions
TransparencyOn or off per pixelNoSmooth, with soft edges
SoundNoYesNo
Size in our test2.1 MB184 KB420 KB
Plays without a clickEverywhereOnly when the page or app autoplays itModern browsers and many apps
Accepted by upload forms and emojiAlmost alwaysRarelySometimes

Choose GIF for chats, emoji, email and anywhere that asks for one. Choose MP4 for anything longer than a few seconds, anything with sound, and for social networks, many of which turn uploaded GIFs into video anyway. To switch a finished GIF, the GIF to MP4 converter keeps the exact frame timing; it turned our 2.1 MB test GIF into a 184 KB MP4. Choose animated WebP for your own website when you need transparency or a smaller file. The image formats guide covers WebP in more depth.

Common GIF problems and how to fix them

ProblemUsual causeFix
File is too large to upload or sendToo many frames, too wide, or a moving cameraTrim, lower the frame rate and width, then compress
Playback looks choppyToo few frames per second for the amount of motionRebuild at 12 to 15 fps from the original clip
Plays far too slowlyFrame delays below 20 ms, which browsers slow downSet every frame to 20 ms or more
Bands of color in skies or skinThe 256-color limitKeep 255 colors and turn on dithering
Only the first frame showsThe app shows a still preview, or some Outlook versions for Windows, which show only the first frameMake the first frame meaningful on its own
Uploaded GIF arrives as a videoThe platform converts GIFs to MP4Nothing to fix, it still loops. Share it as a file attachment if the recipient needs the .gif itself
White or black edges on a transparent GIFHalf-transparent edge pixels rounded to solidCut out against the page’s background color, or remove the background again
Need one still picture from a GIFGIF frames are not separate filesSplit the GIF into frames and save the one you want as PNG or JPG

Frequently asked questions

Can I make a GIF for free without a watermark?
Yes. The GIF maker on this site is free, adds no watermark and needs no account. Phone tools such as Samsung Gallery and iPhone Live Photo effects are also free, but give you less control over size and speed.
How long can a GIF be?
The format has no time limit, but size grows with every frame, so most GIFs are 2 to 6 seconds. Anything longer than about 10 seconds is usually better as an MP4. The GIF maker on this site holds up to 150 frames, which is 15 seconds at 10 frames per second.
What is the best frame rate for a GIF?
Ten frames per second (a 100 ms delay) suits most clips. Use 15 to 25 for fast motion, 8 to 12 for screen recordings, and 1 to 2 for a photo slideshow. Avoid delays under 20 ms, which browsers slow down.
How do I make a GIF transparent?
Start from pictures with a transparent background, such as PNG cut-outs, and choose a transparent background when you make the GIF. For a GIF that already exists, a GIF background remover clears the background frame by frame. Edges will be crisp rather than soft, because GIF pixels are either fully transparent or fully solid.
Why is my GIF file so big?
GIF stores every frame as a picture, so size grows with the number of frames, the width and the amount of motion. A moving camera is the biggest cause. Trim the clip, lower the frame rate, reduce the width to 480 pixels, and compress what is left.
Can a GIF have sound?
No. GIF is an image format and cannot carry audio. If the sound matters, make a short MP4 video instead.
How do I make a GIF on my iPhone?
For a quick loop, open a Live Photo, tap the Live button and choose Loop or Bounce. For a real .gif file with your own speed and size, open a browser GIF maker in Safari and choose a video or photos from your library.

About the author

Abdul Basit

Abdul Basit is an independent full-stack web developer based in Pakistan and a co-founder of Onyxstack. He builds and runs QuickImageFix and writes its guides to image compression, resizing, format conversion and PDF tasks.

How we protect your images

Your files stay under your control, from choosing an image to saving the result.

Processing in your browser
Images and PDFs are processed on your device. Background removal and text recognition also run locally; these tools may download processing files before they start.
No server copies to delete
We do not upload or store your images on our servers, so there is no server deletion timer. Reset the tool or close the tab to end your session. Originals and downloaded results stay on your device until you delete them.
Controlled file access
The tools work with files you choose in your browser. They do not create public image links or overwrite your original file. Preview and download links are created locally for your session.

Your browser may keep processing models, OCR language data and the snake high score. These do not contain the files you process. Clear this site’s browser data to remove them; downloaded files are managed separately.

Read the full privacy policy

Free, in your browser, and nothing is uploaded.