# GIF hosting by Sirv. Resize, Crop and Compress GIFs Effortlessly

![Multicolored circles - example animated GIF](https://sirv.sirv.com/website/HELLO.gif?h=200)

Sirv can host your existing animated GIFs and optimize them for fast delivery. Upload the original GIF once, then resize it with **w** or **h** in the URL and reduce the file size with **gif.lossy**.

Using an AI coding agent?

Install the [`sirv-dynamic-imaging`](https://www.skills.sh/sirv/image-optimization-skill/sirv-dynamic-imaging) skill, and your agent can build these image URLs for you. Ask in plain words, such as “Serve our product photos as 800px WebP.” [See all 8 skills](/help/rest-api/sirv-skills-for-ai-agents/)

Use Sirv GIF hosting to:

-   Publish an animated GIF from a fast CDN.
-   Resize a GIF for a blog, article, email or social preview.
-   Reduce GIF file size with lossy compression.
-   Serve WebP automatically to browsers that support it.

To create a GIF from a [360 spin](/help/spin/getting-started/how-spin-files-are-created/), see [animated GIFs from spins](/help/spin/export-publishing/animated-gifs/). For social media posts, [MP4 video is often more reliable](/help/video-streaming/embed-gifs-videos-social-media/) than GIF.

### Upload GIFs

Upload your GIFs to [your Sirv account](https://app.sirv.com/assets/library) directly or via [FTP / S3](/help/file-upload/upload-images/). If you don’t have an account yet, [create your account now](https://app.sirv.com/signup).

### Scale

Resize a GIF simply by adding the new width or height to the URL. Add **w** (width) and/or **h** (height) to the end of the URL to immediately resize the GIF.

This GIF has been resized to 300px width:

`https://demo.sirv.com/example.gif?w=300`

![GIF resized to 300px width](https://demo.sirv.com/example.gif?w=300)

This GIF has been resized to 175px height:

`https://demo.sirv.com/example.gif?h=175`

![GIF resized to 175px height](https://demo.sirv.com/example.gif?h=175)

### Crop

Crop a GIF by applying **ch** (crop height) or/and **cw** (crop width) to the URL. The crop location can be adjusted with **cx** and **cy**. Refer to the [crop documentation](/help/dynamic-imaging/transformations/crop/) for all options.

This GIF has been resized to 300px width and 100px height:

`https://demo.sirv.com/example.gif?w=300&ch=100&cy=center`

![Cropped GIF to 100px height](https://demo.sirv.com/example.gif?w=300&ch=100&cy=center)

### Lossy compression

Control the quality and file size of your GIF with lossy compression. Sirv applies 5% compression by default, to reduce the file size while maintaining good clarity.

Set the **gif.lossy** option to increase compression up to **100** (smallest file size) or **0** (highest quality). This example applies 80% compression:

`https://demo.sirv.com/example.gif?gif.lossy=80`

10% Compression

![Animated GIF with 10% lossy compression](https://demo.sirv.com/drill/drill.spin?image&h=250&gif.lossy=10)

GIF: 546 KB WebP: 102 KB

40% Compression

![Animated GIF with 40% lossy compression](https://demo.sirv.com/drill/drill.spin?image&h=250&gif.lossy=40)

GIF: 437 KB WebP: 102 KB

80% Compression

![Animated GIF with 80% lossy compression](https://demo.sirv.com/drill/drill.spin?image&h=250&gif.lossy=80)

GIF: 384 KB WebP: 102 KB

GIFs are served as animated WebP to browsers that support it.

In these examples the WebP is 73 to 81% smaller than the GIF (measured 19 Nov 2026), and the quality is better.

**gif.lossy** only changes files served as GIF, so the WebP stays the same size at every setting.

See [GIF format](/help/dynamic-imaging/format-quality/gif/) for more on GIF delivery.

### When should I use a video instead of a GIF?

-   Use video for long animations, large sizes or smooth motion. An MP4 is often a fraction of the size of the same GIF.
-   Resize GIFs to the size they show on the page. Don’t serve a huge GIF into a small slot.
-   Use **gif.lossy** carefully. Higher values make smaller files but can add visible artifacts.
-   Keep the original GIF in Sirv, so you can make smaller versions without editing it again.
-   Add useful [alt text](/help/image-management/add-alt-tags-images-automatically-ai/) when you embed a GIF as an image.

[Sign up with Sirv](https://app.sirv.com/signup) and start serving lightweight GIFs today.
