Boneyard Tools

Text Truncator

Paste any text and trim it to a fixed number of characters or words. Word-safe mode backs up to the last whole word so nothing is cut mid-word, and the ellipsis is only added when the text is actually shortened, which makes this handy for meta descriptions, previews and tidy list snippets.

How to truncate text

  1. Paste or type your text into the top box.
  2. Set the limit number and choose whether it counts characters or words.
  3. Edit the ellipsis if you want something other than three dots.
  4. In character mode, leave Word-safe on to avoid splitting a word.
  5. Copy the result, or note the No change label if the text already fit.

Examples

Character limit, word-safe

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

Word limit of three

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

Already short enough

"Read more", limit 50 characters
Read more

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 and a No change label, so you never get a stray ellipsis on text that was not cut.

What does word-safe cutting do?

In character mode it avoids splitting a word in half. If the cut would land inside a word, the tool backs up to the previous space so the kept text ends on a whole word, then adds the ellipsis after it.

Does the limit include the ellipsis?

No. The limit counts only the kept content. The ellipsis is added on top, so the visible result can be a few characters longer than the limit. Subtract the length of your ellipsis from the limit if you need a hard cap.

Can I limit by words instead of characters?

Yes. Switch the mode to words and the tool keeps the first N words, rejoins them with single spaces, and adds the ellipsis only if any words were dropped. Word-safe is not needed in this mode and is disabled.

What happens with one very long word?

If word-safe mode cannot find an earlier space, because the whole kept portion is a single unbroken word, it falls back to a hard character cut so you still get a result at the limit rather than nothing.

How are emoji and accented letters counted?

Characters are counted by Unicode code point, so an emoji or an accented letter counts as one character and is never split down the middle by a character-mode cut.

What is the custom ellipsis for?

It is whatever marker you want appended to shortened text. The default is three dots, but you can use a single ellipsis character, a space and arrow, the word more, or leave it empty to cut with no marker at all.

Is my text private?

Yes. The truncation runs entirely in your browser, so your text never leaves your device and nothing is sent to a server.

Learn more

Related tools