Small tasks, made easier. MiniKit is now live.Explore

CSS box-shadow generator

Adjust a box shadow, preview it and copy the CSS locally.

How to use

  1. Horizontal offset (px)
  2. Blur radius (px)
  3. Generate shadow

Copy a complete CSS declaration for one box shadow

Enter whole numbers: horizontal and vertical offsets and spread from −100 to 100 px, blur radius from 0 to 200 px, and opacity from 0 to 100%. Fractional and out-of-range values are rejected rather than adjusted. Positive horizontal/vertical offsets move the shadow right/down; negative spread shrinks it. Opacity is not a transparency percentage: 0% is invisible and 100% fully opaque, converted to CSS rgba alpha. Enter #RGB or #RRGGBB; the raw color input is limited to 32 characters before whitespace is trimmed. HEX is case-insensitive; #AbC is normalized to #aabbcc. HEX with alpha is unsupported; alpha comes from the opacity field. Unchecked Inner shadow produces an outer shadow; checked adds inset for an inner shadow. Only one box-shadow is generated; multiple shadows, arbitrary CSS, text-shadow and image downloads are unsupported. The preview frame clips large shadows; the generated CSS is not clipped and may extend beyond the styled element. After Generate shadow, copy the complete box-shadow declaration into a CSS rule. Any field change invalidates the old output and copy action and removes the preview target’s shadow. Clear removes output and restores defaults with an unshadowed preview: 0/8/24/0 px, #000000, 20% opacity, outer shadow. Processing is local in your browser; settings and CSS are not sent to a server.

Explore tools
Works instantly
Privacy comes first
Free and simple
New tools every week
✳YOUR TOOLKIT

Tools that get it done.
Nothing you don’t need.

97 tools ready
FREE

CSS box-shadow generator

Adjust a box shadow, preview it and copy the CSS locally.

Whole numbers: offsets/spread −100–100 px, blur 0–200 px, opacity 0–100%. HEX #RGB/#RRGGBB colors. Large shadows are clipped to the preview frame.

Shadow preview

Your text never leaves your device
Explore tools
✳LESS FUSS, MORE DONE

Focus on your task,
not finding a tool.

You don’t need a different website for every little task. MiniKit brings the practical tools you use most together in one clear, easy place.

Explore the tools
01

Actually fast

Open it, do the thing, move on. No downloads, sign-up forms or waiting.

02

Privacy first

Your files and text stay on your device. We don’t store your data.

03

Simple for everyone

No confusing menus. What you need is right where it should be.

PRIVATE BY DESIGN

Your files get the job
done without passing through us.

Your images, text, QR contents and calculations are processed in your browser. Read our privacy policy for details about hosting, local storage and the current advertising status.

PRIVACY FIRST
✳

Make your next little task
a little easier.

Try your first tool now. Free, no account, no fuss.

Let’s get started
✳

Example

0px · 8px · 24px · 0px · #000000 · 20%
box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.2);

Frequently asked questions

Is my input sent to a server?

Your images, text, QR contents and calculations are processed in your browser. Read our privacy policy for details about hosting, local storage and the current advertising status.

Is this tool free?

No account needed · Always free