Line repeater

Repeat each line, separately.

Take a multi-line input and repeat each line N times. Group mode for sequential repeats, interleave mode for round-robin order.

Line repeater

0 chars 0 words 0 lines
Each line of your input will be repeated separately. Lines stay in order.
Group: AAA BBB CCC. Interleave: A B C A B C A B C.
Output 0 × repeats
0 chars 0 lines

Two repetition modes

This tool gives you two ways to repeat multi-line input — pick whichever fits your use case.

Group mode (default)

Each line is repeated N times in sequence before moving on. So apple / banana / cherry repeated 3× becomes:

apple
apple
apple
banana
banana
banana
cherry
cherry
cherry

Interleave mode

The whole sequence is repeated N times. Same input gives:

apple
banana
cherry
apple
banana
cherry
apple
banana
cherry

When this is useful

  • Spreadsheet data: Generate test rows where each value repeats — useful for SQL inserts and CSV files.
  • Test cases: Run the same set of test inputs multiple times to check for flakiness.
  • Repeated playlists: Convert a setlist into a longer practice list.
  • Drilling and memorization: Repeat each vocabulary word three times for practice.
Common questions

Frequently asked.

The main repeater treats your entire input as one unit and repeats it. The line repeater treats each line separately. So for input "A\nB\nC" with count 2, the main repeater gives "A\nB\nC\nA\nB\nC" and the line repeater (in Group mode) gives "A\nA\nB\nB\nC\nC".

Yes. Blank lines are preserved and repeated like any other line. If you want to remove them first, paste your input into the main repeater with a different separator.

The per-line repetition is capped at 1,000 (so a 100-line input × 1,000 = 100,000 total lines maximum). Output is capped at 10 million characters total.

Related

Other repeater tools.