ToolBuddy
In Browser

String Length

Count characters, words, lines, and UTF-8 bytes for a pasted string. Useful for payload size checks. Counting is local.

Runs in your browser. Nothing is uploaded.

0 characters · 0 lines

0 characters · 0 lines

About this tool

Count characters, non-space characters, words, lines, and UTF-8 bytes. Byte size uses TextEncoder.

How to use: paste text, copy the stats. Surrogate pairs count as two UTF-16 code units in the character total.

Example: a JSON payload shows whether it fits an env var. Related: hash generator if you needed a digest instead of a size.

Related Web tools