Placehold

A simple, fast and free image placeholder service.

Placehold

Documentation

How does it work exactly?

Size

The size can be specified using the format width x height.

https://placehold.co/600x400

Specifying the height is optional, useful for creating a square.

https://placehold.co/400

The maximum image size is 4000 x 4000.

Colour

The background and text colours are represented using hex values.

https://placehold.co/600x400/000000/FFF

Alternatively, CSS names can be used.

https://placehold.co/600x400/orange/white

Both background and text colours must be specified together.

Text

The text can be customised using a query string, spaces are represented using a plus symbol. The default text is the dimensions of the image.

https://placehold.co/600x400?text=Hello+World

Format

The image format can be specified. The default format is GIF.

https://placehold.co/600x400/png https://placehold.co/600x400.png

Image formats can also be combined with colours.

https://placehold.co/600x400/000000/FFFFFF/png https://placehold.co/600x400/000000/FFFFFF.png

Supported formats: GIF, PNG, JPG and JPEG.

Any questions?

support@placehold.co