Animated Counter

New

Show your numbers counting up when visitors scroll to them. Add stats such as "10,000+ customers", "99.9% uptime" or "4.9/5 rating", each with its own label, and show them as cards, with dividers or plain. The counter is plain HTML, CSS and a little JavaScript, with nothing loaded from xorbin.com.

Live preview
Embed code

Everything happens in your browser. The code is self-contained: it doesn't load anything from xorbin.com and doesn't track your visitors. The share link keeps your settings in the part of the address after #, which is never sent to a server.

How to add the counter to your website

  1. Under Numbers, open each number and set its value, the text before and after it, and its label. Use + Add number for more.
  2. Choose the duration, style and colors. The preview counts up again every time you change something.
  3. Click Copy code.
  4. Paste it into your page as HTML, where the numbers should appear.
  • WordPress: add a Custom HTML block and paste the code.
  • Shopify: add a Custom Liquid section in the theme editor.
  • Wix: use Embed code → Embed HTML.
  • Squarespace: add a Code block.
  • Webflow: drag in an Embed element.
  • Plain HTML: paste the code where the widget should appear.

To come back to your numbers later, click Copy share link and save the link. Opening it restores every setting, so you can update a number and copy the code again.

Features

Counts when it's seen

Each number starts counting when it scrolls into view, so visitors see the animation instead of missing it at the top of the page. Turn on Count again to replay it each time.

Any kind of number

Whole numbers, decimals such as 4.9 or 99.9, and negative numbers, with text before and after: $, +, %, k or /5. Thousands separators follow your page's language.

Steady layout

The space for each number is set by its final value, so the cards don't jump or change width while counting, and long numbers shrink to fit on small phones.

Accessible and search-friendly

Screen readers, search engines and copy-paste get the real number, not the count in progress. Visitors who turn off animations in their system settings see the final numbers straight away.

Ideas for using it

  • Home page: customers, downloads, countries or years in business.
  • Product pages: uptime, response time or a rating.
  • Fundraising and nonprofits: money raised, meals served or trees planted.
  • Portfolios: projects finished, clients or awards.

Use numbers you can stand behind, and update them now and then. Open your share link, change the numbers and copy the code again.

Frequently asked questions

Does Google see the final number or zero?

The final number. It's in the HTML from the start, so search engines and visitors without JavaScript see it. The animation only changes what's drawn on screen.

Can the counter update itself, for example from my sales?

No. It shows the numbers you set in the builder. To change them, open your share link, edit the numbers and copy the new code.

Why does 4.9 count with one decimal?

Decimals follow the number as you type it, up to three places. Write 48 for whole numbers and 4.9 for one decimal.

Can I put several counters on one page?

Yes. Each copy has its own class names, so different counters don't affect each other.

Can I remove the Xorbin credit?

Yes. Turn off the credit link under Credit before you copy the code. It changes nothing else.

Further reading

Last updated:

© 2008–2026 XORBIN.COM. All rights reserved.