Text Token Count
Counts characters, words, lines, bytes, and estimated tokens for common model families.
Run tool
Form input
Direct JSON or Markdown
Submit JSON directly or Markdown that can be converted into JSON.
Work steps
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
text | text | Yes | Text |
Outputs
| Name | Type | Description |
|---|---|---|
characters | integer | Characters |
words | integer | Words |
lines | integer | Lines |
estimated_tokens | integer | Estimated tokens |
work | array | Work |
Sample request
{
"text": "Hello world from CodableAI"
}