Boneyard Tools

Text Truncator

Paste text and cut it down to a set number of characters or words. Word-safe mode avoids splitting words, and an ellipsis is added only when text is shortened.

How to truncate text

  1. Paste or type your text into the box.
  2. Choose whether to limit by characters or words, then set the limit.
  3. Turn on word-safe cutting if you like, then copy the truncated result.

Examples

Character limit, word-safe

"The quick brown fox jumps", limit 20
The quick brown fox...

Word limit

"one two three four five", limit 3 words
one two three...

Frequently asked questions

When is the ellipsis added?

Only when the text is actually shortened. If your text already fits within the limit it is returned unchanged, with no trailing dots.

What does word-safe cutting do?

In character mode it avoids splitting a word in half. The tool backs up to the previous space so the kept text ends on a whole word.

Does the limit include the ellipsis?

No. The limit counts only the kept content. The ellipsis is added on top, so the visible text may be a few characters longer than the limit.

Can I limit by words instead of characters?

Yes. Switch the mode to words and the tool keeps the first N words, joins them with single spaces, and adds the ellipsis if any words were dropped.

Is my text private?

Yes. The truncation runs entirely in your browser, so your text never leaves your device.

Related tools