⌨️ Developer Tools Free No sign-up Works offline once loaded

Box Shadow Generator

Design CSS box shadows with live preview and copy the exact rule.

Runs entirely in your browser. Nothing is uploaded, stored or sent anywhere.

The formula behind it

box-shadow: offset-x offset-y blur spread colour. Positive Y moves the shadow down, negative spread shrinks it.

The working is shown so you can check it. If a result looks wrong, this is the first place to look.

How to use it

  1. Open the Box Shadow Generator above. It is ready to use — nothing to install.
  2. Enter offset x (px), offset y (px), blur (px), spread (px).
  3. Press Calculate.
  4. Copy the result with one click, or download it where the tool produces a file.
  5. Change any value and the result updates immediately — there is no limit on how many times you run it.

About the Box Shadow Generator

Design CSS box shadows with live preview and copy the exact rule.

This is one of 107 free tools on RandomGen Tools. It sits in the developer tools section, alongside json formatter. Everything runs in your browser, so there is nothing to install and no limit on how often you use it.

Questions people ask

Right. Positive Y moves it down.
It expands the shadow before blurring. Negative spread shrinks it, which gives a tighter, more modern shadow.
As many as you like, comma separated. Layering two soft shadows looks more real than one large blur.

Related tools