Text repeater
Transformed in your browser · nothing is uploaded
Repeats your text as many times as you ask, either on separate lines or run together. Whatever is in the box is treated as one block, so a paragraph repeats as a paragraph. Capped at ten thousand copies, which is well past anything useful and short of freezing the page.
How to use the text repeater
The separator field is where the useful behaviour lives. It starts as a line break, so copies stack vertically. Put a comma in it and one value becomes a comma-separated list of known length, which is how most test fixtures get built. Clear it entirely and the copies run together with nothing between them, which is how you produce a rule of dashes, a run of underscores or a string long enough to find where a layout stops wrapping.
The ceiling is ten thousand copies, and the arithmetic behind it is quick to do before you reach for it. Ten thousand copies of a forty-character line is 400,000 characters, which the browser handles without complaint and which most places you might paste it will not. Fractions are floored, so asking for 2.7 copies gives two, and a negative number gives nothing at all.
One caution about where the result goes. Repeated text is the single clearest signal spam detection looks for, and a repeated message in a chat, a comment thread or a form is among the quickest ways to have an account rate-limited or suspended. Testing your own layout with it is fine. Posting it anywhere with moderation is not.
What people use it for
- Producing a rule of dashes or equals signs across a plain-text document
- Making one value into a comma-separated list of a known length
- Building a string long enough to find where a layout stops wrapping
- Bulking out a test file with a repeated sample row
Questions
Ten thousand copies. Far past anything useful, and low enough that the page does not freeze building the result.
Yes. Clear the separator field and they run together with nothing between them.
Put a comma in the separator field. Add a space after it if you want the list readable.
It is rounded down. Asking for 2.7 copies gives two. A negative number gives an empty result.
Yes. Everything in the box is treated as one block and the separator goes between whole blocks, not between lines.
Ten thousand times whatever you typed. A forty-character line becomes 400,000 characters, which is more than most destinations will take.
It can. Repetition is what spam detection is built to catch, so keep the result out of chats, comments and forms.
No. The repetition happens in this page as you type.