Skip to content

CSS Loader Generator

Dependency-free loading spinners. Preview, tune, copy the CSS.

Everything runs in your browser β€” your settings are never uploaded.

1 Pick a style2 Tune colour, size + speed3 Copy the CSS

Size 48px
Speed 1.0s

The copied text starts with the one-line HTML snippet, then the CSS. Paste both into your page: the HTML where the loader belongs, the CSS into your stylesheet. No library, script or image is needed to run any of the five loaders.

⏳Design & Creator
Free Β· No sign-up Β· Your files never leave your browser

Free, no sign-up β€” pick a loader, tune it live, and copy dependency-free CSS in seconds.

Every page that fetches data or submits a form needs a small signal that says: wait, something is happening. A CSS loader is that signal β€” a tiny animation drawn entirely with styles, no image file and no script library. This generator gives you five ready-made loaders. Pick a style, tune colour, size and speed in a live preview, then copy the exact code into your own page.

Every page that fetches data or submits a form needs a small signal that says: wait, something is happening. A CSS loader is that signal β€” a tiny animation drawn entirely with styles, no image file and no script library. This generator gives you five ready-made loaders. Pick a style, tune colour, size and speed in a live preview, then copy the exact code into your own page.

πŸ”’Private by design
Your files never leave your device
⚑Instant
No uploads, no queues, no waiting
🎁Free, no sign-up
No account, no card, nothing to install

Who needs a loading spinner, and when

Website owners add loaders to contact forms, checkout steps, dashboards and search results, anywhere a visitor would otherwise stare at a frozen screen and wonder whether a click worked. WordPress and shop builders use them behind page transitions and product filters. App developers place them inside buttons and panels while data loads. Beginners use a generator like this to learn how keyframe animation works, because every value in the output is visible and editable afterwards.

How to use the CSS Loader Generator

  1. Choose a style. Pick Spinner, Ring, Dots, Bars or Pulse from the Style menu. The preview and the code update immediately.
  2. Pick a colour. Use the Color swatch to set the loader colour. The default is gold, #d4af37.
  3. Set the size. Drag the Size slider between 20 and 100 pixels. The readout beside it shows the current size, starting at 48px.
  4. Set the speed. Drag the Speed slider to change the animation duration, from 0.4s up to 3.0s. The readout shows the duration, starting at 1.0s.
  5. Copy the code. Click Copy CSS. The button briefly reads βœ“ Copied! to confirm.
  6. Paste both parts into your page. Put the HTML snippet where the loader belongs and the CSS into your stylesheet. Hide the loader with your own code once loading finishes.

The five loader styles, exactly as coded

Spinner is a circle with a thick border. Its top edge takes your chosen colour while the rest of the ring stays a fixed pale gold tint, rgba(212,175,55,.2), and the whole circle rotates a full 360 degrees. Ring is also a rotating circle, but its border is transparent except for the top and bottom edges, which both take your colour, giving a lighter double-arc effect. Dots shows three circles in a row that bounce upward in sequence, with fixed delays of .15s and .3s on the second and third dots. Bars shows five vertical bars that grow and shrink in height one after another, with fixed delays from .1s to .4s. Pulse is a single filled circle that scales between .6 and full size while fading between opacity .5 and 1.

Sizes inside each loader are derived from your Size value, never set separately. Border thickness is the size divided by 8, rounded, with a minimum of 3 pixels. Each dot is a quarter of the size, its gap is an eighth, and it bounces up by a third. Each bar is a seventh of the size wide, with a gap of a twelfth. Speed sets one duration for the whole loader; the stagger delays above are fixed and do not scale with speed.

The copied output is plain CSS plus one line of HTML. It uses no library, framework, script or image file β€” that is what dependency-free means here, and you can verify it by reading the copied text: a class rule and one @keyframes block per loader. Class names in this standalone version begin with vsClg, so check before pasting if you already use that prefix.

Honest limits: what this tool does not do

There are exactly five styles. There is no custom shape builder, no text loader and no progress bar that fills to a percentage β€” these loaders signal waiting, they do not measure progress. There is no separate control for border thickness, dot size, bar width, gaps or delays; all follow the formulas above. There is no background or second colour, and the Spinner track tint stays pale gold even when you choose another main colour, because it is fixed in the code. There is no reduced-motion setting, no pause control and no download button β€” output leaves only through Copy CSS. Hiding the loader when content is ready is your own page’s job: the generator ships the animation, not the loading logic.

Frequently asked questions

Is this CSS loader generator really free?

Yes. Pick a loader, tune it and copy the CSS β€” no payment, no account, no watermark and no limit on how many loaders you generate.

How do I use the tool?

Choose a style from the Style menu, pick a colour, then drag the Size and Speed sliders while watching the preview. Click Copy CSS, paste the HTML line where the loader belongs and paste the CSS into your stylesheet.

Which loader styles does it include?

Exactly five: Spinner, a rotating bordered circle; Ring, a rotating circle with coloured top and bottom edges; Dots, three bouncing circles; Bars, five growing and shrinking bars; and Pulse, one fading, scaling circle.

What exactly do I copy, and where do I paste it?

You copy one block of text: the one-line HTML snippet for the loader element, then a CSS comment marker, then the CSS rule and its @keyframes block. Paste the HTML into your page markup and the CSS into your stylesheet or a style block.

Does the copied CSS need a library, script or image?

No. The output is plain CSS plus one HTML line. It uses no library, framework, script or image file, so it runs anywhere CSS animations are supported.

What can I not change with this tool?

Border thickness, dot and bar sizes, gaps and the stagger delays are all derived from the Size value or fixed in the code β€” there are no separate controls for them, and no background or second-colour setting. The Spinner track also stays a fixed pale gold tint.

Related tools

  • Design & Creator Tools β€” the full design and creator toolbox on one page, including this CSS Loader Generator.
  • Free Tools β€” every free VeloSpark Digital tool in one place.

Built by Umar Hayat β€” VeloSpark Digital

More Design & Creator Tools

Top Tools

Tool Categories

More from VeloSpark

Β© 2026 VeloSpark Digital Β· Privacy Policy Β· Terms of Service Β· Disclaimer Β· About Β· Contact Β· Editorial Policy Β· Privacy settings

πŸͺ We value your privacy. We use cookies and browser storage to run this site, remember your favorites and understand which tools help people most. If ads are enabled on this site later, cookies may also be used to show them. The tools themselves work either way β€” your files never leave your device. You can change your choice at any time from the Privacy settings link in the footer. Read our Privacy Policy.