Edit your GIF animations with the GIF in a Rectangle Fitter. Upload a GIF, apply your changes, and download the result. All processing runs entirely in your browser — your files are never uploaded to any server.
Drop a GIF here or click to upload
Supports animated and static GIF files
About
Need your GIF to fit neatly into a box of a certain size? This tool scales and positions your animation to fit within any rectangular dimensions you specify, with options for how to handle the extra space. It is the simplest way to prepare a GIF for a banner slot, a sidebar widget, or any fixed-size container on a website.
Features
Multiple fit modes: contain (fit inside), cover (fill and crop), or stretch
Custom background color or transparency for letterboxed areas
Aspect ratio is preserved in contain and cover modes — no accidental distortion
Handles any input GIF size and scales it to your exact target dimensions
Guide
Upload the GIF you want to fit into a specific size
Enter the target rectangle dimensions — width and height in pixels
Choose the fit mode: stretch to fill, fit inside with padding, or cover and crop
Preview the result and download when it matches what you need
Pro Tips
Contain mode is safest — it fits the entire GIF inside the rectangle without cutting anything off
Cover mode fills the entire rectangle but may crop edges — check the preview carefully
If you are preparing GIFs for a grid layout, use the same target dimensions for all of them for a uniform look
FAQ
Upload your GIF and configure the settings. The tool processes everything in your browser using JavaScript, so your files stay private and the result is ready to download instantly.
Yes. All processing happens locally in your browser. Your GIF files are never sent to any server, ensuring complete privacy.
There is no hard limit. Processing speed depends on your device — most modern browsers handle GIFs up to 30–50 MB without issues.
Related
Upload your GIF above and get started. It takes seconds, costs nothing, and your file never leaves your browser.