Skip to main content
WizTools123
Free Online Tools

Tool Categories


Developer Tools New Tool

Free Online CSS Text Shadow Generator with Layered Shadows

Set the offset, blur and colour of a text shadow and see it on real type as you drag. Layer several shadows to build an outline or a raised edge, try the three honest presets, and copy a text-shadow rule with the commas and the units already written in.

Free Forever Runs in Your Browser Up to Six Layers Preview on Real Type
Free Online CSS Text Shadow Generator with Layered Shadows
Share this tool
CSS Text Shadow Generator Everything happens in this tab. Nothing you paste is sent anywhere.
Preview

Readable over anything

CSS
Presets
Type 48px

1 layers

Buy Us A Coffee

Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.

Buy Us A Coffee

How to Use CSS Text Shadow Generator

Step by step, start to finish.

1
Pick a starting point

Choose a preset for a soft lift, a hard offset or a four-shadow outline, or keep your own layers and start from those.

2
Set each layer

Offset X and Y, blur, colour and alpha. There is no spread value in text-shadow, so those four are all there is.

3
Test it on real type

Change the size, the weight and the text colour, and switch the surface to dark. A shadow that works at 48px often disappears at 16px.

4
Copy the rule

The output is one text-shadow declaration with your layers joined by commas in painting order.

Key Features

What this tool does, and what it does not do.

Layered shadows

Up to six comma-separated layers, added and removed as you work.

Offset, blur, colour

The three lengths text-shadow actually takes, plus an alpha slider for each layer.

Three honest presets

Soft lift, hard offset, and an outline built from four shadows.

Preview on real type

Your own size, weight and colour, on a light or dark panel.

Paste-ready rule

A single text-shadow declaration with units and commas in place, ready to copy or download.

Runs in your browser

Nothing is uploaded and no font is fetched to make the preview.

About CSS Text Shadow Generator

Text shadows earn their keep in two places: lifting a heading off a busy background so it can be read, and giving type a deliberate look, whether that is a soft raised edge or a hard retro offset. The property is simpler than box-shadow, because it takes only an offset, a blur and a colour, and knowing that it has no fourth value clears up most of the trouble people have with it.

This page gives you layers rather than a single shadow, because almost everything interesting needs more than one. You can stack up to six, and each layer has its own offset, blur, colour and alpha. The preview draws them on real text at a size, weight and colour you choose, on a panel you can switch between light and dark. What the panel shows is the browser rendering the declaration, not a picture of it.

What can each layer do?

  • Offset X and Y from -30px to 30px, so a shadow can fall in any direction.
  • Blur from 0px for a crisp copy up to 40px for a wide glow.
  • Colour and alpha, written out as an rgba() value so the transparency travels with the rule.

The type controls cover sizes from 16px to 90px and weights of 400, 600, 700 and 900. That range matters: a shadow that looks rich on a 48px heading can smudge a 16px label, and checking both before you ship saves a round of fixes.

What do the presets give me?

The presets are deliberately plain. A soft lift is one faint layer one pixel below the text. A hard offset is a single solid shadow three pixels down and to the right, with no blur. The outline is the four-shadow technique written out in full, one copy shifted a pixel in each direction, so you can see exactly how it is built and adjust it. Picking a preset replaces your current layers, and the menu returns to Keep my layers so you can carry on editing from there.

The output is a normal declaration you could have typed yourself, with the commas and the units handled, and it updates as you drag. Copy it to the clipboard or download it as a file. Everything happens in your browser, so the text you preview and the rule you build stay on your machine.

Frequently Asked Questions

Common questions about this tool.

Almost certainly because it has a spread value. text-shadow accepts offset X, offset Y and blur, and nothing more, so a value with four lengths in it is invalid and the browser ignores the whole declaration. Delete the fourth number and it will start working.

Use four shadows with zero blur, offset the same distance up, down, left and right, all in the outline colour. The preset here does exactly that at 1px. It gives the cleanest result at one or two pixels; for a thicker stroke with rounded corners, -webkit-text-stroke or type drawn as SVG gives a smoother join.

Sometimes, and less often than people hope. At small sizes a blurred shadow tends to thicken the letterforms and reduce clarity rather than improve it. A dark translucent panel behind the text, or a gradient scrim over the image, is usually more reliable, with a faint shadow on top of that.

Far less than a box shadow of the same size, but it is still blurred at paint time. A few layers on a heading is nothing to worry about. A heavy multi-layer glow on body text in a long scrolling article is worth measuring, especially on older phones.

Yes, the property is animatable, and it fades smoothly from one value to another when both keyframes have the same number of layers. Keep the layer count identical, for example two layers in each state, and animate only the numbers and colours; the browser then pairs the layers up and interpolates each one.

More Developer Tools

Other tools from the same hub, free and in your browser.

All Developer Tools

Feedback

No feedback on this tool yet. Yours would be the first.