Text Truncator
Truncate text to a specified length with ellipsis.Runs in this tab.⌘ ↵ runs it
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout Text Truncator
Free online text truncator. Cut text to a specified character or word limit with customizable ellipsis or suffix options. It runs in your browser. Nothing is sent to a server.
Questions
Does the truncator break words?
You can choose between truncating at an exact character count (which may break words) or truncating at a word boundary so words are never cut in half.
Can I customize the ellipsis or suffix?
Yes, you can set any custom suffix such as "...", " [more]", or "---" to be appended when the text is truncated.
Does the character limit include the ellipsis?
Yes, the total output including the suffix stays within your specified character limit, so the final string will not exceed the boundary.
What is the text truncator useful for?
Common uses include trimming text for meta descriptions, social media previews, notification summaries, and any UI element that has a fixed display width.
Comments
More in Text & String Utilities
- Word Counter
- Regex Tester
- String Case Converter
- Slug Generator
- Text Diff
- Lorem Ipsum Generator
- Line Sorter & Deduplicator
- Text Reverse
Comments