Favorite places of your favorite city
Home
Add to preferred sources on Google

CSS Text Shadow Generator

Create text shadows with explicit offsets, blur, color and opacity. Reorder layers, inspect an editable text specimen and copy the authored text-shadow declaration.

Text preview

Text shadows

Preview edges may clip shadows; fonts and wrapping affect appearance.

Text and shadow layers

Up to 200 UTF-16 units and three lines.

Use a dot or comma for decimals, for example 1.25 or 1,25.

Preview options

CSS and preview

2 enabled shadows · First listed is frontmost among shadows; text paints above them.

Only text-shadow is copied; preview text, font and colors are context.

How layers become CSS

The first enabled layer is frontmost among shadows; the text paints above them. Each layer contributes three pixel lengths and a color.

OrderOffsets and blurColor → RGBOpacity → alpha
Layer 1x -3.25 px · y 6.5 px · blur 0 px#336699 → 51, 102, 15337% ÷ 100 = 0.37
Layer 2x 0 px · y -2 px · blur 12 px#CC6600 → 204, 102, 080% ÷ 100 = 0.8

Layers are joined with commas in this order. Disabled layers are omitted; transparent enabled layers remain. Preview options are not copied.

This tool adds no upload or saved history for your text or settings. Copy is explicit.

Need a box shadow? Open the CSS Box Shadow Generator

Build a text-shadow stack

  1. Edit the sample text and each enabled layer’s horizontal offset, vertical offset, blur radius, color and opacity. Fields accept hundredths; sliders provide quick whole-unit adjustments.
  2. Add, duplicate, exclude, remove or move layers. The first enabled layer in the list is frontmost among shadows. Disabled layers keep their drafts but are omitted from CSS.
  3. Inspect the current CSS and native preview, then select Copy CSS. Only the shadow declaration is copied; specimen text, typography and background remain preview context.

Understand the authored layers

Each layer emits horizontal offset, vertical offset and nonnegative blur in CSS pixels, followed by an explicit RGBA color. Negative offsets move left or up; zero blur gives a sharp shifted shadow. The property follows glyphs rather than the element’s rectangular box.

The first listed shadow paints in front of later shadows, while these outer shadows remain behind the text. Moving layers can change overlapping colors. This stack is different from a filter pipeline where each operation receives the previous result.

Shadow opacity becomes alpha in that shadow’s color. For example, 37.5% becomes exactly 0.375 without passing through an eight-bit alpha channel. Text opacity is a separate preview color setting, so transparent text can still have visible shadows.

An enabled transparent layer remains in the declaration. Excluding every layer or clearing the list emits text-shadow: none;. Explicit none resets inherited shadows; an empty invalid declaration is not a substitute.

Order, color and transparent-layer examples

The example’s first layer is -3.25px horizontally, 6.5px vertically and 0px blur, with #336699 at 37% opacity. Its channels are 51, 102 and 153, and its alpha is 0.37. A second orange layer uses 0px, -2px, 12px blur and 80% opacity.

Moving the orange layer first changes the comma-separated order without changing either layer’s values. Use the preview to inspect overlap; the tool does not merge duplicates, sort colors or optimize invisible layers away.

A zero-offset, zero-blur transparent black layer is valid authored CSS even if no shadow ink is visible. Disabling it instead removes it from the stack; if no enabled layer remains, the output is the explicit none declaration.

Authoring and preview limits

This editor supports up to twelve layers, offsets from -64 to 64 CSS pixels, blur from 0 to 64, six-digit hex colors and opacity from 0 to 100%, with hundredth precision. It intentionally authors an established subset, without spread, inset, currentColor, arbitrary units or CSS import; newer specifications discuss additional syntax.

The specimen uses your plain text and a local system font. Font fallback, glyph shapes, size, line breaks and wrapping affect appearance. Copy includes only text-shadow, so a receiving page can look different. This is not a contrast, readability or pixel-match certification.

Shadows do not enlarge text layout or scrollable overflow. The padded preview is an approximate viewing area, and edges can clip blur or offsets. Scrolling follows the text’s layout and cannot guarantee access to every painted shadow pixel.

Invalid enabled-layer drafts remove current CSS and the styled specimen until repaired. Disabled parameter drafts are ignored until re-enabled. Invalid preview-only settings withhold the specimen while valid CSS remains available; empty sample text is allowed.

Local styling without uploaded text

The tool adds no upload, remote font, saved settings history, input-bearing link or telemetry containing your specimen and settings. Copy is explicit. Existing site services, extensions and copies you retain are outside a universal privacy or erasure promise.

Text-shadow questions

Text shadows follow the text’s glyphs and relevant text decoration rather than a rectangular border box. This editor writes text-shadow only; it does not edit box shadows, filters or text-decoration properties.

The first enabled layer is frontmost among the shadow layers. These outer shadows still paint behind the text. Move up and Move down change the declaration and preview in the same order.

