Sometimes you need the same line, word, or phrase repeated a set number of times — generating test data, padding a file to a certain size, building a placeholder list, or just making a point emphatically. This tool takes your text and a repeat count, then joins that many copies together using whatever separator you choose: a newline for a list, a comma for inline data, or nothing at all to concatenate the copies directly. Type "\n" in the separator field to insert an actual line break.
Leave the separator as "\n" (the default) — that two-character sequence is converted into an actual line break, so each copy lands on its own line.
The repeat count is capped at 500 to keep the output responsive in the browser. For larger repetition needs, generate in batches and combine the results.
Yes — the separator field accepts any text, so ", " (comma plus space) or " | " work just as well as a single character or a newline.
Type the text, say how many times to repeat it, and optionally put something between the copies. A separator can be a space, a comma, a new line or anything else.
It looks silly, but it comes up more than you'd think. Filling a field to test its length limit, building a long test string, making a pattern for a design, generating a list of identical rows, or just making a caption look loud.
Very large repeat counts make long output that can slow the page, so start small and increase it until you have what you need.
ha (3 times, separator -)
ha-ha-ha
To put each copy on its own line, type \n in the separator box.