Text tools

Word & Character Counter

Count words, visible characters, lines and UTF-8 bytes locally, including Unicode text.

Runs locally
Input: up to 1 MB. Output: up to 2 MB. Files stay in your browser.
Guide

Count the text you enter and see how the totals change as you edit. Use the separate counts to distinguish words, characters and lines when checking a length requirement.

  1. Add your text

    Paste into Input, choose an example or select Open file. You can also drop one UTF-8 text file into Input.

  2. Read the counts

    Output shows words, visible characters, lines and UTF-8 bytes. The counts update as you type.

  3. Keep the result

    Use Copy output or Download above the fields. The main button runs the operation again. Clear removes the input.

On mobile, choose Output to read the result. Clear removes both fields.

Counts

  • Words: count words using English Unicode word segmentation.
  • Characters: count visible characters, including whitespace. A combined family emoji counts as one.
  • Characters without whitespace: exclude spaces, tabs and line breaks.
  • Lines: empty input has zero lines; a final line break adds an empty line.
  • UTF-8 bytes (Unicode Transformation Format, 8-bit): measure encoded text size, which can exceed the visible character count.
Shortcuts
  • Ctrl / Cmd + Enter — Run selected action
  • Ctrl / Cmd + Shift + C — Copy output
  • Ctrl / Cmd + S — Download output
  • ? — Show shortcuts outside text fields

Shortcuts work while focus is in the workspace. Copy and download need valid output.

Common questions
Is my text uploaded?
No. Processing happens in a local browser worker. Your text and filenames are not uploaded or saved.
How are characters and lines counted?
Words use English Unicode word segmentation. Characters count visible graphemes, so a family emoji is one character. Whitespace is included unless the label says otherwise. Empty text has zero lines; a trailing line break adds an empty line. CRLF counts as one line break. UTF-8 bytes measure file size.
What are the limits?
Input: 1 MB of UTF-8 text. Output: 2 MB. Processing stops after five seconds. A limit produces an error, not a shortened result.

Was this tool helpful?

Only your rating and optional feedback are sent. Your tool input and output are never included.