piapia123
en

Text Repeater & Joiner

Text

Everything runs locally in your browser — nothing is uploaded

Input
Drop a file here to load its contents
Output

Four modes: repeat N times (the whole text), repeat each line N times (keeping the line structure), join lines with a separator (collapse many lines into one), and mirror (`A` followed by its reverse — useful for palindromes and symmetric patterns). The separator can be none, a space, a newline, a comma, or your own. The count maxes out at 1000 and there is a size guard: 1000 times a long text could be several MB, and at that point it reports an error instead of freezing the tab. Mirroring reverses by grapheme cluster, so emoji and combining marks are never split. Everything runs in your browser; nothing is uploaded and nothing goes over the network.

Features

  • Four modes: repeat N times, repeat each line, join lines, mirror
  • Separator: none, space, newline, comma, or custom
  • Count 1–1000 with a size guard that reports an error instead of freezing
  • Optional alternating letter case (HeLlO style)
  • Mirroring reverses by grapheme cluster, so emoji are never broken
  • Reports the total length, repeat count and line count
  • Everything runs locally in your browser; nothing is uploaded

How to use

  1. Type the text you want to repeat or join
  2. Pick a mode (repeat / repeat each line / join lines / mirror)
  3. Set the count and separator, and tick alternate case if you want it
  4. The result updates as you type; click Copy to take it

FAQ

Why is the count capped at 1000?
It is a guard. 1000 times a few KB of text is several MB, and the browser can freeze the tab the moment it builds that string. So the count stays within 1–1000, and an upper bound is estimated from the length before building anything — over the limit reports an error rather than handing the page a multi-megabyte string.
What is “mirror”?
The text `A` followed by its reverse. `abc` becomes `abccba`, handy for palindromes and symmetric decoration. The reverse is done by grapheme cluster, so an emoji or a combining character is treated as one unit and never split in half.
Does the count matter in “join lines”?
No. That mode joins the existing lines with the separator, so the count is unused. The count only affects “repeat” and “repeat each line”.
How does alternating case work?
It only toggles letters; non-letters (spaces, digits, punctuation) do not take a turn, so after a space the pattern continues from where it left off. `hello` becomes `HeLlO`.

Related tools