← All Tools

CSS Text Shadow Builder Formatter🔒 100% local

Generate text shadow effects. Privacy-first, no server uploads, no tracking.

Related Tools

Border Radius PreviewBox Shadow GeneratorCode Heatmap

Feed it shadow measurements in offsetX offsetY blur color order and it reports how the shadow reads, prints the declaration in multi-line and single-line form, and proposes three variations including the negative-offset inset look. Seven named presets - neon, retro, outline, emboss, subtle, fire, 3d - return a stack of shadow layers instead of a single one.

How to use it

  1. Type the numbers, with or without units: 2px 2px 4px #000 or 0 2px 6px rgba(0,0,0,0.4).
  2. Or type a preset name on its own, such as neon, to get its layer stack expanded.
  3. Press Process, then copy the Single-line block - that is the value you paste into a stylesheet.

Worked example

2px 2px 4px #000becomesRead as: crisp drop shadow CSS: .text { text-shadow: 2px 2px 4px #000 ; } Single-line: text-shadow: 2px 2px 4px #000; Variations: text-shadow: 2px 2px 4px #000, 0 0 8px #000; /* add glow */ text-shadow: 0 0 4px #000; /* pure glow, no offset */ text-shadow: -2px -2px 4px #000; /* inset-looking (negative offsets) */ Accessibility note: keep blur small relative to font size — heavy glow hurts contrast (WCAG).

Blur 4 is labelled 'crisp drop shadow'; the glow variation is only offered because the blur is non-zero.

2px 2px 4%becomesRead as: hard drop shadow (retro/duotone look) CSS: .text { text-shadow: 2px 2px 0px 4% ; } Single-line: text-shadow: 2px 2px 0px 4%; Variations: text-shadow: 0 0 0px 4%; /* pure glow, no offset */ text-shadow: -2px -2px 0px 4%; /* inset-looking (negative offsets) */ Accessibility note: hard shadows can reduce legibility on non-uniform backgrounds.

A percentage cannot match the blur or color slots, so it is read as the color and the blur falls back to 0px - the resulting declaration is not valid CSS.

When to use it

What it does not do