Back to Blog
Guide

How to Make an Emoji From a Video (Slack and Discord)

To turn a video into an emoji, cut 1 to 3 seconds, crop it to a square, scale it to 128 x 128 and save it as a GIF under 128 KB for Slack or 256 KB for Discord. One tested ffmpeg command, a script that finds the frame rate and colors that fit, and a free browser tool that shrinks the GIF for you.

Slack Green Team
September 28, 2026
November 4, 2026
6 min read
Share:
emoji
slack
discord

To turn a video into an emoji, cut the clip to 1 to 3 seconds, crop it to a square, scale it to 128 x 128 pixels, and save it as an animated GIF. Emoji do not accept video files, so the GIF is the step that matters. Slack takes emoji up to 128 KB and 50 frames; Discord takes up to 256 KB. Frame rate and color count decide whether you fit: on our test clip, 2 seconds at 30 frames per second came out at 566 KB, and the same 2 seconds at 10 frames per second with 32 colors came out at 119 KB, under both limits.

You can do it with one ffmpeg command, below, or convert the clip to a GIF with any video-to-GIF tool and then drop the GIF into our free emoji resizer. The resizer keeps the animation, cuts frames and colors until the file is under 128 KB, and runs in your browser.

We ran every command on this page with ffmpeg 8.1.1 on 28 September 2026, and the settings script below with ffmpeg 8.0.1 on 4 November 2026.

Why an emoji from a video has to be a GIF

Slack accepts JPG, PNG and GIF for custom emoji. Discord accepts JPEG, PNG, GIF and WEBP. Neither takes MP4 or MOV, so a video emoji is a short looping GIF made from the video's frames.

Frames from a test emoji made from a video: a 2 second clip at 12 fps, 128 x 128

The limits that matter:

SlackDiscord
File sizeUnder 128 KBUnder 256 KB
Frames50 in Slack's help; a 150-frame GIF passed our September 30 upload testNo frame limit in Discord's help
ShapeSquareSquare works best
NameLetters, numbers, hyphens, underscoresLetters, numbers, underscores

At 128 x 128, each frame of a busy clip costs several kilobytes, so the frame count sets the size. Fifty frames is 5 seconds at 10 frames per second, or about 1.7 seconds at 30.

Make an emoji from a video with ffmpeg

ffmpeg is free on Mac, Windows and Linux (on a Mac: brew install ffmpeg). This command takes 2 seconds starting at 0:01, crops the middle square, scales it to 128 x 128, and builds a GIF with a 32-color palette at 10 frames per second:

# 2 seconds from 0:01, square crop, 128 px, 10 fps, 32 colors
ffmpeg -ss 1 -t 2 -i clip.mp4 -vf "fps=10,crop=ih:ih,scale=128:128:flags=lanczos,split[a][b];[a]palettegen=max_colors=32[p];[b][p]paletteuse" emoji.gif

What each part does:

  • • -ss 1 -t 2 starts at 1 second and keeps 2 seconds. Change these to pick your moment.
  • • crop=ih:ih cuts a square as tall as the video from the center. For a vertical phone video use crop=iw:iw.
  • • scale=128:128 sets the emoji size.
  • • palettegen and paletteuse build a palette from the clip itself, which looks far better than GIF's default colors. max_colors=32 keeps the file small.
  • Check the result before you upload:

    ls -lh emoji.gif          # must be under 128K for Slack, 256K for Discord
    ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of csv=p=0 emoji.gif   # frame count, 50 or fewer for Slack

    Let a script find the settings

    Guessing the frame rate and color count takes several tries. This script tries the settings from best-looking to smallest and stops at the first GIF that fits Slack, so you get the best emoji that is still under 128 KB and 50 frames:

    #!/bin/sh
    # fit-emoji.sh: turn a video clip into a Slack emoji GIF under 128 KB.
    # Usage: ./fit-emoji.sh clip.mp4 START SECONDS [top]
    in="$1"; ss="${2:-0}"; t="${3:-2}"
    sq="crop=min(iw\,ih):min(iw\,ih)"            # middle square
    [ "$4" = top ] && sq="crop=iw:iw:0:0"            # vertical phone video: top square
    for try in "12 64 128" "10 48 128" "10 32 128" "8 32 128" "8 16 128" "8 16 96"; do
      set -- $try; fps=$1; colors=$2; px=$3
      ffmpeg -v error -y -ss "$ss" -t "$t" -i "$in" -vf "fps=$fps,$sq,scale=$px:$px:flags=lanczos,split[a][b];[a]palettegen=max_colors=$colors:stats_mode=diff[p];[b][p]paletteuse=dither=bayer:bayer_scale=4:diff_mode=rectangle" -loop 0 emoji.gif
      bytes=$(wc -c < emoji.gif | tr -d ' ')
      frames=$(ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of csv=p=0 emoji.gif)
      echo "fps=$fps colors=$colors ${px}px -> $bytes bytes, $frames frames"
      if [ "$bytes" -le 128000 ] && [ "$frames" -le 50 ]; then echo "fits Slack: emoji.gif"; exit 0; fi
    done
    echo "still too big: use a shorter clip"; exit 1

    Save it as fit-emoji.sh, run chmod +x fit-emoji.sh once, then give it the video, the start second and the length. We ran it on November 4, 2026 on the 1280 x 720, 30 fps Big Buck Bunny sample (Blender Foundation, CC BY 3.0):

    $ ./fit-emoji.sh bbb.mp4 3 2
    fps=12 colors=64 128px -> 127824 bytes, 24 frames
    fits Slack: emoji.gif
    
    $ ./fit-emoji.sh bbb.mp4 6 3
    fps=12 colors=64 128px -> 199050 bytes, 36 frames
    fps=10 colors=48 128px -> 170967 bytes, 30 frames
    fps=10 colors=32 128px -> 143094 bytes, 30 frames
    fps=8 colors=32 128px -> 127007 bytes, 24 frames
    fits Slack: emoji.gif

    Two seconds fit at the first try, with 64 colors at 12 frames per second. Three seconds of the same film needed four tries and came out at 8 frames per second with 32 colors. A film scene with a still background packs far better than our fractal test clip in the table below, where every pixel changes in every frame. The stats_mode=diff option builds the palette from the moving parts, so those get the colors.

    A 1280 x 720 video frame and the 128 x 128 emoji made from it, 8 of its 24 frames shown: 8 fps, 32 colors, 127,007 bytes

    This is the finished 3-second GIF from the second run:

    The finished video emoji: a 128 x 128 animated GIF of 3 seconds of Big Buck Bunny, 127,007 bytes

    We uploaded both GIFs to Slack

    On October 4, 2026 we rebuilt the 10 fps and 30 fps GIFs from the same test clip with ffmpeg 8.1.1 and uploaded them to our own Slack workspace through the emoji.add call the Add Emoji dialog uses:

    emoji10.gif   120,844 bytes, 20 frames   -> ok, stored as a 128 x 128 GIF, 120,833 bytes, 20 frames
    emoji30.gif   588,209 bytes, 60 frames   -> resized_but_still_too_large

    The 10 fps version went in unchanged, frame for frame. The 30 fps version was refused with resized_but_still_too_large, which the dialog shows as "This image is a bit too big, even after resizing". So the 128 KB limit is checked after Slack's own resize, and frames and colors are what you cut to get under it. We deleted the test emoji afterwards.

