Word Repeater
TX-60Type a count on the first line and a word or phrase below it, and get it repeated that many times. You can repeat the whole text, or repeat each word of a list in turn.
Runs in your browser. Nothing is uploaded.
First line: -- times: N. Then the word or text
Repeated text
How to use it
- Write -- times: 5 on the first line, with the number of repeats from 1 to 10,000.
- Type the word, phrase or list under it.
- Pick a separator: space, new line, comma, comma and space, or none.
- Press Repeat the text for the whole block, or Repeat each word to repeat every word in turn.
Repeating the text or each word
Repeat the text copies everything under the first line as one block, so red green blue with a count of 3 gives the whole phrase three times in a row. Repeat each word splits the text on spaces and line breaks and repeats each word before moving to the next, giving red red red green green green blue blue blue. The count line is not part of the output.
Separators and limits
The separator goes between the copies only, never after the last one. Comma means a plain comma with no space, and Comma and space adds the space. The count can be from 1 to 10,000. A result longer than 5,000,000 characters is refused, so the page stays responsive, and the message tells you to use a smaller count or shorter text. The text is repeated exactly as typed, without numbering, trimming or changing case.
Typical uses
Repeating a word is handy for test data, filler strings that hit a length limit, spreadsheet fill, chants in a script, or checking how a field behaves with many values. If you need a long run of one character, type the character as the text and choose None as the separator. For blocks of placeholder paragraphs, the Lorem Ipsum Generator is a better fit than repeating text.
Error messages and what to do
| Message | What it means | Fix |
|---|---|---|
Start the first line with -- times: followed by a number from 1 to 10000, for example -- times: 5 | The first line is not a count directive. | Write -- times: 5 on the first line and the text to repeat below it. |
Questions people ask
How do I repeat a word multiple times?
Write -- times: followed by the count on the first line, type the word below it and press Repeat the text. Choose a separator such as a space or a new line for the output.
How many times can I repeat text?
Up to 10,000 times. A result longer than 5,000,000 characters is refused to keep the page responsive, so a long phrase may reach that limit before the count does.
Can I repeat each word in a list instead of the whole list?
Yes. Press Repeat each word instead of Repeat the text. A list such as red green blue with a count of 2 gives red red green green blue blue, using the separator you chose between every copy.
How do I repeat a word on separate lines?
Choose New line as the separator and press Repeat the text. Each copy appears on its own line, with no extra line break after the last one.
How do I repeat a character with no spaces between copies?
Type the character as the text and set the separator to None. A count of 5 with the letter a gives aaaaa. Any other separator is placed between the copies, never after the last one.
About this tool
The first line is a directive, -- times: followed by a whole number from 1 to 10,000, and it is not repeated. Repeat the text copies everything after it as one block, so red green blue with 3 gives the whole phrase three times. Repeat each word splits the text on spaces and line breaks and repeats every word in turn, so the same input gives red red red green green green blue blue blue. The separator goes between copies only, never after the last one, and Comma means a plain comma with no space. A result longer than 5,000,000 characters is refused so the page stays responsive. The text is repeated exactly as typed, with no numbering. Nothing is uploaded.