Duplicate each line
Repeat every line in your text a specified number of times.
Duplicate each line
Paste any text and this tool repeats every line consecutively for you. If you set it to duplicate 2 times, each line appears twice in a row; at 3 times, three times in a row, and so on. The order stays the same and blank lines are duplicated just like any other line. It is a quick way to expand a list, create repeating patterns or prepare test data where you need multiple copies of the same items.
The duplicate count option ranges from 2 to 100, so you can double your lines or create 100 copies of each one depending on your need. Blank lines and lines with only whitespace are treated exactly the same as regular lines, so the structure of your text is preserved perfectly. Windows and Unix line endings are handled the same way, and the live tally shows the total line count in the result.
This is useful when you want to duplicate content for testing, create expanded versions of lists for data processing, or generate repetitive patterns. The tool runs instantly as you type, so you can adjust the duplication count and see the result immediately. Everything happens locally in your browser, so your text stays private and is never uploaded or logged anywhere. Copy the result with one click or download it as a .txt file when you are done.