Text TruncatorTruncate text to a specific length with customizable suffix.

Text Truncator
Truncate text to a specific length with customizable suffix.
Paste Text
Enter the text you want to truncate.
Set Length
Specify the maximum character or word count for the output.
Get Truncated Text
View truncated text with an ellipsis or custom suffix appended.
What Is Text Truncator?
A text truncator shortens text to a specified length while optionally adding a suffix (like "...") to indicate the text has been cut. This is essential for UI development where text previews, card descriptions, and meta descriptions need to fit within fixed dimensions. The tool can truncate by character count or word count and respects word boundaries to avoid cutting words in half.
Why Use Our Text Truncator?
- Truncate to exact character or word limits
- Customizable suffix (ellipsis, "...", "Read more", etc.)
- Respects word boundaries for clean truncation
- Essential for UI/UX text preview design
- Real-time preview as you adjust length
Common Use Cases
Card Descriptions
Truncate product or article descriptions to fit within card layouts.
Meta Descriptions
Shorten content to 155-160 characters for SEO meta descriptions.
Social Media Previews
Create text previews that fit within platform-specific character limits.
Notification Text
Truncate notification messages to fit within push notification display limits.
Technical Guide
Text truncation first checks if the input length exceeds the specified limit. If so, it slices the string to the maximum length and finds the last space character to avoid breaking mid-word. The suffix (default "...") is appended after truncation. The tool offers multiple truncation modes: character-based (exact limit), word-based (count complete words), and sentence-based (end at a sentence boundary). Word-boundary truncation uses lastIndexOf(" ") on the truncated substring to find the cleanest break point. The suffix length is typically included in the total character count, so a 100-character limit with "..." suffix yields 97 characters of content plus 3 characters of suffix.
Tips & Best Practices
- 1For meta descriptions, truncate to 155 characters for optimal Google display
- 2Use word-boundary truncation for cleaner, more professional results
- 3The suffix is included in the total length — account for its characters
- 4For social cards, different platforms have different ideal lengths
- 5Test truncated text at different viewport widths for responsive design
Related Tools

Excerpt Generator
Generate excerpts from text with smart truncation at word or sentence boundaries.

Character Counter
Count characters with and without spaces, plus word, line, and paragraph counts.

Word Counter
Count words, unique words, characters, and see word frequency in any text.

Reading Time Calculator
Estimate how long it takes to read any text based on average reading speed.

Remove Extra Spaces
Remove extra whitespace — collapse multiple spaces to single spaces.

Sentence Counter
Count the number of sentences in your text with accurate detection.
Frequently Asked Questions
QIs the suffix included in the character count?
QDoes it cut words in half?
QWhat if the text is shorter than the limit?
QCan I use a custom suffix?
QWhat's the ideal meta description length?
About Text Truncator
Text Truncator is a free online tool from FreeToolkit.ai. All processing happens directly in your browser — your data never leaves your device. No registration required. No ads. Just fast, reliable tools.







