Crop animated GIFs in your browser: draggable overlay on the first frame, aspect presets (free, 1:1, 4:3, 16:9, 9:16), same crop on every frame, before/after dimensions & preview—gifuct-js + Canvas + gif.js (GIF-006).
One file · up to 50.00 MB · all processing stays in your browser (GIF-006)
Crop on first frame
Load a GIF to position the crop overlay. The same rectangle is applied to every frame.
Aspect & output
Load a GIF for dimensions and export.
Preview
Original animation
No file loaded
Cropped animation
Load a GIF to begin.
About this tool
Animated GIFs rarely arrive perfectly framed. Screen captures include browser chrome, meme templates ship with watermark gutters, and chat exports pad the canvas so a reaction fits a generic aspect ratio. Cropping is the fastest way to focus attention on the subject, remove distracting borders, or meet strict upload dimensions—without converting to video or sacrificing the lightweight loop format teams still prefer in Slack threads, documentation, and email. SynthQuery’s GIF Cropper is built for that reframing pass entirely in your browser: you load a true .gif file, align a draggable rectangle on the first composited frame, optionally lock the box to common aspect ratios (square, 4:3, 16:9, vertical 9:16), and apply the exact same pixel rectangle to every frame so motion stays registered. Delays and Netscape loop metadata are preserved through re-encode, and previews show the full original animation beside the cropped output so you can validate timing and framing before download.
Privacy-sensitive workflows stay local. Decoding uses the same disposal-aware compositing path as our GIF Speed Changer and Resizer utilities (gifuct-js), raster extraction uses the Canvas 2D API, and encoding uses gif.js workers so phones and laptops remain responsive. Nothing uploads to SynthQuery for the operation—ideal when loops contain unreleased UI, customer screenshots, or proprietary motion studies. The interface is touch-friendly: drag inside the crop to pan the region, drag corners to resize, and switch aspect presets when you need Instagram-style squares or YouTube-style widescreen framing without mental math.
What this tool does
The hero experience is intentionally focused on one animation at a time with a fifty-megabyte cap and the same two-hundred-fifty-frame guard as our other GIF editors, keeping memory predictable when each composited frame is a full logical-screen buffer. After decode, the first frame renders to a canvas element so the crop overlay aligns with real pixels rather than a scaled animated img element that might drift between frames. A dimmed full-canvas scrim outside the crop rectangle mirrors desktop creative tools, while the bright interior shows exactly what will be exported. Aspect presets instantly replace the crop with the largest centered rectangle that fits your GIF at the chosen ratio; “Free” returns independent width and height control so you can trim uneven borders or letterboxing manually.
The output card lists source dimensions, cropped dimensions, frame count, loop behavior, original byte size, and freshly encoded byte size so you can compare footprint changes after palette reduction. “Apply crop & preview” recomposites and re-encodes every frame, then animates the result beside your untouched upload. Accessibility is handled through labeled handles, keyboard-focusable upload controls, descriptive preview alt text, and plain-language errors when parsers reject a corrupt file. Core Web Vitals stay healthy because heavy work runs once per file, object URLs revoke on clear, and previews avoid layout-breaking intrinsic-size hacks by using max-height constraints with object-contain behavior on the comparison column.
Technical details
GIF stores each frame as an image descriptor positioned on a logical screen with optional transparency and a disposal method (none, restore background, restore previous). SynthQuery recomposites every frame into a full RGBA bitmap matching browser output, then samples a single axis-aligned rectangle expressed in source pixel coordinates. Those coordinates map identically across the sequence because the logical screen dimensions are constant for the file—patches that animate only part of the canvas still live inside the same coordinate system once flattened. Cropping uses Canvas getImageData on the rectangle for each frame, producing a new sequence whose width and height equal the crop size. Re-encoding runs through gif.js with NeuQuant-style palette selection, so gradients may show mild banding even though geometry is exact—an inherent trade-off of GIF rewriting unless you stay in lossless PNG per-frame workflows.
Timing metadata comes from Graphic Control Extension delay fields normalized to milliseconds; loop count follows the Netscape application extension and passes through unchanged. Browsers may enforce minimum per-frame delays for safety; SynthQuery clamps delays using the same bounds as our speed editor. Extremely wide outputs can approach Canvas maximum texture limits on older hardware, so unusually large sources may need resizing in GIF Resizer before aggressive crops to tiny canvases.
Use cases
Community managers often inherit GIFs exported from screen recorders with macOS menu bars or Windows taskbars baked in; a quick crop removes chrome so Discord and Slack thumbnails highlight the punchline. Documentation authors embed loops inside Markdown or Notion pages—tight crops reduce visual noise around terminal panes and keep line length readable on mobile. Marketers adapting hero assets between landscape blog embeds and vertical Stories can start from one master GIF, crop to 9:16 for mobile-first surfaces, then run the result through GIF Resizer if pixel limits still bite.
E-commerce teams sometimes capture product rotations from design tools that export extra canvas padding; cropping before optimization avoids wasting palette entries on empty transparency. Educators building slide decks may crop classroom recordings to the whiteboard region while leaving timing intact for narration sync. Researchers comparing UI experiments crop to the component under study so reviewers are not distracted by surrounding chrome. Meme editors use free-form crops to strip attribution bars when license and ethics allow, or to reframe reaction clips for platforms that enforce minimum subject size in feeds. In each scenario the goal is the same: reframe motion without learning desktop suite shortcuts or uploading sensitive frames to an opaque hosted editor.
How SynthQuery compares
SynthQuery targets people who want frame-accurate rectangular crops, visible animation previews, and zero server upload. General-purpose hosted GIF suites bundle crop with dozens of other filters, which is convenient when you already trust their infrastructure. Desktop editors like Photoshop offer non-destructive timelines and vector masks at the cost of license fees and export dialogs. The table below contrasts typical considerations; pick based on whether privacy, speed, or deep compositing matters most for this asset.
Aspect
SynthQuery
Typical alternatives
Privacy
Decode, crop, and encode run entirely in your browser; GIF bytes are not uploaded to SynthQuery for cropping.
Many hosted GIF editors upload files to remote workers, which can conflict with NDAs or regulated data.
Animation fidelity
Applies one crop rectangle to every composited frame; preserves delays and loop metadata from the source.
Some lightweight tools crop only the first frame preview while exporting incorrect offsets for later frames.
Aspect workflows
One-tap presets for 1:1, 4:3, 16:9, and 9:16 plus free-form corners for uneven borders.
Photoshop requires manual aspect-ratio options per document; hosted tools vary in preset quality.
Cost & access
Free, no account, works anywhere modern browsers run Web Workers and Canvas 2D contexts.
Creative Cloud subscriptions and enterprise SSO gates can slow down quick crop tasks.
How to use this tool effectively
Start with the GIF you intend to ship—cropping cannot invent pixels outside the original canvas, so capture or export with enough headroom before trimming. Open synthquery.com/gif-cropper in a current Chrome, Edge, Firefox, or Safari build so OffscreenCanvas-adjacent APIs behave consistently. Drag the file onto the dashed upload region or activate the hidden file input via keyboard; only GIF MIME types and .gif extensions are accepted, and oversize files show a readable error with the fifty-megabyte limit spelled out.
Wait for the decode spinner to finish. When the first frame appears under the overlay, drag inside the highlighted rectangle to reposition it without resizing—helpful when a preset centered the box but your subject sits slightly off-axis. Drag the corner handles: in Free mode all four corners are active; when a ratio preset is selected, use the northwest or southeast handle so width and height stay coupled mathematically. Watch the “Source” and “Cropped” readouts to confirm pixel dimensions against your destination spec—Instagram profile crops, Slack inline limits, and CMS embed boxes all map cleanly to integers here.
Compare the animated original and cropped panels mentally for timing; cropping does not alter delays, but you should still verify that important motion stays inside the new bounds across the whole loop, not only frame zero. When satisfied, press “Apply crop & preview” to rebuild every frame, then download the “-cropped.gif” filename when the preview matches intent. If you still need different pixel counts afterward, open GIF Resizer; if pacing feels rushed, visit GIF Speed Changer; if you must extract stills, use GIF to PNG.
Limitations and best practices
This tool performs axis-aligned rectangular crops only—no rounded masks, tilted horizons, or feathered vignettes inside the GIF path (see Circle Crop or Round Corners for still images). Frame count and byte caps exist to protect memory on low-power devices; split huge animations externally first. GIF palettes cannot exceed two hundred fifty-six colors per frame, so photorealistic loops may band after re-encode even when crop geometry is perfect. Always keep an archival master (PNG sequence, WebP, or source video) and treat cropped GIFs as delivery derivatives. Test autoplay and loop behavior in the final CMS or chat client because downstream platforms sometimes recompress or ignore loop extensions.
Export composited frames as lossless PNG when you need pixel-perfect editing outside the GIF container.
Frequently asked questions
No. SynthQuery copies per-frame delay values from the Graphic Control Extension and preserves Netscape loop counts. Playback should feel identical aside from the smaller field of view. If a destination platform re-times GIFs independently, validate there after upload.
The first composited frame is a fast visual reference that matches the pixel grid of every subsequent frame in a typical GIF. The same numeric crop rectangle—origin x/y plus width/height in source pixels—is applied programmatically to each frame after compositing, so motion stays aligned even when later frames are partial patches.
Byte size may shrink because fewer pixels often simplify palette statistics, or it may grow slightly if dithering patterns change during gif.js quantization. The UI shows original versus output size after preview so you can compare empirically rather than guessing from area ratios alone.
This release optimizes for direct manipulation with draggable handles and aspect presets. If you need exact numeric crops on stills, pair GIF-to-PNG with our photo crop utilities, then rebuild a GIF in GIF from Photos; for animated workflows we recommend staying inside the interactive overlay for speed.
Frames are fully recomposited with disposal rules before cropping, matching what viewers render. Transparent pixels remain transparent inside the crop box; cropped-out regions are discarded. Complex transparency stacks should be previewed carefully to ensure halos do not appear after palette reduction.
Yes. The decoder enforces the same two-hundred-fifty-frame cap as our other GIF editors to keep memory stable on phones and shared laptops. Split very long captures with external tools or export shorter segments before cropping here.
No. Parsing, compositing, cropping, encoding, and preview generation use local browser APIs and bundled libraries. Bytes remain on your device unless you download or share the result yourself.
Choose Free mode and drag any corner independently to create arbitrary rectangles, subject to minimum edge limits and the image boundary. Presets are shortcuts for the ratios social teams request most often; they are not exclusive modes.
Both outputs use the same cropped frame sequence; the preview animates the freshly encoded blob URL. If you see differences versus another viewer, that viewer may apply its own dithering, color profiles, or zoom filtering—test in the final channel when fidelity is critical.
Corner handles are sized for touch targets and pointer capture keeps drags smooth even when your finger moves slightly off the control. For sub-pixel precision, use a stylus or desktop browser; zooming the page can also help on small screens.