Skip to content
SmaftyTools

Text Repeater

Repeat any text or phrase a set number of times with a custom separator. Free online text repeater — great for spam text, testing and social posts.

About Text Repeater

The Text Repeater takes any word, phrase or block of text and repeats it a set number of times, joined by a separator of your choice — a newline, a space, a comma, or any custom character sequence. It's a small utility with a surprising range of practical uses, from generating test data to building attention-grabbing repeated text for social posts.

Common uses: generating a quick block of repeated placeholder text for testing how a UI handles a long string, creating a repeated line of characters as a visual separator in a document or chat, building the kind of repeated-word emphasis text ('SALE SALE SALE SALE') sometimes used in casual marketing copy, and producing bulk test rows for a spreadsheet or script where the same value needs to appear many times. It also comes in handy for stress-testing a text field or database column's character limit with a long, predictable repeated string.

The separator field accepts literal characters as well as the escape sequences \n (newline) and \t (tab), so a single text box can produce output repeated on separate lines, separated by tabs for a spreadsheet paste, or joined with any custom string like ' | ' or ', '. The repeat count is capped at 10,000 to keep the browser responsive — well beyond what any practical use case needs, since even 10,000 repeats of a short phrase produces a very large block of text.

Repetition and joining happen instantly as you adjust the count or separator, with the result ready to copy or download as a text file. Everything runs client-side, so there's no meaningful size limit on the source phrase itself beyond what your browser's clipboard can comfortably handle.

How to Use the Text Repeater

  1. Type or paste the text you want repeated.
  2. Choose a repeat count from the dropdown.
  3. Set a separator — use \n for a newline or \t for a tab, or type any custom string.
  4. Copy or download the repeated result.

Features

  • Repeat counts from 2 up to 1,000 via a dropdown, capped at 10,000 total
  • Custom separator, including newline (\n) and tab (\t) escape sequences
  • Instant preview as you change the count or separator
  • Download the result as a text file

Examples

Repeating with a newline separator

Input

Buy now!

Output

Buy now!
Buy now!
Buy now!

Repeating with a custom separator

Input

SALE

Output

SALE | SALE | SALE | SALE

Generating a repeated character line (count: 10, separator: none)

Input

-

Output

----------

Frequently Asked Questions

How do I repeat text on separate lines?

Set the separator field to \n (backslash n) — it's interpreted as a newline, so each repeated copy of your text appears on its own line in the output.

Is there a limit on how many times I can repeat text?

Yes, 10,000 repeats maximum, to keep the page responsive. That's far beyond what most practical uses — test data, visual separators, emphasis text — actually need.

Can I use a multi-character separator?

Yes — type any string into the separator field, such as ' | ' or ', ', and each repeated copy of your text will be joined by that exact string.

Is the text repeater free?

Yes, the text repeater is completely free with no usage limits. No signup, no account and no installation required.

Is my data safe?

Yes. All processing happens locally in your browser using JavaScript — nothing you type is uploaded or stored on our servers.