Free CSS Text Shadow Generator

Free CSS text-shadow generator: stack multiple shadow layers with offset, blur, color and opacity, try neon, 3D, outline and retro presets and copy the CSS.

  • No upload, 100% private
  • Instant, in your browser
  • 100% free, no signup
Loading tool…
Read the complete guideCSS text-shadow Explained: Neon, 3D, Outline and Readable Text →

About the Text Shadow Generator tool

The CSS text-shadow property can do far more than a simple drop shadow. Stack several layers and you get glowing neon signs, chunky 3D lettering, outlined text, retro offset prints or a subtle letterpress effect, all without images. Balancing multiple offsets, blur values and colours by trial and error is slow, though.

This text shadow generator gives you a layer-based editor. Add as many shadow layers as you like, select one to adjust its horizontal and vertical offset, blur radius, colour and opacity, and remove layers you no longer need. The preview shows your own text at any size from 16 to 120 pixels, on a background colour of your choice, with your chosen text colour.

Seven presets demonstrate what is possible: Subtle, Neon, 3D, Outline, Retro, Glow and Letterpress. Each sets the text and background colours too, so you see the effect as intended. The CSS output lists every layer in order, with colours as rgba() when they are semi-transparent.

How to use Text Shadow Generator

  1. Type your own words into “Preview text” and set “Text colour” and “Background”.
  2. Pick a preset such as Neon or 3D, or start with the default layer.
  3. Select a layer and adjust its offsets, “Blur radius”, “Opacity” and “Shadow colour”.
  4. Use “Add layer” to stack more shadows, or the bin icon to remove one.
  5. Copy the result from the “CSS code” panel.

Features

Unlimited layers

Stack any number of shadows to build complex effects.

Seven effect presets

Neon, 3D, outline, retro, glow, letterpress and a subtle drop shadow.

Live custom preview

See your own text at your chosen size, colour and background.

Per-layer opacity

Each layer has its own alpha, output as rgba() only when needed.

Copy-ready CSS

Outputs the color and multi-line text-shadow declarations.

When to use it

  • Create a neon sign heading for a nightlife or gaming site.
  • Improve legibility of white text over a busy hero photo.
  • Give a logo-style headline a retro 3D look.
  • Outline text for thumbnails or banners without an image editor.
  • Add a subtle embossed effect to headings in a skeuomorphic design.

Frequently asked questions

What is the text-shadow syntax?

text-shadow: offset-x offset-y blur-radius color. Separate multiple shadows with commas; the first one listed is drawn on top.

Can text-shadow have a spread value like box-shadow?

No. text-shadow has no spread or inset. To thicken an outline, stack several shadows offset in different directions, as the Outline preset does.

How do I make a neon text effect?

Use light text with several zero-offset shadows of increasing blur in a bright colour, on a dark background. The Neon preset shows a working example.

Does text-shadow affect performance?

A few layers are cheap. Many large-blur shadows on long animated text can slow rendering on low-end devices.

Is text-stroke better for outlines?

-webkit-text-stroke draws a true outline and is widely supported, but it is centred on the glyph edge, so thick strokes eat into thin letters. Shadow outlines sit behind the glyphs instead.

Related tools