Skip to main content

Text & Lists

Duplicate Text Processor

Transform text with Duplicate and the selected rules. Enter the text, set the transformation rules, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

List options

Split input with

Your result appears here

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

  1. Provide text or data for this tool.
  2. Choose a symbol or regular-expression split mode.
  3. Enter a positive copy count and select the desired reverse behavior.
  4. 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.