CSS Box Shadow Generator

Developer toolNew

Build CSS box-shadows visually and copy the code.

This tool runs entirely in your browser. Your files never leave your device — nothing is uploaded.

Shadow settings

Live preview

CSS

box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.2);

Frequently asked questions

How do I use the CSS box-shadow generator?
Set the horizontal and vertical offsets, blur, spread, color, opacity, and toggle inset if you want the shadow drawn inside the element. The live preview updates instantly as you change each value, and the generated CSS appears below so you can copy it with one click.
Is my data uploaded anywhere when I use this tool?
No. Everything runs entirely in your browser using plain JavaScript, so no settings, colors, or generated CSS are ever sent to a server. The tool works offline once loaded, which keeps your work completely private.
What's the difference between blur, spread, and inset?
Blur softens the shadow's edges (larger values are fuzzier), while spread grows or shrinks the shadow before the blur is applied. Inset flips the shadow to render inside the box instead of outside, which is useful for pressed or recessed effects.