Library / Data & backend / Character
No. 119·noun·also called letter, char, character limit

Character

A single letter, digit, space, or symbol; the unit software uses to measure and limit text.

SPECIMEN · DIAGRAM · COMPARE

Character

  • One letter, digit, or symbol
  • Spaces count
  • Used for limits and counters

Word

  • Characters split by spaces
  • Length varies a lot
  • Hard to limit precisely

Token

  • Chunk an AI model reads
  • Often about 4 characters
  • Used for AI limits and cost
Definition

What it is

A character is one unit of text: a letter, a number, a space, a punctuation mark, an accented letter, or an emoji. "Hello!" is six characters. Spaces count too, which surprises people.

You use the word when you need to set limits or rules on text. "Bio can be at most 160 characters." "Password needs a special character." "Show how many characters are left." Saying characters instead of words gives the agent a number it can check exactly.

A character is not a word, and it is not a token. Tokens are the chunks an AI model reads, and they are usually several characters long. Watch the edges too: emoji and some non-English letters can be counted differently by different systems, so say whether they must be allowed.

Say it like a builder

How to ask for it

Vague

“I want the bio box to not let people type too much, and it should show them how much they have left.”

Precise

“Limit the bio field to 160 characters, spaces included. Show a live counter under it, turn the counter red at 150, and stop accepting input at 160. Allow emoji and accented characters.”

Why it works

"Too much" has no number or unit, while "160 characters, spaces included" gives a limit the agent can build and you can test.

In the wild

You've seen this in

  • XThe 280-character limit and the shrinking counter ring when you write a post on X
  • SPassword rules like "at least 8 characters and one special character" on a sign-up page
  • IThe "0/160" counter under a bio box in Instagram's profile editor
Usage note

Often confused with