How to Use the Text Repeater
- Type or paste the text into Text to Repeat. It can be one word, a sentence, or several lines.
- Type how many copies you want under Number of Copies.
- Pick what to put between the copies under Between Copies: a new line, a blank line, a space, a comma with or without a space, nothing at all, or your own text under Custom.
- Turn on Number each copy to put 1., 2., 3. and so on in front of each copy.
- The result on the right changes as you type, and the line under it has the number of characters, words and lines. Select Copy Text to copy the whole result.
Repeating One Sentence Ten Times
By default, the sentence I will finish my homework before dinner. is in the box, with 10 copies and a new line between them. The sentence has 40 characters, so the copies are 400 characters, and with the 9 line breaks between them the result is 409 characters, 70 words and 10 lines. A separator is only between copies, never after the last one.
With Number each copy on, each copy starts with its number, a full stop and a space. Five copies of the word Testing look like this, 54 characters in all:
1. Testing 2. Testing 3. Testing 4. Testing 5. Testing
Separators Between Copies
The table has the word ha repeated 8 times with each separator, and two other words with a custom one. A tab is drawn as an arrow.
| Between Copies | Text | Result | Characters |
|---|---|---|---|
| Space | ha | ha ha ha ha ha ha ha ha | 23 |
| Comma and space | ha | ha, ha, ha, ha, ha, ha, ha, ha | 30 |
| Comma | ha | ha,ha,ha,ha,ha,ha,ha,ha | 23 |
| Nothing | ha | hahahahahahahaha | 16 |
| Custom, a space, a bar and a space | apple | apple | apple | apple | apple | 29 |
| Custom, \t | name | name → name → name | 14 |
With a blank line between copies, each copy is a separate paragraph: 3 copies of a two line text are 8 lines. With the Custom separator, \n is a line break and \t a tab, so a separator can also be longer, such as | or ;\n.
Repeating Text to Test a Character Limit
A long run of one character is a quick way to fill a form field, a message box or a database column and find its limit. The letter a repeated 280 times with Nothing between copies is exactly 280 characters. For a run where the length is easy to read off, repeat 1234567890: 50 copies are 500 characters, and every tenth character is a 0.
Characters are counted as Unicode code points. Most letters, digits and spaces are one each, but an emoji such as 😀 is one character and two UTF-16 units, so 10 of them are 10 characters and 20 UTF-16 units. The maxlength limit on a web form counts UTF-16 units, so the line under the result has both numbers whenever they differ. For the limits of SMS, Discord or Bluesky messages, paste the result into the SMS Character Counter, the Discord Character Counter or the Bluesky Character Counter.
Repeating Text in Excel
In Excel, you can repeat text in one cell with =REPT("ha ", 8). According to Microsoft’s documentation for REPT, a number of times that is not a whole number is truncated, with 0 the result is empty text, and a result over 32,767 characters is the #VALUE! error. With REPT there is nothing between copies, so a separator has to be part of the text, and the last copy ends with it too. In the Text Repeater, the separator is only between copies, and the result can be up to 1,000,000 characters.
How the Text Is Repeated
The text is joined to itself the number of times you choose, with the separator between each pair of copies. With numbering on, each copy starts with its number counted from 1, a full stop and a space. Spaces and line breaks in the text are kept, so when the text ends with a line break and the separator is a new line, there is an extra empty line between copies.
The result is limited to 1,000,000 characters. The size is calculated first, from the length of the text, the separator and the numbers, and if it is over the limit, the result box has the length it would have been: 1,400,000 characters for 100,000 copies of Hello, world. , for example. When there are more than 1,000 copies, only the first 1,000 appear in the box, and you still get all of them with Copy Text. The text is repeated in your browser and is not sent anywhere.
FAQs
Q1. How Many Times Can I Repeat Text?
You can repeat text as many times as you like while the result stays within 1,000,000 characters. A single letter can be repeated 1,000,000 times, while 100,000 copies of a 14 character phrase would be 1,400,000 characters and are refused. Above the limit, the tool shows how long the result would have been, so you can lower the number of copies to fit.
Q2. How Do I Repeat Text on a New Line?
To repeat text on a new line, leave Between Copies set to New line, the default setting, so every copy starts on a line of its own. Pick Blank line instead to leave an empty line between copies, which keeps paragraphs apart when you paste them into a document.
Q3. Can I Put a Space or a Comma Between Copies?
Yes, you can put a space or a comma between copies by picking Space, Comma or Comma and space under Between Copies, or pick Nothing to join the copies with no gap. For anything else, pick Custom and type the separator yourself, such as | , a semicolon, or \t for a tab between copies.
Q4. How Do I Number Each Copy?
To number each copy, turn on Number each copy, and the copies start with 1., 2., 3. and so on, each followed by a space. Five copies of Testing become 1. Testing to 5. Testing, and the numbers count toward the characters in the line under the result.
Q5. Does the Text Repeater Count Characters?
Yes, the text repeater counts characters, and the line under the result lists the characters, words and lines in the whole result, separators and numbers included. Characters are Unicode code points, and when that differs from the number of UTF-16 units, as it does for most emoji, both numbers are given.
Q6. Is My Text Sent Anywhere?
Your text is not sent anywhere: the copies are made in your browser, and nothing is uploaded or stored. You can repeat private text, such as a test password or a customer name, and copy the result without it leaving your device.
Sources
HTML Living Standard (WHATWG), the maxlength attribute, for limits counted in UTF-16 units. Microsoft Support, REPT function, for the Excel formula and its 32,767 character limit.