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.
Readable over anything
Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.
How to Use CSS Text Shadow Generator
Step by step, start to finish.
Choose a preset for a soft lift, a hard offset or a four-shadow outline, or keep your own layers and start from those.
Offset X and Y, blur, colour and alpha. There is no spread value in text-shadow, so those four are all there is.
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.
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.
Up to six comma-separated layers, added and removed as you work.
The three lengths text-shadow actually takes, plus an alpha slider for each layer.
Soft lift, hard offset, and an outline built from four shadows.
Your own size, weight and colour, on a light or dark panel.
A single text-shadow declaration with units and commas in place, ready to copy or download.
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.
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.-webkit-text-stroke or type drawn as SVG gives a smoother join.More Developer Tools
Other tools from the same hub, free and in your browser.
Feedback
No feedback on this tool yet. Yours would be the first.