Countable.js – A JavaScript function to Add Live paragraph-, word- and character-counting


Countable is a JavaScript function to add live paragraph-, word- and character-counting to an HTML element. Countable is a zero-dependency library and comes in at 1KB when minified and gzipped.

Countable offers easy-to-use methods you can use in your project. and Countable.once() accept one or more HTML elements and a callback that receives one parameter — holding all counted values — and this bound to the relevant element.

To enable full live-counting on an element, call


Demo & Source