Omnikit
DevFilesMoneyAll tools
Ctrl K
Dev toolsFile toolsMoney calculatorsAll tools
HomeDeveloper toolsCSS Box Shadow GeneratorCSS Text Shadow Generator

CSS Text Shadow Generator

dev

Make a CSS text-shadow for glows, outlines and 3D lettering, with a live preview

Runs in your browser. Nothing you type is sent anywhere. Checked against sources on 17 Oct 2026.

text-shadow works like box-shadow on the letters themselves, with two differences: there is no spread and no inset. Set the offsets, blur and colour, and stack layers for a neon glow, a hard outline or stepped 3D lettering. The preview uses your own sample text, and the result is one text-shadow line to paste into your stylesheet.

Next:
  • CSS Border Radius Generator Round each corner with sliders, elliptical corners and blob shapes, shortest CSS to copy

How to use CSS Text Shadow Generator

1

Set the options you need, or start from the example.

2

The result is made again every time you change something.

3

Copy it or download it. Nothing was sent anywhere.

How CSS Text Shadow Generator works

A good shadow is what makes a card look lifted off the page, and it is usually two or three layers rather than one. Build them with sliders while the preview updates, or paste a shadow you already use and adjust it.

Reading a pasted shadow. Paste any box-shadow value, with or without the property name, such as values copied from a design tool or a CSS framework. Hex colours, rgb() and rgba() in either syntax, and a few colour names are read. A shadow with no colour uses the text colour, so it is edited as black and the page says so.

Text shadow. Switch to text-shadow for glows, outlines and 3D lettering. Text shadows have no spread and no inset, so those controls disappear.

The rest of the article, and all 6 questions about CSS Box Shadow Generator, are on the CSS Box Shadow Generator page.

Frequently asked questions

How does CSS box-shadow work?

Each shadow is written as offset-x offset-y blur spread colour, for example 0 4px 12px rgb(0 0 0 / 0.15). The offsets move the shadow, blur softens its edge and spread grows or shrinks it. Several shadows can be listed with commas, and the first in the list is drawn on top.

How do I make a soft, realistic shadow?

Use two or more layers with low opacity: a small, tight shadow such as 0 1px 2px at 0.24 opacity for the contact edge, plus a larger one such as 0 10px 15px -3px at 0.1 opacity for depth. The Lifted and Soft presets are built this way.

What does inset do in box-shadow?

inset draws the shadow inside the box's border instead of outside it, as if the box were pressed into the page. It suits input fields, pressed buttons and wells. Inset and normal layers can be mixed in one box-shadow, which is how neumorphic designs get their raised and sunken look.

Why does my text-shadow ignore spread?

text-shadow accepts only two or three lengths, the offsets and an optional blur, plus a colour; spread and inset belong to box-shadow alone. A fourth length makes the whole declaration invalid, so browsers drop it. Stack several thin text-shadow layers to fake a thicker outline.

Sources

  • W3C CSS Backgrounds and Borders Level 3, box-shadowThe <shadow> grammar, non-negative blur, first layer on top
  • W3C CSS Text Decoration Level 3, text-shadowtext-shadow: two or three lengths, no spread, no inset

Last verified 17 October 2026.

Rates and rules change; check the source before you rely on a figure.

Still stuck? Ask about CSS Box Shadow Generator and anybody who knows can answer. No account needed.

More ways to use CSS Box Shadow Generator

  • CSS Box Shadow GeneratorBuild a layered CSS box-shadow with a live preview, or paste one and edit it

Same job, other tools: MD5 Generator – MD5 hash of text or a file, for checksums and legacy systems.

On the related tools: Cron Expression Generator – Generate a cron expression by choosing when the job should run · Sitemap Index Generator – Split a large site into numbered sitemaps with an index file.

Related tools

All developer tools
UUID GeneratorRandom v4 and time-ordered v7 UUIDs, up to 1,000 at once, plus a validatorHash GeneratorMD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or files, with checksum compareCron Expression BuilderBuild a cron schedule from menus, read it in plain English, see the next runsSlug GeneratorClean URL slugs from titles, including accented and Hindi text, one or hundreds at onceMeta Tag GeneratorWrite title, description, canonical, Open Graph and Twitter tags with a live previewRobots.txt GeneratorBuild a robots.txt with presets, then check what every line really doesSitemap GeneratorTurn a list of URLs into a valid sitemap.xml, with an index when it gets too bigUTM BuilderBuild campaign links with source, medium and campaign, then export the lot as CSV
Was this tool helpful?
Omnikit

Small jobs, done in your browser. Free, fast and private. Files are never uploaded.

Files

  • Compress Image
  • Image to PDF
  • Merge PDF
  • Compress PDF
  • PDF to Word
  • Word to PDF

Dev

  • JSON Formatter & Validator
  • Base64 Encode & Decode
  • JWT Decoder, Verifier & Encoder
  • Password Generator
  • UUID Generator
  • Unix Timestamp Converter

Money

  • SIP Calculator
  • EMI Calculator
  • GST Calculator
  • FD Calculator
  • PPF Calculator
  • Lumpsum Calculator
GuidesQuestionsAboutHow we checkLaw library (beta)PrivacyTermsDisclosureContactMore: Exam practice (UGC NET Paper 1)Runs in your browser. Nothing is uploaded. © 2026 Omnikit (theomnikit.com)