Repeat Text
Duplicate a string as many times as you like and join the copies with the separator of your choice. The result is capped at five million characters.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
What Repeat Text produces
Repeat Text writes a piece of text out a chosen number of times, joined by a separator you pick. You set a copy count from 1 to 100000, and the separator goes between copies only, never at the start or the end. The result also reports the copy count and the total character length.
When a repeated string saves time
Reach for it for repeated test data, a filled placeholder, N identical lines for a file you are about to generate, or a comma-joined series of the same value built in one step instead of typed out by hand.
Choosing the copy count and separator
Count sets how many copies appear and is clamped to 100000 even if a larger number is typed. Separator offers newline, space, comma, none, or custom; custom reveals a text field whose literal string is inserted verbatim, so multi-character joins like " | " work.
The five-million-character ceiling
The result is capped at five million characters. The tool predicts the length before building it and refuses with a clear message if that passes the limit. Counts below 1 are rejected, and an empty input simply gives an empty output.
Where the text is processed
Everything happens on your device. The text is repeated in memory in the browser, no part of it is sent to a server, and the tool works offline with no network requests.
Questions
Is there a size limit?
Yes — the output is capped at 5,000,000 characters. If you exceed it, reduce the number of copies.
Can the separator be more than one character?
Yes. Choose "Custom…" and type any literal string, including spaces. It is inserted verbatim between copies, not before the first or after the last.
What happens with an empty input?
The output is empty. There is nothing to repeat, so the result is an empty string regardless of the count.
Related tools
See categoryReverse Text
Reverse text by character, word, sentence or line — emoji-safe.
Case Converter
Convert between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case and more.
Sort Lines
Sort lines alphabetically, numerically, by length, naturally, or shuffle them.
Remove Duplicate Lines
Delete repeated lines from a list, keeping the first or last occurrence.