Text & Lists
Head Text Processor
Transform text with Head and the selected rules. Enter the text, set the transformation rules, then copy the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
Head Text Processor returns the first selected number of delimiter-separated items, similar to a head command.
one two Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Choose the delimiter that defines each item.
- Set a positive Number for the leading items.
- Use a negative Number only when the operation's after-item behavior is required.
Example
Input: one two three
Settings: Head Text Processor: Use newline delimiter and Number 2.
Result: one two
Limits
- Head Text Processor: A delimiter changes what the operation treats as a line or field.
- Head Text Processor: Head does not sort or deduplicate returned items.
- Head Text Processor: The operation runs in the browser and does not need a network service.