Text Shadow Generator

Adjust the offset, blur and colour of up to three text shadow layers, see the text live and copy the text-shadow CSS.

Processed on your device. Files are not uploaded

How to make a CSS text shadow

  1. Set the shadow

    Change the options above the result. It updates as you type.

  2. Check the preview

    Watch the live preview change as you adjust.

  3. Copy the CSS

    Paste the text-shadow rule into your stylesheet.

Worked example

This is what Text Shadow Generator gives for its own sample values. Open the tool above and change anything to try your own.

Preview text
Sarva Tools
Text colour
#0f766e
Layer 1: horizontal offset (px)
4
Layer 1: vertical offset (px)
6
Layer 1: blur (px)
12
Layer 1: colour
#0f172a

CSS

text-shadow: 4px 6px 12px rgba(15, 23, 42, 0.25);

About Text Shadow Generator

Design a text shadow with up to three layers, and type your own preview text. Soft shadows lift text from a busy background, and layered coloured ones give a glow.

FAQs

How do I make a glow?

Use no offset, a blur of 10 or more, and a bright colour. Add a second layer with a larger blur for more glow.

Does it hurt readability?

It can. Keep the shadow subtle on body text, and check contrast.

Can I add a shadow to a box?

Use Box Shadow Generator.

Related tools