How to truncate text for previews and meta descriptions
Where character and word limits matter, why word-safe cutting reads better, and how to keep ellipsis-trimmed snippets clean and useful.
Why truncation exists
Interfaces have limited room, and long text has to fit into it without breaking the layout. Card titles, table cells, list previews, notification banners and search snippets all cap how much they show. Truncation trims text to that budget and signals with an ellipsis that more content continues out of view. Done well it is invisible; done badly it cuts a word in half or hides the very part that mattered. Choosing the right limit and cut style is what separates a tidy preview from a confusing one.
Characters versus words
Character limits give you precise control over width, which suits fixed spaces like a single-line card title or a database field. Word limits read more naturally and vary in length, which suits blurbs and previews where a whole thought matters more than an exact pixel count. A search snippet is often capped by characters because the display box is fixed, while an article summary is capped by words because a clean number of sentences reads better. Pick the mode that matches whether space or meaning is the tighter constraint.
Word-safe cuts read better
A raw character cut can leave you with fragments like inform... from information or comforta... from comfortable, which look broken and can even mislead. Word-safe cutting fixes this by stepping back to the last complete word before the limit, so the snippet ends cleanly and the ellipsis reads as a natural pause. The small cost is that the kept text is usually a little shorter than the raw limit, since it stops at a word boundary rather than an exact character, but the readability gain is almost always worth it.
Getting meta descriptions right
Search engines typically show around 150 to 160 characters of a meta description before cutting it off, so writing to that budget keeps your snippet intact in results. Front-load the important words, since the tail is what gets trimmed, and truncate on a whole word so the preview does not end mid-thought. Because this tool adds the ellipsis on top of the limit rather than inside it, set your limit a few characters below your true cap if you want the dots to fit within the total. Then preview the result to confirm it still makes sense on its own.