Truncate text to a specified length with customizable ellipsis and smart word boundary detection
The Text Truncator shortens text strings to a specified maximum length while preserving readability. It offers smart truncation that respects word boundaries, ensuring your text never cuts off mid-word and always ends cleanly.
You can choose from multiple truncation strategies including character-based, word-based, and sentence-based modes. The tool also lets you customize the truncation indicator — use the standard ellipsis (...), a Unicode ellipsis (…), or any custom string of your choice.
This tool is perfect for preparing text for UI components with limited space, generating preview snippets, or creating truncated versions of long content for display in cards, tables, and mobile views.