No. It becomes alpha in that layer’s explicit color. Preview text opacity changes the text color separately, without applying opacity to an ancestor that would fade the whole composition.

They can both show no shadow ink, but they are different authored states. Enabled transparent layers stay editable and serialized. No enabled layers produces the explicit text-shadow: none; reset.

This editor deliberately uses three pixel lengths and an explicit RGBA color. Newer drafts discuss spread and inset, but broad support is not established here. currentColor and arbitrary CSS import are also outside this authoring subset.

Your page may use a different font, text, size, wrapping, background or clipping ancestor. Only the shadow declaration is copied. The preview is native illustrative text with finite padding, not a pixel or no-clipping guarantee.

An invalid enabled layer has no current CSS or styled preview; repair the draft rather than copying a stale result. Invalid preview-only settings affect the specimen separately. Disabled parameters retain their drafts until re-enabled.

The tool adds no uploaded specimen, saved settings, input-bearing URL or remote font request. Copy is explicit. Existing site services, extensions and retained copies are outside this limited tool behavior claim.

Sources

Specifications and reference material for the authored subset and its preview.

Reviewed 13 November 2026.

The preview is a native rendering with finite space; it is not a cross-browser pixel or no-clipping guarantee.

SVG to PNG

Convert a local SVG file or pasted markup into PNG, with explicit dimensions, transparency and bundled fonts.

Open tool — SVG to PNG

CSS Filter Generator

Order and repeat CSS effects, compare a specimen and copy the exact filter declaration.

Open tool — CSS Filter Generator

Fluid Font Size Calculator

Create root-relative CSS from viewport endpoints and inspect the copied size model.

Open tool — Fluid Font Size Calculator

CSS Button Generator

Style native button states, inspect keyboard focus and copy HTML and CSS.

Open tool — CSS Button Generator

CSS Border Radius Generator

Edit eight corner radii, preview a box and copy CSS in pixels or percentages.

Open tool — CSS Border Radius Generator

CSS Grid Generator

Build a bounded CSS Grid example with editable tracks, placement and named areas. Preview it, copy CSS or HTML and download the same standalone example.

Open tool — CSS Grid Generator

CSS Flexbox Generator

Build a Flexbox example with container and item controls, explicit layout axes, matching CSS and HTML, and a local complete-example download.

Open tool — CSS Flexbox Generator

CSS Transform Generator

Compose repeatable 2D CSS transforms, edit px or percentage translation and origin, inspect a reference box and copy the exact current declarations.

Open tool — CSS Transform Generator

CSS Box Shadow Generator

Create ordered CSS box-shadow layers with a live preview and copyable code.

Open tool — CSS Box Shadow Generator

Image Watermark

Add a text or logo watermark to a batch of images, review each result and download individual files or a ZIP.

Open tool — Image Watermark

CSS Gradient Generator

Create linear or radial CSS gradients with editable colors, opacity and stops.

Open tool — CSS Gradient Generator

Color Converter

Convert supported sRGB HEX, RGB and HSL literals with alpha, explicit precision and current code Copy.

Open tool — Color Converter

Image to Text (OCR)

Recognize printed text in local PNG or JPEG images, choose a language and review or correct the result before copying or downloading.

Open tool — Image to Text (OCR)

QR Code Reader

Read one QR code from a local PNG or JPEG and inspect its text or content bytes without opening links.

Open tool — QR Code Reader

Color Contrast Checker

Compare foreground and background colors, adjust opacity and check WCAG numerical contrast thresholds for text and essential interface details.

Open tool — Color Contrast Checker

Print Size & Resolution Calculator

Calculate print dimensions, required pixels and effective PPI with fit or crop.

Open tool — Print Size & Resolution Calculator

Aspect Ratio Calculator

Find a width-to-height ratio or calculate a matching pixel size from one target dimension.

Open tool — Aspect Ratio Calculator

Image Compressor

Try to fit a JPEG, PNG or WebP within a target file size, with measured results and optional smaller dimensions.

Open tool — Image Compressor

HEIC to JPG

Convert supported HEIC photos locally into full-size JPG copies, with quality and background controls and verified individual or ZIP downloads.

Open tool — HEIC to JPG

Image Converter

Convert supported PNG, JPEG and WebP images locally with batch targets, transparency, background and quality controls, then review and download the encoded files.

Open tool — Image Converter

Photo Collage Maker

Arrange local photos in a grid, adjust crops and spacing, and download PNG or JPEG.

Open tool — Photo Collage Maker

Rotate & Flip Images

Rotate or mirror a local batch of static PNG, JPEG and WebP images, then review and download the processed results.

Open tool — Rotate & Flip Images

Image Cropper

Crop one local JPEG, PNG or WebP to exact pixels with visual and numeric controls. Download PNG or JPEG.

Open tool — Image Cropper

Image Resizer

Resize a JPG, PNG or WebP image by pixels or percentage, preview the result and download it.

Open tool — Image Resizer
View all tools in this category