Text Shadow Generator
Build readable CSS text shadows with adjustable offsets, blur and color.
Your input is processed on this page and is not stored by us.
About this tool
A text shadow can improve separation from a busy background, reinforce a display heading or create a restrained embossed effect. It can also make type fuzzy very quickly. The Text Shadow Generator provides direct control over horizontal offset, vertical offset, blur, color and opacity while showing the effect on editable preview text.
For readable interface text, start with a small offset, modest blur and low opacity. Large, dark shadows are better reserved for oversized display type, and they should never be used as a substitute for adequate foreground/background contrast. The output is a standard text-shadow declaration. For shadows around boxes rather than glyphs, use the Box Shadow Generator.
How to use it
- Enter the same text, size and weight you expect to use in the real design.
- Set horizontal and vertical offsets to position the shadow relative to each glyph.
- Increase blur gradually until hard edges disappear without making the text look smeared.
- Choose a shadow color and lower opacity for a more natural result.
- Copy the CSS and test readability against every background used by the component.
Useful ways to apply it
- Separating a large heading from a photograph or gradient background.
- Adding a subtle depth cue to logos, badges and promotional display text.
- Testing light-on-dark and dark-on-light shadow combinations.
- Reproducing a design reference with exact offset and blur values.
- Creating restrained hover states without changing text dimensions.
Frequently asked questions
Can text-shadow include a spread radius?
Can I use multiple text shadows?
Does a text shadow improve accessibility?
Why does the same shadow look different at another font size?
Privacy
Your input is processed on this page and is not stored by us.