Text Repeater & Joiner
TextEverything runs locally in your browser — nothing is uploaded
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
- Type the text you want to repeat or join
- Pick a mode (repeat / repeat each line / join lines / mirror)
- Set the count and separator, and tick alternate case if you want it
- 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
Reverse Text
TextReverse text by characters, lines, line order or word order. Emoji and combining marks stay intact. Runs entirely in your browser.
Shuffle Text
TextShuffle text by lines, characters or words. Word spacing and leading indentation stay in place. Runs entirely in your browser.
Text Spacing
TextInsert a separator between characters or words: a space, a symbol or any string. Character mode clears existing whitespace first.
Text Diff
TextCompare two blocks of text online and highlight added, removed and unchanged lines, so only the lines that changed are marked. Runs in your browser.
Word Counter
TextCount Chinese characters and English words separately, alongside characters, lines, real UTF-8 bytes, reading and speaking time, and SMS segment counts.
Text Cleaner
TextClean up a column pasted out of a log or spreadsheet: deduplicate, sort, drop blank lines, trim whitespace and strip line numbers, all in your browser.