Text & Lists
Text Truncator
Truncate text at the selected limit. Enter the text, set the transformation rules, then copy the result.
This tool runs open-source code from OmniTools (MIT License). See open-source credits.
Text Truncator limits text to a selected character count, with an option for multi-line handling.
abcd Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Enter the maximum character limit.
- Choose the available line-handling option.
- Inspect the cutoff before using the result in a label or route.
Example
Input: abcdef
Settings: Text Truncator: Set the limit to 4 characters.
Result: abcd
Limits
- Text Truncator: Truncation removes characters without adding an omission marker unless the form provides one.
- Text Truncator: A character limit can split words or grapheme sequences.
- Text Truncator: The operation runs in the browser and does not need a network service.