Placehold

Generate dynamic placeholder images with simple URLs.
Perfect for prototypes, mockups and web development.

✓ No registration
✓ Free
✓ Instant

Basic Usage

placehold.es/400

size: Size (e.g: 200 or 300x200)

color: Hex color (e.g: ff0000)

format: jpg, png, webp

text: Custom text

Example placeholder image showing 400x400 size

Examples

Different combinations of size, color and format

Purple placeholder image 300x300 pixels
/300/6366f1

Purple square

Pink placeholder image 300x200 pixels
/300x200/ec4899

Pink rectangle

Green placeholder image 300x300 pixels in PNG format
/300/10b981/png

Green in PNG

Gray placeholder image 300x300 pixels with custom text Hello
/300?text=Hello

With custom text

Yellow placeholder image 300x300 pixels with custom text Sale
/300/f59e0b?text=Sale!

Yellow with text

Cyan placeholder image 300x300 pixels with multiline text
/300/06b6d4?text=Line+1\nLine+2

Multiline text

URL Builder

Use + for spaces and \n for line breaks

placehold.es/300
Live preview of generated placeholder image

API Reference

URL Formats

/[size]
/[size]/[color]
/[size]/[color]/[format]

Parameters

size

Required. Image size.

Examples: 200, 300x200 (max 4000x4000)

color

Optional. Background color in hex without #.

Default: cccccc | Examples: ff0000, abc, 123456

format

Optional. Output format.

Default: jpg | Options: jpg, png, webp

text

Query param. Custom text.

Usage: ?text=Hello+World | \n for line breaks

Placehold - Dynamic placeholder image generator

Made with ❤️ using SvelteKit and Canvas