How to Use the Truncate Text Online with a Suffix
- 1Paste the string you want to shorten and set Maximum Length to the number of source characters to keep.
- 2Set Ellipsis Suffix to a marker such as three periods or leave it blank for a hard cut.
- 3Check the ending in the preview, especially if the cut falls in the middle of a word.
- 4Copy the result after allowing for the suffix in any final length requirement.
Input & Output Examples
Set Maximum Length to 11 and leave the default suffix to keep eleven source characters plus three periods.
Input Sample
draft notes for FridayExpected Output
draft notes...Set Maximum Length to 2 and clear Ellipsis Suffix to keep two code points with no added marker.
Input Sample
A🐈BCExpected Output
A🐈Practical Developer Workflows
- Prepare an abbreviated input for a display fixture that uses a visible marker when text is shortened.
- Test the exact prefix expected from a string containing a simple emoji.
- Cut a longer identifier to its first few characters for a temporary plain-text example.
Zero Server Uploads & Complete Privacy
Runs 100% in your browser; no data is uploaded to any server.
Notice a bug, calculation error, or outdated info?
Let us know directly so our engineering team can fix it.
Frequently Asked Questions
It counts only the source characters to retain. If you keep ten characters and use three periods, the finished output has thirteen characters when the input needs shortening. Leave room for the suffix when the destination has a fixed limit.