Text · Made a little simpler

Text Truncator

Shorten text by visible characters, words, sentences or UTF-8 bytes. Keep emoji and accents together and include an optional suffix in the limit.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Text Truncator: how to use it

  1. Paste text or open a Unicode text file. Choose Visible characters, Words, Sentences or UTF-8 bytes.
  2. Set a whole-number limit. Keep the ellipsis, write a custom suffix or turn the suffix off.
  3. Check the input and output counts and read the excerpt. Copy it or download the UTF-8 text.

Limits and notes

Up to 100,000 UTF-16 units and a 120-unit suffix. Visible characters and UTF-8 bytes stop at complete grapheme boundaries. Word and sentence modes use your browser’s English segmentation and may divide abbreviations or specialized copy differently from an editor.

How your privacy works →

Text Truncator: common questions

Does the ending count toward my limit?

The tool includes the suffix in the selected unit. If the suffix cannot fit, it leaves the suffix out and reports the omission.

Why is the byte count higher than the character count?

UTF-8 can use several bytes for one Unicode code point. A single visible character can also contain multiple code points, as in an emoji with a skin tone or an accented letter written with a combining mark.

Can I keep the first complete sentence?

Choose Sentences, enter 1 and turn the suffix off if you want the sentence’s original punctuation without an added ending.

Guides