GIF Size Checker

This page reports how large an animated GIF is and hands the same file back to you, entirely inside the browser. It does not re-encode, downscale or drop frames: the download is byte-for-byte what you loaded. That is worth saying plainly, because a browser has no built-in GIF encoder — genuinely recompressing an animation in the page needs a WebAssembly build of ffmpeg or a JavaScript GIF library, and neither ships here. What you do get is a fast size check, and an honest guide to the changes that actually take weight off a GIF.

What actually makes a GIF smaller

ChangeWhat it affectsTypical savingWhat you pay
Fewer frames (30 → 12 fps)Frame rate50–60%Motion looks choppier
Smaller canvas (width halved)Area, to a quarter70–75%Soft on high-density screens
Smaller palette (256 → 64 colours)Colour table in every frame20–40%Banding in skies and gradients
Trim static stretchesDurationDepends on the clipNothing, if nothing moves there
Switch to MP4 or WebMCodec80–95%Loses alpha in some players
Switch to WebP or APNGCodec60–90%Patchier support in older apps
Re-encoding the GIFAll of the above, in one pass30–60%Not done here: needs ffmpeg.wasm or a JS encoder

Upload your animated GIF here

File size: -

No re-encoding happens on this page. The download is identical to the file you selected.

Why a browser cannot simply recompress a GIF

Canvas can encode exactly three formats: PNG, JPEG and WebP. GIF is not among them, and there is no browser API that takes decoded frames and writes a GIF back out. Doing it in the page therefore means shipping an encoder, and the two realistic options are heavy in different ways. A WebAssembly build of ffmpeg is around 30 MB, needs cross-origin isolation headers to run its threaded version, and takes seconds to boot even on a fast laptop. A JavaScript GIF encoder is smaller but must re-quantise every frame in a worker, and the output quality depends on how well its palette reduction behaves on your particular artwork.

This page ships neither. Rather than fake the work — for instance by handing back the original file and calling it compressed — it measures the file and tells you what to change. If a real in-browser encoder is added later, this description will be replaced at the same time; a page that claims a feature it does not have is worse than one that admits the gap.

Where the weight of a GIF actually comes from

A GIF is a sequence of images, each with its own colour table of at most 256 entries, optionally storing only the rectangle that changed since the previous frame. That structure explains the size behaviour that surprises people:

A quick diagnostic: a GIF that is heavy but visually simple is usually storing full frames or too many of them; a GIF that is heavy and visually busy is usually fighting the 256-colour limit and would be better as video or WebP.

The order that saves the most for the least damage

Work down this list and stop as soon as the file is small enough, because each step costs quality:

Each of those edits needs an editor that decodes and re-encodes — a desktop tool, an ffmpeg command line, or a dedicated GIF editor. Use this page to establish the baseline size and to decide which lever to pull, then make the change where the encoder actually lives.

Frequently asked questions

No. The file you download is identical to the file you selected; only the reported size is read from it. Encode-free honesty is the point of this page: a browser has no native GIF encoder, so nothing here re-encodes frames.

The address predates the current implementation, which reports size only. Renaming a URL would break existing links and bookmarks, so the page states its real behaviour up front instead of pretending. A real encoder is on the list; until it exists, this is a checker.

Trim the duration, lower the frame rate, shrink the canvas, and only then reduce the palette. For anything longer than a few seconds, converting to MP4 or WebM saves far more than any GIF re-encode can, and short transparent loops are usually smaller as WebP or APNG.

No. The bytes are held in memory, the size is formatted for display, and the download points at the same in-memory copy. Frame count, palette, comments and loop metadata all survive untouched because nothing is decoded.

No. Everything happens in the page's own memory; there is no network request carrying your file. That is also why it works offline once the page has loaded.

The picker filters for GIF extensions, but the script itself does not inspect the contents: any file you force in is measured and handed back unchanged. It is a size readout, not a format checker.