Live Visitor Counter Generator
Create a live visitor counter widget showing how many people are currently viewing your page. Choose from badge, bar, or minimal styles.
Live Preview
👁47 people viewing this page
Generated Code
<style>.vc-widget{display:inline-flex;align-items:center;gap:8px;background:#fef3c7;color:#92400e;padding:8px 16px;font-family:system-ui,sans-serif;font-size:14px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,0.1)}
.vc-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;animation:vc-pulse 2s infinite}@keyframes vc-pulse{0%,100%{opacity:1}50%{opacity:.4}}</style>
<div class="vc-widget">
<span class="vc-dot"></span> <span style="font-size:16px">👁</span> <strong id="vcCount">47</strong> people viewing this page
</div>
<script>(function(){var base=47,v=12,el=document.getElementById("vcCount");
function update(){var n=base+Math.floor(Math.random()*v*2)-v;if(n<1)n=1;el.textContent=n}
update();setInterval(update,3002)})();</script>