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 Build a CSS Text Shadow
A few steps, and nothing is uploaded.
What to Know About Text Shadows
Starting with the value text-shadow does not have.
box-shadow takes four lengths, text-shadow takes at most three: offset X, offset Y and blur, followed by the colour. If you paste a four-length value in from a box shadow the whole declaration is invalid and the browser drops it, which is a common and very confusing mistake.
-webkit-text-stroke or an SVG is a better fit.
Key Features & Capabilities
What this tool does, and what it deliberately does not.
About the 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 that missing fourth value is the source of most of the trouble people have with it.
This page gives you the layers rather than a single shadow, because almost everything interesting needs more than one. Each layer has its own offset, blur, colour and alpha, and 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.
The presets are deliberately plain. A soft lift is one faint layer, a hard offset is a single shadow with no blur, and the outline is the four-shadow trick written out so you can see how it is built and where it breaks down. The output is a normal declaration you could have typed yourself, with the commas and the units handled.
Frequently Asked Questions
Outlines, readability, spread and where to stop.
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 draw the type as SVG.