📝

Text Tools & Utilities

Word count, case converter, and text manipulation tools

0
words
0
characters
0
characters No Spaces
0
sentences
0
paragraphs
1
lines
0
reading Time

Available Text Operations

Counting Tools

  • Word Count: Count total words in your text
  • Character Count: Count characters with and without spaces

Case Conversion

  • UPPERCASE: Convert all text to capital letters
  • lowercase: Convert all text to small letters
  • Title Case: Capitalize Each Word
  • Sentence case: Capitalize first letter of each sentence

Text Manipulation

  • Reverse Text: Reverse the entire text string
  • Remove Duplicates: Remove duplicate lines
  • Sort Lines: Sort all lines alphabetically
  • Remove Empty Lines: Clean up blank lines
  • Trim Lines: Remove whitespace from line edges
  • Number Lines: Add line numbers

Generators

  • Dummy Text: Generate filler text for designs

Counting Text Is Less Obvious Than It Looks

Every field with a limit — a meta description, a tweet, an SMS, a database column — counts something slightly different, and the differences are large enough to break things.

Characters Are Not Code Points Are Not Bytes

Take a single emoji with a skin-tone modifier. A person sees one character. JavaScript's .length reports several, because it counts UTF-16 code units. UTF-8 encoding produces more bytes again.

TextPerceivedJS .lengthUTF-8 bytes
hello555
café445
日本語339
👋124
👩‍💻1511
A VARCHAR(255) that counts bytes holds 255 ASCII characters or 63 emoji. A form validating with .length rejects text a byte-counting backend would accept, and vice versa. Decide which unit your limit is in before writing the validation.

Words Depend on a Definition

"Splitting on whitespace" is a definition, not the definition. Hyphenated compounds, contractions, numbers with separators and em-dashes without spaces all sit on judgement calls, and languages without spaces between words — Chinese, Japanese, Thai — defeat the approach entirely.

For English prose the whitespace rule is close enough that the disagreement between tools is usually 1–2%. For anything where the count is contractual — a word-limited essay, a paid translation — confirm which definition is being applied before you rely on it.

Reading Time Is a Word Count in Disguise

The usual figures come from reading-speed research and are averages with enormous variance:

ContentWords per minute
Technical documentation150–200
General non-fiction200–250
Light web content250–300
Dividing by 225 is the common convention. Treat the output as a rough courtesy to the reader rather than a measurement — code blocks, tables and images all break the model completely.

Length Limits Worth Knowing

FieldLimitCounts
Title tag~60 characters displayedPixels, not characters
Meta description~155–160 displayedPixels, not characters
SMS (GSM-7)160 per segmentCharacters, 70 if any Unicode
Twitter/X280Weighted code points
Open Graph title~60–90Characters
The two SEO fields are the ones people get wrong most often, because Google truncates on rendered width, not character count. A title of sixty i characters fits comfortably; a title of sixty W characters does not.

Which Tool to Use

  • [Word counter](/dev/text-tools/word-counter) for drafting to a target length.
  • [Character counter](/dev/text-tools/character-counter) for fields with a hard cap,
where the unit matters.

Everything Happens in Your Browser

The text is counted locally in JavaScript. Nothing is uploaded, nothing is logged, and the tools work offline once the page has loaded — which matters more than it sounds for the obvious use case of pasting in something confidential to check its length.

Frequently Asked Questions

How accurate is the word count?

Our word counter splits text by whitespace, so hyphenated words count as one word. This matches most word processor behavior. The character count includes all characters including spaces.

What text operations are available?

We offer word/character counting, case conversion (upper, lower, title, sentence), text reversal, duplicate line removal, line sorting, empty line removal, line trimming, line numbering, and dummy text generation.

Is my text stored anywhere?

No. All text processing happens locally in your browser. Your text is never sent to any server or stored anywhere.

Related Tools

Explore other tools you might find useful:

Specialized Versions

Try our targeted calculators for specific use cases: