Text Truncator

Shortens text to a maximum number of characters or words, adding an ending such as an ellipsis. Use it to prepare titles, descriptions or previews that must fit a limit, without cutting words in half.

Up to 1 MiB.

Options

How to use the Text Truncator

  1. Paste your text and set the Maximum length.
  2. Choose to count characters or words, and what to add at the end when the text is shortened.
  3. Keep Do not cut words in half on to end at a word boundary.

Rules applied

  • When counting characters, the ellipsis is included in the limit, so the result is never longer than the number you set.
  • Characters are counted as you see them: an emoji counts as one.
  • Turn on Shorten each line separately to shorten a list of titles or descriptions.

Limitations

  • Platforms that count bytes or code units may still count the result as longer; check with the Character Counter.

Worked examples

Shorten to 40 characters

Input

KotakText offers free text tools that run entirely in your browser.

Result

KotakText offers free text tools that…
First five words

Input

One two three four five six seven

Result

One two three four five…

Practical uses

  • Fitting a title into a limit

    A content editor shortens page titles to a set number of characters so they are not cut off in a listing. They keep Do not cut words in half on and choose an ellipsis to add at the end. The ellipsis is counted in the limit, so no title ends up longer than the number set.

  • Writing a short teaser

    A newsletter writer keeps only the first few words of each article summary by choosing words as the unit. Turning on Shorten each line separately handles a whole list in one go. The result is a tidy set of teasers of similar length.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.