My Tools Garage

Truncate Text

Shorten text to a character or word limit.

in-browser

How to use

  1. 1 Paste the text you want to shorten.
  2. 2 Choose to truncate by character or by word.
  3. 3 Set the limit and, optionally, a custom ellipsis.
  4. 4 Copy the truncated result.

About Truncate Text

The Truncate Text tool trims long text down to a length you choose, appending an ellipsis so readers know more was cut.

It is the everyday operation behind list previews, card descriptions, meta tags, table cells and SMS-length blurbs — anywhere a block of copy has to fit a fixed budget without spilling over.

Pick one of two modes. "By character" guarantees the whole result, ellipsis included, never exceeds your limit, which is exactly what a CSS or database field needs; trailing whitespace before the ellipsis is trimmed so you never get an awkward "word …". "By word" keeps a set number of whole words and adds the ellipsis after them, which reads more naturally for human-facing summaries because it never chops a word in half.

You control the ellipsis too — keep the default single-character "…" to save space, or switch to "..." or any marker you like.

Text already within the limit is returned untouched, with no ellipsis added.

Everything is computed locally in your browser, so nothing is uploaded and the tool works offline, making it safe for private or unpublished content.

FAQ

Is the ellipsis counted in the character limit?

Yes. In character mode the entire output, ellipsis included, is guaranteed to fit within the limit you set.

Will word mode ever cut a word in half?

No. Word mode keeps only whole words up to your limit, then appends the ellipsis, so words are never split.