Code · Made a little simpler

Text Shadow Generator

Build CSS text-shadow layers with independent offsets, blur and translucent colors. Reorder them, test sample text, and copy or download the stylesheet.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Live preview

Market at dusk

Text-to-background contrast 14.10:1 before shadows.

Shadow layers

Export

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Text Shadow Generator: how to use it

  1. Choose Blue glow to compare a tight highlight with a wider glow around the same lettering.
  2. Set an X and Y offset, blur and color for each layer. Move layers up and down to change which appears in front.
  3. Copy the complete CSS rule or download the stylesheet. Check it with the font and background you intend to use.

Limits and notes

Uses up to eight glyph shadows with offsets from −80 to 80 px and blur up to 100 px. Colors accept CSS names, HEX, numeric RGB and HSL in sRGB with alpha. Processing stays on your device.

How your privacy works →

Text Shadow Generator: common questions

Which shadow is drawn in front?

The first layer appears above the later shadows. Use Move layer up to bring the selected layer toward the front.

Can I soften a shadow without increasing blur?

Use a translucent color such as #11182780 or rgb(17 24 39 / 50%). Alpha adjusts opacity while blur controls edge softness.

Does the contrast value include the glow?

The displayed ratio compares the composited text and preview background before shadows. Check the lettering in context once you apply the final glow.

Guides