# CSS Loader Generator

> Pick a pure CSS spinner, tweak it and copy HTML and CSS. Runs entirely in your browser — nothing is uploaded.

Source: https://toffeekit.com/tools/css-loader-generator

**Category:** [Design](https://toffeekit.com/category/design) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/css-loader-generator

**Also useful for:** css loader, spinner, loading animation, css spinner, preloader, progress

## What you can do

- **Classic ring** — The familiar spinning circle for buttons and pages. ([open with this preset](https://toffeekit.com/tools/css-loader-generator?preset=ring))
- **Bouncing dots** — Three dots for chat and inline loading states. ([open with this preset](https://toffeekit.com/tools/css-loader-generator?preset=dots))
- **Progress bar** — An indeterminate bar for the top of a page. ([open with this preset](https://toffeekit.com/tools/css-loader-generator?preset=progress))

## How it works

1. Choose a loader from the gallery, such as Ring, Bouncing dots, Bars or Progress bar.
2. Set Color, Track color, Size, Thickness and Duration under Style.
3. Give it your own Class name and keep Slow down for reduced motion on if you like.
4. Copy the HTML and the CSS into your page.

## FAQ

### How do I make a loading spinner with only CSS?

Give an element a border with one colored side, round it with border-radius: 50% and rotate it with a looping keyframe animation. The Ring loader is that recipe.

### Do these loaders need JavaScript or images?

No. Each is one small HTML element styled with CSS, so it works anywhere and scales sharply.

### How do I show and hide the loader?

Add the loader while content loads and remove it, or toggle the hidden attribute, once it's ready.

### Are the loaders accessible?

The HTML includes role="status" and aria-label="Loading" so screen readers announce it, and the optional reduced-motion rule slows the animation for people who ask for less motion.

### Can I use several different loaders on one page?

Yes. Give each a different class name; every rule and keyframe is scoped to that name so they don't clash.

### Is CSS Loader Generator free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

CSS Loader Generator runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Color Picker & Converter](https://toffeekit.com/tools/color-picker) — Pick a color and convert HEX, RGB, HSL, OKLCH, CMYK.
- [Gradient Generator](https://toffeekit.com/tools/gradient-generator) — Build linear, radial and conic CSS gradients.
- [Contrast Checker](https://toffeekit.com/tools/contrast-checker) — Check WCAG contrast and find passing colors.
- [Palette Generator](https://toffeekit.com/tools/palette-generator) — Make harmonious palettes from one base color.
- [Shade Scale Generator](https://toffeekit.com/tools/tailwind-shade-generator) — Turn one color into a Tailwind 50–950 scale.
- [Box Shadow Generator](https://toffeekit.com/tools/box-shadow-generator) — Design layered CSS box shadows visually.

