Truncate text
Cut text down to a set number of characters or words and trim line edges.
Related tools
Truncate text
Paste text and cut it down to a fixed length — a set number of characters or a set number of words. It is the quickest way to fit a meta description into 160 characters, keep a product blurb inside a CMS field limit, shorten a headline for a social post, or clip a long exported column down to preview snippets.
Choose whether the limit counts characters or words, then set the number. "Keep whole words" stops the cut landing in the middle of a word: the text backs off to the last complete word before the limit instead. Turn on the ellipsis and a single … is appended; in character mode it is counted inside the limit, so a setting of 160 really does return at most 160 characters. Switch on per-line truncation to apply the limit to every line on its own, which turns a pasted column into a set of equal-length snippets.
Two extra fields trim the edges. Remove the first few characters of every line to strip a fixed prefix such as a bullet or an ID, and remove the last few to drop a trailing marker. Both run before the length limit is applied. Windows (CRLF) and Unix (LF) line endings are treated the same and the output always uses LF. Characters are counted the way you see them, so an accented letter or an emoji counts as one and is never split in half.
Everything runs in your browser and the text is never uploaded, which makes it safe for unpublished copy or customer data. The tally under the output shows the length before and after and how much was removed. Copy the result, download it as a .txt file, or move it back to the input for another step.