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
- English words, Chinese characters and total characters — live, as the visitor types.
- Reading time, using 200 words or 300 Chinese characters per minute.
- The counting runs in the browser: the text is never uploaded, and there is no API key or quota.
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
- Free to embed, including on commercial sites. No attribution required — the "Powered by" line is part of the widget.
- The count needs JavaScript, but nothing is sent over the network — no API call, no upload, no quota.
- Need the full tool instead? Open the word counter.
Questions or a different embed size? Contact.