Text & Lists
Duplicate Text Processor
Transform text with Duplicate and the selected rules. 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.
Duplicate Text Processor repeats list items by a chosen copy count and can concatenate or interweave the copies.
red red blue blue Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Choose a symbol or regular-expression split mode.
- Enter a positive copy count and select the desired reverse behavior.
- Check the join separator because it controls the final list layout.
Example
Input: red blue
Settings: Duplicate Text Processor: Split on newline, copy 2 times, join with newline, and keep concatenation disabled.
Result: red red blue blue
Limits
- Duplicate Text Processor: A negative copy count raises a validation error.
- Duplicate Text Processor: Fractional counts include only a proportional part of the item list.
- Duplicate Text Processor: The operation runs in the browser and does not need a network service.