Repeat or duplicate a line of text as many times as you need, joined by a new line, space, comma, tab, or nothing. Fast, private, and in your browser.
Runs entirely in your browser — your data never leaves your device.
How to use Text Repeater
What it does & when you need it
A text repeater takes whatever you give it and stamps out as many copies as you
ask for, joined by the separator of your choice. It is the fastest way to build
throwaway test data, a column of identical values for a spreadsheet, a block of
placeholder rows for a UI mockup, or a quick visual ruler of repeated characters.
Doing this by hand is tedious and error-prone — you lose count, or a stray space
sneaks in. This tool does it deterministically and updates the moment you change
the count, the text, or the separator. Everything runs in your browser, so no
data is uploaded.
How to use
Type or paste your text into the input buffer, or press Sample.
Set Repeat … times to the number of copies you want.
Pick a Separator — new line, space, comma, tab, or none — to control how
the copies are joined.
Optionally tick Trailing separator to add the separator after the last
copy too. Press Copy result or Ctrl/Cmd + Enter.
Things worth knowing
The separator sits between copies, not around them. Ten copies joined by
new lines give you ten lines with nine breaks between them. Turn on Trailing
separator when you want a break after the final copy as well — handy when you
are appending the block to something else.
There is a safety cap. To keep the tab from freezing, the tool refuses to
build an output longer than five million characters. If you hit the limit,
lower the count or shorten the input. A count below one is rejected too, since
zero copies is just an empty string.
Order of operations is predictable. The exact input is repeated verbatim —
leading and trailing spaces included — so what you see is what you get.
Keep the New line separator and set the count to stack several copies, one per line.
Comma-separated list
TODO
Switch the separator to Comma to get TODO, TODO, TODO on a single line.
Build a divider
=
Repeat a single character with the None separator to draw a ruler like ==========.
Frequently asked questions
How do I repeat text a specific number of times?+
Paste your text into the input, set "Repeat … times" to the number of copies you want, and the output updates instantly. Each copy is joined by the separator you choose — a new line by default — so you can build a stacked list, a single-line comma list, or a solid run with no separator.
What separators can I put between copies?+
Pick from new line, space, comma, tab, or none. A new line stacks the copies vertically, comma makes a one-line list, tab is handy for pasting into a spreadsheet, and none joins everything with no gap — useful for repeating a single character into a divider or ruler.
What does the trailing separator option do?+
By default the separator sits only between copies, so ten copies have nine breaks. Tick Trailing separator to also add it after the final copy. That is useful when you are appending the repeated block to other text and want a clean break at the end.
Is there a limit on how much it can generate?+
Yes. To keep your browser responsive the tool caps the output at five million characters and shows an error if a count would exceed it — just lower the count or shorten the input. A count below one is rejected too, since zero copies is simply an empty result.
Is my text sent to a server?+
No. The repetition runs entirely in your browser with no network request, so whatever you paste stays on your machine and the tool keeps working offline once the page has loaded.