Skip to content
Text

Text Repeater

Type something, choose how many copies you need, and take the result. Optionally number each repetition or join them with a separator instead of a line break.

Press Esc to clear

Repeated text

Options

About the Text Repeater

Repeating a line a specific number of times is one of those jobs that is instant with a loop and tedious without one. It comes up when you need test data of a known size, when a form field needs to be filled to its limit to find out what happens, when a layout needs enough rows to show how it scrolls, or when you want to check that a component handles a hundred items as well as it handles three.

The numbering option is what makes the output useful for testing rather than just long. Identical repeated lines tell you nothing about ordering, truncation or which item a rendering bug landed on; numbered ones make all three obvious at a glance. If row 47 is where the layout breaks, you want to be able to see that it is row 47.

The separator setting decides whether repetitions are joined by a line break, by a comma, or by nothing at all. Joining with a comma and no line break gives you a quick list for pasting into a query or a config value; joining with nothing gives you a single long string, which is the fastest way to find out what a field, a label or a database column actually does when handed more than it expected.

There is a hard cap on the total output size. A repeat count with one extra zero in it would otherwise produce hundreds of megabytes of string and take the tab down with it; instead the count is limited and the tool tells you it was. Everything runs locally.

Frequently asked questions

Is there a limit on how many repetitions I can make?

Yes, and it is deliberate. The total output size is capped so that a mistyped count cannot generate hundreds of megabytes of text and freeze the tab. When the cap applies, the tool says so and reports how many repetitions it actually produced.

Why would I number the repetitions?

Because identical lines tell you nothing when something goes wrong. Numbered lines make ordering, truncation and the exact position of a rendering bug immediately visible.

Can I join the copies with something other than a line break?

Yes. Set any separator you like and turn line breaks off. A comma separator produces a list ready to paste into a query or a configuration value.