Text Repeater: The Same String, As Many Times As You Need
Pasting the same phrase over and over is tedious and easy to miscount. Since the whole job is a count and a separator, it is better handed to something that will not lose track.
Sometimes you need filler to test a character limit, or the same value repeated down a column, or a long divider rule. Doing it by hand means copying, pasting, and losing count somewhere around the fifteenth repetition.
This tool takes the text and the number of repetitions and produces the result in one go. It accepts up to ten thousand repetitions, with a slider covering the first hundred for when you want to feel your way to the right length.
The separator decides what you get
What sits between the copies is what makes the output useful. Joining with newlines gives you a list. Joining with commas gives you a single line of values. Joining with spaces reads as running text.
Joining with nothing runs the characters straight together, which is how you build a rule — repeat an em dash forty times and you have a horizontal divider to drop into a document.
The custom option lets you supply any string as the separator, which is what you need when some other program expects a particular delimiter such as a pipe or a tab.
Good uses for this
- •Generating filler to test how an input field handles its character limit or line wrapping.
- •Filling a column in a table or spreadsheet with a repeated value.
- •Building divider rules for documents.
- •Checking how a layout behaves when content runs long.
- •Roughing out the skeleton of a list with repeating entries.
Very large outputs will slow the page down
The result is built in your browser and rendered on the page. Repeating a long phrase ten thousand times produces several megabytes of text, and simply drawing that many characters is heavy work.
It is worth thinking about the size you actually need. Testing a character limit only requires slightly more than the limit; checking a layout only requires enough to fill the screen. Genuinely needing tens of thousands of lines is rare.
Extended FAQ
How many repetitions can I ask for?
Between one and ten thousand. The slider covers up to a hundred for fine adjustment; type the number directly for anything larger.
Can I repeat text that contains line breaks?
Yes. Whatever you enter is treated as one block and repeated with the separator between blocks.
The output is too long to copy.
You have probably gone past what the browser will handle comfortably. Reducing the count and building the result in pieces is more reliable.
Is my input stored?
No. Everything is generated in your browser and nothing is sent to a server.
