Skip to content

placeholders.dev

Active
Cherry/placeholders.dev

Generate custom placeholder images on the fly at Cloudflare's 330+ edge locations, powered by Cloudflare Workers and Static Assets.

View on GitHub
Stars
163
Forks
102
Watchers
163
Open issues
4

Overview

placeholders.dev generates custom placeholder images on the fly. Every image is generated on Cloudflare’s edge in 330+ locations and cached for a long time, so it loads fast for every user.

Technology

It uses Cloudflare Workers and Workers Static Assets, plus HTMLRewriter to keep the displayed count of Cloudflare PoPs up to date.

Example URLs

  • https://images.placeholders.dev/350 — a 350 × 350 image
  • https://images.placeholders.dev/350x150 — width × height
  • Query parameters such as width, height, text, bgColor and textColor for full control

Use the hosted service, or deploy your own copy to your Cloudflare account.

Similar open-source projects, ranked by shared categories and tags.

All Development Tools projects →