---
title: Word & Character Counter with Limit
description: Show a live word and character counter in the status bar and cap input length with limitChars or limitWords.
keywords: character counter, word counter, max length, limit input, jodit status bar
---

# Word & character counter with a limit

Jodit can show live word and character counters in the status bar and cap how
much a user may type with `limitChars` or `limitWords`.

```javascript
const editor = Jodit.make('#editor', {
	showCharsCounter: true,
	showWordsCounter: true,
	countHTMLChars: false, // count the visible text, not the HTML markup
	limitChars: 200 // stop input after 200 characters
});
```

- `showCharsCounter` / `showWordsCounter`: toggle the counters in the status bar.
- `countHTMLChars`: `false` (default) counts the visible text; `true` counts the raw HTML length.
- `limitChars` / `limitWords`: a number caps the input; `false` (default) disables the limit.

## Result

Type in the editor. The counters update live and input stops at 200 characters.

```html
<!-- Example Start -->
<textarea id="editor">
Try typing here. The counters are in the status bar and input stops at 200 characters.</textarea
>
<script>
	Jodit.make('#editor', {
		showCharsCounter: true,
		showWordsCounter: true,
		countHTMLChars: false,
		limitChars: 200
	});
</script>
<!-- Example End -->
```
