CSS Loading Spinner Generator

Customize size, color, and speed to generate a pure-CSS spinner, with copyable HTML and CSS.

A loading spinner is one of the simplest CSS animations, but tuning size, color, thickness, and speed to fit a specific design takes some trial and error if you're writing it from scratch every time.

Adjust the sliders and color picker to customize a classic rotating-ring spinner, watch it animate live in the preview, then copy both the CSS keyframe animation and the matching HTML markup needed to use it.

This is a lightweight alternative to loading a spinner library or icon font just for one loading indicator — the generated code is a self-contained CSS animation with no external dependencies.

Because everything runs locally in your browser, results appear instantly and nothing you type or upload is ever sent to a server.

Bookmark this page if you expect to use this tool regularly — it loads fast and behaves the same way every time, with no account needed.

This kind of task shows up constantly in everyday writing, coding, design, and admin work, which is exactly why a dedicated, focused tool saves so much back-and-forth.

A tool that does one job well, without a cluttered interface or unrelated features competing for attention, tends to be faster to use than a heavier all-in-one app.

Frequently asked questions

Does this require any JavaScript to animate?

No, the spinning animation is pure CSS using the @keyframes rule — no JavaScript is needed to make it spin.

Can I use multiple spinners with different colors on the same page?

Yes, since the color is set inline via CSS custom properties in the generated code, you can duplicate the markup and adjust the color for each instance independently.