javierbyte/img2css
Convert any image to pure CSS. Recreates images using only box-shadows. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3974
- days_rel: n/a
- days_push: 10
- n_releases_24m: 0
Adoption not part of the score
2498 stars · 187 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A web tool that converts any image into pure CSS, recreating it as a matrix of box-shadows on a single pixel div or as a base64-embedded image. It runs as a static site where users drop an image and get copy-pasteable CSS output.
Use cases
- convert an image to pure css
- recreate a pixel art image using only box-shadows
- embed an image without external hosting using base64
- generate css art from a photo
- turn an image into a single div with box-shadow pixels
When to choose
- you want a novelty CSS-only image representation with no img tag or background-image
- you need a quick base64-embedded image snippet without external hosting
- you are experimenting with CSS art or pixel-level rendering
When to avoid
- you need production-ready image embedding, since box-shadow output can be enormous
- you need programmatic conversion at scale rather than a one-off web tool
- you need optimized or compressed image delivery
Facets
application · maturity active
image-processing css-framework developer-tools web-development frontend image-processing web-design browser css-art box-shadow pixel-art base64-embedding design-tool react web javascript
2 sources
- readme: https://github.com/javierbyte/img2css · fetched 2026-08-28 · 1d3c6664b628
- homepage: https://javier.xyz/img2css · fetched 2026-08-29 · af044faffdfc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| javierbyte/img2css | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="javierbyte/img2css")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem