Text Repeater

Repeat a word, emoji, or complete text block with a chosen separator between copies.

The whole block is repeated, including spaces and line breaks. Maximum 100,000 UTF-16 units.

A whole number from 1 to 1,000,000, using digits only.

No separator is added after the last copy.

Output is limited to 1,000,000 UTF-16 units. Its size is checked before generating it.

Generate a result to copy it. Visual wrapping does not add line breaks.

How repetition works

A count of 3 with text oak and custom separator | produces oak | oak | oak. A count of 1 returns the input unchanged. Existing spaces or line breaks at the end of your input remain part of each copy.

Letters, emoji sequences, combining marks, punctuation, and whitespace are copied without trimming, case changes, or Unicode normalization. Browser text areas represent pasted CRLF and CR line endings as LF; the new-line separator also uses LF. The text is processed in this page and is not uploaded or saved by this tool.

Size limits

The projected size is copies × text length + (copies - 1) × separator length. Lengths use JavaScript UTF-16 code units, not bytes or visible characters: A uses 1 unit, 😀 uses 2, and a combined emoji can use more. Requests above the limits are rejected without shortening your input or generating a partial result.

References: ECMAScript string repetition and HTML text area values.