GIF to PNG Crop Converter

Load a GIF, drag the crop handles to define exactly the area you need, preview the result, then download a lossless PNG. Everything runs in your browser — your image never leaves your device.

🖼️

Drop a GIF here

or Browse Files  ·  GIF supported

What This Tool Does

This tool loads a GIF image directly in your browser using URL.createObjectURL and img.decode() for reliable, guaranteed non-blank rendering. It presents an interactive crop overlay with draggable handles, and converts the selected area to a lossless PNG file. No server upload is required. The full workflow — loading, cropping, encoding — runs entirely in client-side JavaScript using the HTML5 Canvas API. The output is a lossless 24-bit RGBA PNG, compatible with web workflows, design applications, modern browsers, and any platform that reads standard PNG files.

Who This Is For

  • Designers who need to extract a specific region from a GIF and preserve it in a lossless, web-ready PNG format
  • Web developers who require PNG assets from legacy GIF sources for modern web projects
  • Anyone needing to upgrade a GIF asset to full-color lossless PNG without the 256-color restriction
  • Users who want to trim and convert a GIF to PNG without installing Photoshop or GIMP

GIF vs PNG: Format Comparison

PropertyGIFPNG
CompressionLossless LZW (indexed color)Lossless (deflate)
Color depth8-bit (256 colors maximum)8, 16, or 24-bit per channel
Transparency support1-bit (on/off only)Yes — full alpha channel
File sizeModerate — limited paletteModerate — full color, efficient compression
Web browser supportUniversalUniversal
Editing/post-productionLimited — 256-color capPreferred — no generational loss
Animation supportYesAPNG (limited support)
Best forSimple animations, legacy webWeb graphics, icons, screenshots, lossless editing

Frequently Asked Questions

What is PNG and why is it preferred for web graphics?
PNG (Portable Network Graphics) stores image data with lossless compression using the deflate algorithm. Unlike GIF, it supports full-color 24-bit imagery with no palette limit, and provides a full 8-bit alpha transparency channel — not just on/off transparency like GIF. PNG is the standard format for web graphics, UI elements, icons, screenshots, and any image that requires sharp edges and lossless quality.
How precise is the crop tool?
The crop operates at native pixel accuracy on the original GIF dimensions. The canvas is scaled to fit your screen for display, but the actual crop coordinates are mapped back to the full-resolution image before the PNG is generated. You get a PNG at the exact pixel dimensions shown in the crop dimensions badge.
Can I move the crop selection after setting it?
Yes — click and drag anywhere inside the crop rectangle (away from the handles) to reposition it anywhere within the image. Handles resize; the interior pans.
Does the output PNG support transparency?
Yes — the output PNG is encoded with an alpha channel, preserving any transparency data decoded from the source GIF. Areas where the GIF used its transparent color index will appear as fully transparent pixels in the PNG output.
What browsers are supported?
All modern browsers — Chrome, Firefox, Edge, Safari (desktop and mobile). The tool uses standard HTML5 Canvas and Blob APIs that have been universally supported since 2015.
Is there a file size limit?
There is no server-imposed limit because no upload occurs. The practical limit is your browser's available RAM. Most modern desktops handle GIF files comfortably. Very large files on memory-constrained mobile devices may be slower to process.