Website Hit Counter

Generate a customisable visitor hit counter in classic or modern styles with copy-paste embed code.

Visitors

001000

Live preview increments to simulate traffic

Embed code (paste before </body>)
<!-- Hit counter by SEO Audit Tool -->
<div id="hit-counter" style="display:inline-flex;gap:4px;padding:8px 12px;border-radius:8px;background:#0f172a;color:#a3e635;font-family:monospace;font-size:24px;letter-spacing:2px">001000</div>
<script>
(function(){var k='hc_'+location.hostname,n=parseInt(localStorage.getItem(k)||'1000')+1;localStorage.setItem(k,n);document.getElementById('hit-counter').textContent=String(n).padStart(6,'0');})();
</script>
This counter stores the number in the visitor's browser (localStorage) so it needs no server. For real site-wide totals, use a privacy-friendly analytics tool such as Plausible, Umami or Google Analytics.

Website Management Tools

About the Website Hit Counter

The Website Hit Counter tool creates a small counter you can paste into a page, in digital, odometer, modern or minimal styles. You can set the starting number, the number of digits and a label, then preview it and copy the embed code.

Please understand how it counts. The number is stored in each visitor's own browser, so no server or account is needed, but it counts that person's visits rather than total site visits. Two people will see different numbers. It suits a decorative or retro touch, not real reporting.

For true traffic figures, use a proper analytics service such as Google Analytics, which shows visitors, pages and sources privately in your dashboard. If you set a high starting number, avoid presenting it as real traffic, as visitors should not be misled.

How to use this tool

  1. 1Set the starting count and the number of digits.
  2. 2Choose a style and write a label.
  3. 3Check the preview.
  4. 4Copy the embed code and paste it before the closing </body> tag of your page.

Best-practice tips

  • Use it for a personal or hobby site, where a retro look is part of the fun.
  • Keep it near the footer so that it does not distract from your content.
  • Use analytics, not this counter, for any decision about your website.

Answers

Website Hit Counter FAQs

No. It stores the number in each visitor's browser, so each person sees their own count.

Related tools

Continue with these related website management tools.