Embed a free word counter on your site

One iframe that counts words, characters and reading time as your visitor types. Built for teachers, writing centers, editors and student resource pages that need a count without sending readers to a signup wall.

What it counts

Live preview

Snippet (fixed height)

Simplest option — pick a height that fits your layout.

<iframe
  src="https://getpracticaltools.com/embed/word-counter"
  title="Free word counter"
  style="width:100%;max-width:480px;height:265px;border:1px solid #e5e7eb;border-radius:12px"
  loading="lazy"
></iframe>

Snippet (auto-resize)

The widget reports its own height, so the iframe grows when the number cells wrap on narrow screens. Paste both the iframe and the listener.

<iframe
  id="word-counter-widget"
  src="https://getpracticaltools.com/embed/word-counter"
  title="Free word counter"
  style="width:100%;max-width:480px;height:265px;border:0"
  loading="lazy"
></iframe>
<script>
  window.addEventListener('message', function (e) {
    if (e.origin !== 'https://getpracticaltools.com') return;
    if (e.data && e.data.type === 'practical-tools-word-counter') {
      var el = document.getElementById('word-counter-widget');
      if (el) el.style.height = e.data.height + 'px';
    }
  });
</script>

Notes

Questions or a different embed size? Contact.