ToolNest

Text Truncator

Cut text to N characters or bytesRuns locally · nothing uploaded

Input
Output

134 → 21 characters

Also works as:truncate textsubstring toolcharacter limit

How to use

  1. 1Paste text.
  2. 2Choose a mode and enter the numbers.
  3. 3Copy the result.

FAQ

Characters vs bytes?

A Chinese character or emoji is one character but 3–4 bytes in UTF-8. Some databases and APIs limit bytes.

Can it split an emoji in half?

No. Truncation always keeps whole characters.