Spacergif.org is a free tool for web designers to generate spacer images. Copy the code below to get a 1×1 pixel transparent .gif image.

<img src="https://img.spacergif.org/spacer.gif" width="1" height="1">

Spacergif.org Image API

Generate custom colors, sizes, opacity, and different file types of spacer images with the Spacergif.org image API. Using the API is as easy as writing an <img> tag. Check out the API Documentation to learn how.

#SpacerStatistics

Since we started keeping track, Spacergif.org has served spacer images— That's about  images every second!

In the time it's taken you to read this page, we've served up spacer images!

More Statistics and Data

What's a spacer.gif?

In the days of HTML-table based web design, a transparent 1×1 pixel gif was often used to hold open empty HTML table cells in a page layout. The image could be resized to any dimensions and invisibly prevent a table cell from collapsing and ruining a layout.

Today, modern CSS relies less and less on these kinds of "design hacks", and allow for more layout possibilities than ever before. But some email clients are stuck in the past and most email designs need to be coded with these ancient HTML-table layout techniques to accommodate them.