Repeat Text

Repeats a word, phrase or block of text as many times as you ask, with a new line, a space or your own separator between each copy. Use it to make placeholder content, test how a layout copes with long text, or build repeated patterns quickly.

Up to 1 MiB.

Options

How to use the Repeat Text

  1. Type the text to repeat and set the Number of times (up to 10,000).
  2. Choose what goes Between repeats: a new line, a space, nothing or your own text.

Limitations

  • The result can be up to 4 MiB; larger requests are refused before any text is generated.

Worked examples

Three lines

Input

Hello

Result

Hello
Hello
Hello
Custom separator

Input

ha

Result

ha-ha-ha-ha

Practical uses

  • Making test data

    A developer wants to see how a form copes with very long input. They type a sample line, set Number of times to a hundred and choose a new line between repeats. The result is a large block of test data made in a moment.

  • Creating placeholder text

    A designer needs enough text to judge spacing in a layout mock-up. They repeat a short phrase several times with a space between each copy. The mock-up now looks full enough to judge the design.

  • Making a separator line

    A writer wants a divider for a plain text document. They type a dash or asterisk, repeat it several times and set the separator to nothing. The result is a single line that can be copied between sections.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.