Skip to content
hateitall

Text Shadow Generator

Design glows, outlines and stacked 3D lettering with text-shadow and copy the finished CSS.

Processed locallyIn: Text, Number, ColourOut: CSS, Tailwind classes

Loading tool…

How to use text shadow generator

  1. Type your own sample text and set its colour, size and weight.

  2. Start from a preset: Subtle, Lifted, Neon, 3D, Outline, Hard offset, Retro or Long shadow.

  3. Select a layer and adjust its offset, blur, colour and opacity; add or remove layers as needed.

  4. Check the result on the light and dark previews, then copy the CSS or the Tailwind class.

What this tool does

  • Up to 40 layers, enough for stacked 3D and long shadow effects built from 1px steps.
  • Presets are ordinary layers, so every one of them can be edited afterwards.
  • Outputs a multi-line text-shadow declaration and a Tailwind arbitrary property that works in Tailwind 3 and 4.

How the result is verified

The preview renders your sample text with the same text-shadow string the code box shows. Copy it into a test page with the same font to confirm.

Frequently asked questions

How do I make an outline with text-shadow?

Use the Outline preset: four hard shadows offset up, down, left and right by the outline width. It works in every browser but looks thin at curves; for very thick outlines -webkit-text-stroke is the better tool.

Does a glow hurt readability?

A soft glow can help light text on a busy photo, but strong neon blurs edges. Keep body text plain and use heavy effects only at large sizes.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Layered box-shadow builder with presets, inset and Tailwind output

Number · Colour→ CSSLight on device

Thick borders, hard shadows, press states and a text contrast check

Number · Colour · Text→ CSSLight on device

Solid, outline, soft, ghost and gradient buttons with every state

Number · Colour · Text→ CSSLight on device

Modular type scale with common ratios, fluid option and CSS variables

Number→ CSS custom propertiesLight on device