Text Transform

Text repeater

Transformed in your browser · nothing is uploaded

Local · capped at 10,000 copies

Repeats your text as many times as you ask, either on separate lines or run together. Whatever is in the box is treated as one block, so a paragraph repeats as a paragraph. Capped at ten thousand copies, which is well past anything useful and short of freezing the page.

How to use the text repeater

1 Paste your text into the first box.
2 The result appears immediately.
3 Copy the result, or save it as a text file.

The separator field is where the useful behaviour lives. It starts as a line break, so copies stack vertically. Put a comma in it and one value becomes a comma-separated list of known length, which is how most test fixtures get built. Clear it entirely and the copies run together with nothing between them, which is how you produce a rule of dashes, a run of underscores or a string long enough to find where a layout stops wrapping.

The ceiling is ten thousand copies, and the arithmetic behind it is quick to do before you reach for it. Ten thousand copies of a forty-character line is 400,000 characters, which the browser handles without complaint and which most places you might paste it will not. Fractions are floored, so asking for 2.7 copies gives two, and a negative number gives nothing at all.

One caution about where the result goes. Repeated text is the single clearest signal spam detection looks for, and a repeated message in a chat, a comment thread or a form is among the quickest ways to have an account rate-limited or suspended. Testing your own layout with it is fine. Posting it anywhere with moderation is not.

What people use it for

  • Producing a rule of dashes or equals signs across a plain-text document
  • Making one value into a comma-separated list of a known length
  • Building a string long enough to find where a layout stops wrapping
  • Bulking out a test file with a repeated sample row

Questions

Ten thousand copies. Far past anything useful, and low enough that the page does not freeze building the result.

MDN, working with strings
Was this tool any good?
Internal signal only · I use it to find the tools worth rebuilding