Crop GIF Online — Free, No Upload Required

Select a rectangular region and crop every frame of your GIF animation. All processing in your browser — no files leave your device.

Drop a file here

or click to browse · GIF files up to 50 MB

Paste from clipboard also works

Processed in your browser. No data leaves your device.

How to Crop a GIF

  1. Drop a GIF file onto the tool above, or click to browse your files. The tool reads the file dimensions and frame count automatically.
  2. Set the crop region by entering X offset, Y offset, width, and height values. The X and Y values define the top-left corner of the crop rectangle. Width and height define the size of the cropped area.
  3. Adjust quality settings if needed. The default Balanced tier uses CIELAB perceptual color quantization for accurate color reproduction in the cropped output.
  4. Click Crop. The tool decodes every frame, extracts the specified region from each frame, re-quantizes colors, and encodes the output GIF.
  5. Download the cropped GIF. The output panel displays the new dimensions, file size comparison, and quality metrics.

Why Crop GIF Files

Cropping removes unwanted areas from every frame of a GIF animation. Common use cases include removing borders or watermarks, isolating a specific subject within the frame, adjusting the composition for a particular platform, and reducing file size by eliminating unnecessary pixel data.

Unlike static image cropping, GIF cropping must process every frame in the animation. A 100-frame GIF requires 100 individual crop operations, followed by color re-quantization and re-encoding. This tool handles the entire pipeline in your browser using Web Workers, so the main thread remains responsive during processing.

GIF Crop Coordinates

Understanding X, Y, Width, and Height

The crop region is defined by four values. The X offset specifies the horizontal distance from the left edge of the original GIF to the left edge of the crop rectangle, measured in pixels. The Y offset specifies the vertical distance from the top edge. Width and height define the dimensions of the rectangular region to extract.

For example, to crop a 640×480 GIF to its center 320×240 region, set X to 160, Y to 120, width to 320, and height to 240. The crop region must fit entirely within the original dimensions — the tool enforces this constraint by limiting input values based on the source GIF size.

Crop and File Size

Cropping reduces file size proportionally to the reduction in pixel count. Removing half the width and half the height reduces pixel data by 75% per frame. The actual file size reduction depends on the content within the cropped region — areas with fewer unique colors compress more efficiently under LZW encoding.

For maximum file size reduction, combine cropping with compression. Crop the GIF to your target region first, then use the GIF Compressor to further reduce the color palette and optimize frames.

Cropping for Social Media Platforms

Different platforms display GIFs at different aspect ratios and dimensions. Cropping to the correct proportions before uploading ensures your GIF displays as intended without platform-side resizing artifacts.

  • Twitter/X: GIFs display at up to 1280×1080 pixels. Landscape (16:9) and square (1:1) aspect ratios display well in the timeline.
  • Discord: No specific aspect ratio requirement. GIFs display inline at their native dimensions up to the chat container width.
  • Slack: GIFs display at their native aspect ratio within the message container. Recommended maximum width is 360px for inline display.
  • Reddit: GIFs display at their native aspect ratio. Landscape orientation is preferred for desktop viewing.
  • Email: Most email clients constrain images to 600px width. Crop to a landscape or square aspect ratio for consistent display across clients.

Technical Details

The crop operation processes each frame independently. For every frame in the source GIF, the tool extracts the RGBA pixel data for the specified rectangular region, applies color quantization to generate a palette of up to 256 colors, optionally applies Floyd-Steinberg dithering for smoother gradients, and encodes the frame using LZW compression.

Frame optimization identifies unchanged regions between consecutive cropped frames and encodes only the pixels that differ. This is particularly effective when the cropped region contains areas of static content — such as a background that remains constant while a subject moves.

The tool preserves the original frame delays and loop count. If the source GIF loops infinitely, the cropped output also loops infinitely. Disposal methods are recalculated for the cropped frame dimensions to ensure correct animation rendering.

Frequently Asked Questions

GIF cropping decodes every frame of the animation, extracts the specified rectangular region from each frame, re-quantizes the colors for the cropped area, and encodes the result as a new GIF. All frames are cropped to the same region, preserving animation timing and loop behavior.

Yes. Cropping reduces the pixel count per frame. A GIF cropped from 640×480 to 320×240 contains one quarter of the original pixel data per frame, which typically results in a 50-75% file size reduction depending on content complexity and color distribution in the cropped region.

Yes. This tool crops every frame in the animation. Frame count, frame delays, and loop count are preserved. Only the spatial region changes — the temporal structure of the animation remains intact.

This tool accepts GIF files up to 50 MB with up to 1000 frames. Processing occurs entirely in your browser using Web Workers, so performance depends on your device capabilities.

No. All processing occurs in your browser. Your files are never transmitted to any server. The crop operation runs in a Web Worker thread. You can verify this by disconnecting from the internet — the tool continues to work.

This tool uses pixel-based crop coordinates (X, Y, width, height). To crop to a specific aspect ratio, calculate the width and height values that match your target ratio. For example, a 16:9 crop at 320px wide would use a height of 180px.

Related GIF Tools