Skip to content

Text Truncator

Embed

Paste this where you want Text Truncator on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/text-truncator/" width="100%" height="500" frameborder="0" loading="lazy" title="Text Truncator"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/text-truncator/">Text Truncator</a> by BrowserUtils</p>

Truncate text to a specified length with ellipsis.Runs in this tab.

Next step

About 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.

More in Text & String Utilities

All 28 text & string utilities