Skip to content
toolgrid

No tool found. Try another word.

Text Shadow Generator

Design a CSS text-shadow with one or more layers and a live preview: soft shadows, hard retro shadows, neon glow and outlines, then copy the CSS.

Presets:

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the Text Shadow Generator

  1. 1 Type a preview text and choose its colour and background.
  2. 2 Start from a preset or set offset, blur, colour and opacity per layer.
  3. 3 Copy the text-shadow CSS.

About the Text Shadow Generator

The CSS text-shadow property draws one or more shadows behind text. Each shadow has a horizontal offset, a vertical offset, a blur radius and a colour, for example text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3).

Several shadows separated by commas create richer effects: a few hard shadows in contrasting colours give a retro look, large blurred shadows in a bright colour make a neon glow, and four 1px shadows in every direction draw an outline. The first shadow in the list is drawn on top.

Use shadows to improve contrast, for example white text on a photo, rather than for decoration everywhere: too much shadow makes text harder to read.

Frequently asked questions

How do I make an outline around text?

Use the "Outline" preset: four shadows of 1px in each diagonal direction without blur. For thick outlines, -webkit-text-stroke is an alternative.

How do I make a neon glow?

Use two or three shadows without offset, with a large blur (8–30px) and a bright colour, like the "Glow" preset, on a dark background.

Does text-shadow work in all browsers?

Yes, every modern browser supports text-shadow, including multiple shadows.

Does a shadow slow down my page?

A few shadows are fine. Very large blurs on lots of text, or animated shadows, can make scrolling less smooth on slow devices.