Truncate Text

Shorten any text to fit a limit. Cut to a set number of characters, words, sentences or bytes, stop at a whole word instead of mid-word, add "…" or your own ending, and truncate every line of a list separately. Presets cover meta descriptions, titles, tweets and SMS.

  • 100% free
  • No sign-up
  • Private & local
  • Works on mobile
Presets:

Private by design: every calculation runs locally in your browser. Nothing you type is sent to a server or stored by us.

What Is a Text Truncator?

A text truncator shortens text to fit a length limit and adds an ellipsis (…) to show that something was cut. Limits are everywhere online: meta descriptions and title tags are truncated by search engines, tweets are capped at 280 characters, SMS at 160, product listings and app stores limit titles and subtitles, and websites show short excerpts of articles on blog index pages and in cards. Developers also need to truncate strings to fit database fields and API limits, which are often measured in bytes rather than characters.

Simply chopping text at a fixed position often cuts a word in half ("comfortab…"), which looks careless. This tool cuts at the last whole word that fits, removes dangling punctuation, and makes sure the ellipsis counts towards the limit, so the result is never longer than you asked for. It's also emoji-safe, so it never splits an emoji or accented letter into broken characters.

How to Truncate Text

  1. Paste your text into the input box.
  2. Set the limit and unit: characters, words, sentences or bytes. Or click a preset.
  3. Choose the ending: an ellipsis, three dots, […], nothing, or your own text such as "Read more".
  4. Copy the result. The character, word and byte counts are shown below it.

Common Length Limits

WhereLimit
Google title tagAbout 50–60 characters (600 pixels)
Meta descriptionAbout 150–160 characters
X / Twitter post280 characters
SMS (GSM-7)160 characters (70 with emoji)
Google Ads headline / description30 / 90 characters
Blog excerpt (WordPress default)55 words
Database VARCHAR(255) in MySQL (utf8mb4)255 characters; index limits are in bytes

Characters vs Bytes

A character is what you see; a byte is how it's stored. In UTF-8, English letters take 1 byte, accented letters 2 bytes, most Asian scripts 3 bytes and emoji 4 bytes. So a 100-byte limit might fit 100 English characters but only 25 emoji. When a system specifies a limit in bytes, as some databases, file formats, push notifications and APIs do, choose "Bytes (UTF-8)" to be safe.

Features

  • Four unitsCharacters, words, sentences and UTF-8 bytes.
  • Whole-word cuttingNever ends mid-word, and tidies trailing punctuation.
  • Ending includedThe ellipsis counts towards the limit.
  • Custom endings…, ..., […], none or your own text.
  • Per-line modeTruncate every item of a list at once.
  • Emoji-safeNever breaks a character in half.

Writing Better Short Text

Truncation is a safety net, but the best short text is written to fit. Put the most important words first, since readers and search engines see the beginning. Remove filler phrases like "In this article we will", and use numbers and specific details. For meta descriptions, aim for a complete sentence under 155 characters that includes your main keyword and a reason to click.

Truncating Text in Code and Spreadsheets

In spreadsheets, =LEFT(A1, 155) takes the first 155 characters, but it cuts mid-word and doesn't add an ellipsis. In CSS, text-overflow: ellipsis visually truncates a single line on a web page without changing the text itself, and -webkit-line-clamp does the same for several lines. In programming languages, truncating by character count can break emoji and accented letters that use several code points, and truncating by bytes can split a UTF-8 character in half. This tool avoids both problems, which makes it handy for checking what a limit really allows before you set it in code.

Tip: use the presets to check SEO titles and meta descriptions before publishing.

Frequently Asked Questions

How do I cut text to a number of words?

Choose "Words" as the unit and enter the number, for example 50 words for an excerpt.

Can I shorten many lines at once?

Yes. Tick "Truncate each line separately" to apply the same limit to every line, such as a list of product names.

How do I shorten text without cutting words?

Keep "Don't cut words in half" ticked. The text ends at the last complete word that fits within the limit.

Does the ellipsis count towards the limit?

Yes. The result, including the ending, never exceeds your limit.

Should I use … or ...?

The single ellipsis character (…) takes one character instead of three, which helps with tight limits. Some systems prefer plain dots.

How long should a meta description be?

About 150–160 characters. Google may truncate longer descriptions or rewrite them.

Is my text uploaded?

No. Truncation happens entirely in your browser.