Never appear "away" on Slack again

Cloud-based. No downloads. Works 24/7 even when your laptop is off.

Frame rate and colors decide the file size

We made the same 2 seconds of a 1280 x 720 test video into a 128 x 128 GIF three ways:

SettingFramesFile sizeFits SlackFits Discord
30 fps, 256 colors60566.2 KBNoNo
12 fps, 64 colors24174.4 KBNoYes
10 fps, 32 colors20118.6 KBYesYes

The test clip was a fractal zoom with fine detail in every frame, a hard case for GIF. If your file is still too big: shorten the clip first, then drop to 8 frames per second, then 16 colors, then 96 pixels. Emoji show small in chat, so each step is hard to see.

Make it without the command line

  • Turn the clip into a GIF. Any video-to-GIF converter works; on an iPhone, the Shortcuts app has a Make GIF action. Keep it short and square if the tool allows it.
  • Shrink it for emoji. Drop the GIF into our emoji resizer, pick 128 px and Crop to square or Fit whole image, and download.
  • Our emoji resizer on the 30 fps GIF: 566.2 KB and 60 frames in, 104.9 KB and 50 frames out, animation kept

    We gave the resizer the 30 fps file from the table, 60 frames and 566.2 KB. It returned a 64 x 64 GIF with 50 frames and 104.9 KB, under Slack's limits. It cut the frame count to Slack's 50 by spreading the kept frames across the clip, so the loop lasts as long as before. It lowered the size to 64 pixels to get under 128 KB; with a shorter or slower clip it stays at 128.

    To add an effect such as intensifies, spin or party to a still frame, use the emoji maker instead.

    Upload the video emoji

    Slack: click your workspace name, then Customize workspace, then Add custom emoji, and upload the GIF. The steps for desktop and iPhone are in how to add custom emoji to Slack. If Slack says the file is too big, see Slack GIF size limit. If the emoji does not animate after upload, see Slack GIF not playing.

    Discord: open Server Settings, Emoji, Upload Emoji, or use Add Emoji in the emoji picker. Animated emoji slots need Nitro or Nitro Basic on the server. The full steps are in how to make a custom emoji for Discord, and size errors in Discord emoji too big.

    FAQ

    Can I upload an MP4 as an emoji?

    No. Slack and Discord accept image formats only. Convert the MP4 to a GIF first.

    How long can a video emoji be?

    In Slack, 50 frames: 5 seconds at 10 frames per second. In practice the 128 KB size limit usually stops you first, at 1 to 3 seconds.

    Why is my video GIF too big for Slack?

    Too many frames or colors. Lower the frame rate to 10 or 8, cut the colors to 32, shorten the clip, or run it through the emoji resizer.

    How do I make a GIF emoji from a video on my phone?

    Make a GIF from the clip with a GIF app or the iPhone Shortcuts Make GIF action, then open the emoji resizer in your phone browser to shrink it to emoji size.

    Always Active

    Stop Jiggling Your Mouse.

    Join hundreds of remote workers who never worry about their Slack status. Set it up once, stay green forever.

    Related Articles

    Guide

    Upload SVG to Slack: What Works and What Fails (Tested)

    Slack accepts an SVG file but shows it as a plain file card with no preview. We uploaded, pasted and tried one as a custom emoji and a profile photo on 20 November 2026, then converted it to PNG, which worked everywhere.

    Slack Green Team
    Developers

    Slack Emoji Shortcodes to Unicode: Tested Converter

    Slack names its emoji the way the emoji-datasource project does, and rich_text blocks already carry the Unicode code points. We checked both on 18 November 2026 and wrote a 25-line converter for text fields and reactions.

    Slack Green Team
    Guide

    How to Make a Custom Emoji for Discord, With a Free Emoji Maker

    To make a custom Discord emoji, crop an image to a square, keep it under 256 KB, name it with letters, numbers and underscores, and upload it with Add Emoji in the emoji picker or Server Settings, Emoji. How to make one from a photo, a GIF or text for free, add animation, and use it in other servers.

    Slack Green Team