Skip to content
UniKit

GIF resizer

Decode every GIF frame, scale it with area averaging to a target width/height or percentage, requantise and re-encode GIF89a — with before/after size and byte counts.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

The GIF is decoded, scaled and re-encoded locally in your browser and never uploaded.

Pick a GIF file — the size, frame count and duration show up right away.

50%

100% keeps the size; 50% halves both edges.

256

256 keeps the original palette; fewer colours shrink the file but can cause banding.

Size and file-size comparison

Pick a GIF and the before/after size and file size show up here.

What this tool does

  • Shrink an oversized animation: chat apps that cap uploads at 5 MB are the common case — take a 480px-wide GIF down to 320px and the file usually halves.
  • Normalise a batch: push every GIF through the same target width so lists and pages line up.
  • Rough percentage tweaks: drag to 50% or 25% when you do not want to compute pixel values — both edges scale together.
  • Check the result: the original and output byte counts are shown side by side so you can decide whether to drop the colour count too.

Example

Input

An 8 × 8 GIF with 3 frames at 120 ms and an infinite loop, scaled to 50%

Output

Source size: 8 × 8
Source frames: 3
Output size: 4 × 4
Output frames: 3
Width change: -50.0%

This is the real output of the pure logic: every frame is decoded, area-averaged down to 4 × 4, median-cut quantised and written back as GIF89a — frame count and per-frame delay are preserved.

Frequently asked questions

Does resizing drop frames or change the speed?

No. Every frame is decoded and re-encoded, so the frame count and each frame delay are kept exactly. The "Output frames" row lets you verify it.

Why is the output sometimes larger?

The encoder writes full-canvas frames instead of local deltas. A source that relies on local frames and inter-frame deltas can end up bigger after re-encoding. Lower the palette size, or shrink the target size further.

Does it handle animated WebP or APNG?

No. Only GIF87a / GIF89a byte streams are accepted; animated WebP and APNG use different structures and are reported as "not a parseable GIF" rather than silently failing.

Are my files uploaded?

No. Decoding, scaling, quantising and encoding all run in JavaScript inside your browser; the file never leaves your machine.

Keywords:gif-resizeresize gif

Related tools