StringMash.com

Text repeater

Repeat a line up to 100 times, with whatever you like between the copies.

Conversion

Repeating cannot be undone: the tool cannot tell a repeated line from one you typed twice.

9 characters
Updates as you type
One way only

Using the repeater

Type or paste on the left and set Repeat to anything from 1 to 100. Between copies puts a new line, a space, a comma or nothing at all between them.

There's no way back. Swap is switched off, because the tool can't tell a line you repeated from a line you typed twice.

What the cap is for

The result stops at 100,000 characters. Ask for 100 copies of a 2,000-character paste and you get an error instead of a 200,000-character string.

That's not an arbitrary round number. Everything here runs in your browser, and building a very long string, putting it in a textarea and letting the page lay it out are three separate costs, all paid on the main thread. Past a few hundred thousand characters a phone stops responding to taps while it works. The cap keeps the tab alive.

Say this plainly: repeating text at people is spam

The honest uses are dull ones. Padding a layout to see how a component behaves at length, generating filler for a test fixture, building a repeated separator row for a plain text document, or making enough sample input to time a parser against.

The other use is flooding a chat, and it works badly. Discord, Slack and most forums rate-limit identical messages, collapse repeats in the view, or mute the account. Repeating a word 100 times in a reply is the fastest way to have the reply hidden. If you're here for that, the tool will do it and the platform will undo it.

For filler that reads like prose rather than one line stamped out, a lorem ipsum generator is the better instrument.

Related conversions

If you want the text to look different rather than longer, bubble text and mirror text change the characters themselves. Zalgo makes a line longer in code points without repeating a word.

Repeating and then styling is a common pairing, and the order matters: style first, and the repeat count applies to text that's already twice as long in code points.

Questions

How many times can I repeat text?

Up to 100, and the result is capped at 100,000 characters. Long pastes hit the character cap before the repeat cap.

Can I repeat a whole paragraph?

Yes. Whatever is in the input box is treated as one unit, including line breaks, and the separator goes between the copies.

Why can't I undo a repeat?

Nothing distinguishes a repeated line from one that was written twice, so reversing it would guess. The swap button is switched off for that reason.

Will repeated messages get me banned?

They can. Most chat platforms rate-limit or collapse identical messages, and repeated flooding is against the terms of service on Discord and Slack alike.