Glassmorphism Generator

Generate frosted-glass CSS, previewed over a background so you can judge it properly.

Adjust the sliders.


Frosted glass

The blur samples whatever sits behind the element, so glass only reads as glass over something with detail.

The CSS will appear here.

Features

  • Blur, transparency and saturation control
  • Custom tint colour and border strength
  • Four preview backgrounds to judge against
  • Optional drop shadow and noise texture
  • Includes the -webkit- prefix for Safari

How to use it

  1. Adjust the blur and transparency.
  2. Pick a background that resembles your real one.
  3. Tune the tint and border until it reads as glass.
  4. Copy the CSS, the Safari prefix is included.

Making glassmorphism work in practice

The effect depends entirely on backdrop-filter, which blurs whatever is painted behind the element rather than the element itself. That means it does nothing over a flat background, glass only reads as glass when there is detail behind it to distort. If your preview looks like a plain translucent box, the problem is the backdrop, not the settings.

Legibility is the recurring failure. A blurred backdrop still varies in brightness, so text over glass can be perfectly readable in one scroll position and unreadable in another. The fixes are to raise the tint opacity above about 15%, add saturation to push the backdrop toward a consistent tone, and always verify contrast against the lightest and darkest points the backdrop reaches. A glass panel that passes WCAG AA over one photo may fail badly over another.

There is a real performance cost too. backdrop-filter forces the browser to composite and blur a region on every frame, which is expensive, especially on mobile, and especially if the content behind it is animating or scrolling. Use it on a handful of elements rather than throughout an interface. Safari also still requires the -webkit- prefix, and Firefox only enabled it by default relatively recently, so include a solid-colour fallback inside an @supports query for browsers that lack it.

Frequently asked questions

Yes, completely. Glassmorphism Generator is free with no usage limits, no account and no sign-up. There is no paid tier and no trial that expires. Tools marked Premium on this site carry that label to indicate a deeper feature set, not a price.
Glassmorphism Generator covers blur, transparency and saturation control, custom tint colour and border strength, four preview backgrounds to judge against, among other things. Everything is available immediately with no account, no sign-up and no usage limit.
The effect depends entirely on backdrop-filter, which blurs whatever is painted behind the element rather than the element itself. That means it does nothing over a flat background, glass only reads as glass when there is detail behind it to distort. If your preview looks like a plain translucent box, the problem is the backdrop, not the settings.
Everything happens inside your browser. The text you enter is processed by JavaScript running on your own device and is never sent to a server, there is no backend to send it to. You can confirm this in your browser's Network tab while you use the tool. Because nothing depends on a server, the tool also keeps working offline once the page has loaded, the site registers a service worker that caches it after your first visit.

Related tools

Further reading

📖 Glassmorphism: The Frosted-Glass UI Effect Explained

Read the full guide on the 123MiniApps blog.

Pick a theme

Ten hand-tuned palettes.