Skip to main content
WizTools123
Free Online Tools

Tool Categories


Developer Tools New Tool

Free Online CSS Skeleton Loader Generator

Build skeleton placeholders for text lines of varying widths, a heading, an avatar circle, an image block and a full card. Set the base and highlight colour, the corner radius, the shimmer direction and speed, or use a plain pulse instead, with a reduced motion block written every time.

Free Forever Runs in Your Browser Shimmer or Pulse Reduced Motion Built In
Free Online CSS Skeleton Loader Generator
Share this tool
CSS Skeleton Loader Generator Everything happens in this tab. Nothing you paste is sent anywhere.
Preview

On the left is a card skeleton, on the right the pieces on their own. Both are real elements running the generated CSS, on a white surface so the colours read the way they will on a light page.

CSS
Colour and shape px
Movement ms
Pieces px px px px
Buy Us A Coffee

Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.

Buy Us A Coffee

How to Use CSS Skeleton Loader Generator

Step by step, start to finish.

1
Set the two colours

The base is the resting colour of the placeholder and the highlight is the band that sweeps across it. Keep them close together: a strong contrast between the two turns a quiet loading state into a flashing one.

2
Choose shimmer or pulse

A shimmer sweeps a gradient across the block left to right, right to left, diagonally or top to bottom. A pulse fades between the two colours, which is calmer and paints a flat colour rather than a gradient. The cycle runs from 400 to 4000ms for both.

3
Size the pieces

Line height and gap should match the real text they stand in for, and the title height should match the real heading. The avatar is a circle, the image block uses a 16 / 9, 3 / 2, 4 / 3 or 1 / 1 aspect ratio, and the card holds one to six body lines.

4
Copy the set

The output holds the base rule, the line, title, avatar and image pieces, the card layout, the keyframes and a reduced motion block. The HTML it expects is written as a comment at the top, including the aria-hidden that keeps it out of the way.

Key Features

What this tool does, and what it does not do.

All the usual pieces

Text lines of varied widths, a title, an avatar circle, an image block and a card.

Shimmer or pulse

A moving gradient in four directions, or a calmer colour pulse.

Reduced motion

Included in every output: the shimmer stops, and the pulse slows by 2, 3 or 4 times.

A realistic preview

A real card skeleton, on a white surface, running the real CSS.

Paste ready output

The whole set with the expected HTML as a comment at the top.

Runs in your browser

Nothing is sent anywhere. The page works with the network off.

About CSS Skeleton Loader Generator

A skeleton screen is a promise about the layout. It says the content is coming and it will be this shape, and it works because the eye has somewhere to rest while the network does its job. The promise holds when the placeholder and the real content agree about size: the data slides into the space already reserved for it, and the person keeps their place in whatever they were reading.

This page generates the pieces a skeleton is made from, ready to arrange to fit your own component. There is a base class that carries the colour and the animation, and then a line, a title, an avatar and an image block, plus a small card layout showing how they stack. The preview puts a real card skeleton on a white surface next to the individual pieces, so you can judge the colours the way they will actually appear.

What can you set?

  • Colours: a base and a highlight, with a corner radius up to 20px.
  • Animation: shimmer in four directions or a pulse, on a cycle from 400 to 4000ms.
  • Text: line height from 6 to 24px, a gap from 2 to 24px and a title height from 10 to 40px. Lines vary in width (100%, 92%, 78% and so on) so they read like real text.
  • Media: an avatar from 20 to 80px and an image block at 16 / 9, 3 / 2, 4 / 3 or 1 / 1.
  • Card: one to six body lines.

How are the animations built?

The shimmer is a three stop linear gradient, base to highlight to base, whose background position is animated across the block. The pulse animates the background colour between the two shades. Both repaint the block on every frame, which is light work for a card or two; on a long list the pulse is the calmer and simpler option.

The reduced motion block is written every time. A skeleton keeps its whole meaning when it stands still, so under prefers-reduced-motion the shimmer stops outright and the gradient is removed. A pulse is slowed instead, by the factor you choose: two, three or four times the normal cycle.

What markup does it expect?

The comment at the top of the output shows a role="status" wrapper holding a visually hidden "Loading" message, with the card itself marked aria-hidden="true". Screen reader users hear that the page is loading, and the empty placeholder blocks stay out of their way.

Frequently Asked Questions

Common questions about this tool.

When you know the shape of what is coming and there is more than one piece of it: a feed, a list of cards, a profile, a table of rows. A skeleton tells the person what to expect and where it will be. For a short wait after an action, such as saving a form, a spinner or a button in a loading state is more appropriate, because there is no layout to promise.

The jump comes from a size difference between the skeleton and the content. Check the line height and the gap against the real text, count the lines, and give the image placeholder the same aspect ratio as the real image. If the real text wraps to four lines and your skeleton has three, the page will move by one line height every time. Matching those numbers keeps the page perfectly still.

It is cheap on a handful of elements and noticeable on a hundred. Animating a background position makes the browser repaint each block on every frame, and every skeleton block is a separate painted element, so a long list adds up. For many rows the pulse is a good choice: it paints a flat colour rather than a gradient, and it is also the calmer of the two on a screen full of placeholders.

Yes. It is decoration standing in for content that is still on its way, so mark it aria-hidden="true" and put the actual loading message in a live region with role="status". That way a screen reader announces that the page is loading, instead of a group of empty elements, and the person knows the page is working. The generated markup comment is set up exactly like this.

Keep the base and the highlight close together, a few percent of lightness apart, and both quiet against the page background. On a light page a light grey base with a slightly lighter highlight is the convention. A high contrast sweep draws the eye to the loading state rather than to the content that is about to replace it, which is the opposite of what a skeleton is for.

More Developer Tools

Other tools from the same hub, free and in your browser.

All Developer Tools

Feedback

No feedback on this tool yet. Yours would be the first.