Text Repeater

How to use 3 steps
  1. Type the Text to repeat.
  2. Set the Repetitions and Separator; tick Number each repetition if needed.
  3. Press Repeat, then Copy.
Used when the separator above is set to Custom.
Repeated text

How this tool works

The text is copied the number of times you ask for and the copies are joined with whatever separator you pick — a new line for a list, a comma and space for a single field, a space for running text, or nothing at all when the copies need to butt against each other. A separator sits between copies, so ten repetitions carry nine separators and the output does not end with a stray one.

Numbering, if you turn it on, puts the index and a full stop in front of each copy, giving you a ready-made numbered list without typing the numbers. The character count reported underneath is of the finished output, separators and numbering included, and is formatted for the page language. Repetitions are capped at ten thousand.

What it is useful for and where the limits are

  • The cap exists to keep the page responsive: ten thousand copies of a paragraph is already several megabytes of text in a browser tab. Anything larger belongs in a script rather than a page.
  • The custom separator is a single-line field: it takes any text you can type into it, which means a tab or a newline has to come from the presets rather than from the field.
  • Numbering counts from one: each copy is prefixed with its position and a full stop, before the separator is applied, so numbered lists come out ready to paste.
  • The character count includes everything: separators and numbering are part of the output and part of the figure, which is what you want when you are filling a field with a length limit.

What it does, and the cap

Repeats a string a number of times, optionally with a separator between the copies. There is a limit of 10,000 repetitions, which exists because a browser tab asked to build an unbounded string will freeze rather than fail.

That cap is worth knowing before you plan around a larger number. The [msm_tool slug="text-repeater"] refuses rather than hanging.

Where repetition is genuinely useful

  • Test data. A long string to check that a field, a column or a layout handles more text than anyone expected. Filling a database column to its limit is the fastest way to find out what happens at the limit.
  • Layout stress-testing. One very long unbroken word will reveal whether a container clips, wraps, scrolls or overflows — a common failure that never shows up with realistic content.
  • Separators and rules. A row of dashes or dots for a plain-text document or a terminal output.
  • Generating a pattern to paste into a file — repeated placeholder rows, repeated markup fragments.

The separator matters more than the repetition

Most real uses need something between the copies, and the choice determines what the output is for:

  • A newline gives one copy per line — a list.
  • A comma gives a CSV-style row.
  • A space gives a paragraph that wraps.
  • Nothing gives a single unbroken string, which is the one that stress-tests a layout hardest because there is nowhere to wrap.

A note on testing with repeated text

Repeated text is good for finding length limits and bad for finding everything else.

A field filled with aaaaaaaa tells you whether it truncates at 255 characters. It does not tell you whether it handles apostrophes, accented characters, emoji, right-to-left scripts or a very long word with no spaces — which are the inputs that actually break things in production.

Use repetition for length, and something more varied for correctness.

What it is not for

Padding content to hit a word count. Search engines have handled repeated filler text for two decades, and a page padded this way is worse than a shorter honest one.

It is also not for generating placeholder prose — repeated identical sentences do not stress a layout the way varied text does, because every line breaks in the same place. Lorem ipsum exists for that reason.

Output size

Ten thousand repetitions of a fifty-character string is half a megabyte of text. That will paste into a file happily and will make a browser textarea sluggish, and it is worth generating what you need rather than the maximum.

Everything runs in your browser, so nothing is uploaded — and a very large result is held in memory on your machine, which is the practical reason the cap is where it is.

Frequently Asked Questions

Specific to the Text Repeater. Broader questions about this category are answered on the category page.

Ten thousand. Past that the browser tab becomes unresponsive while it builds the string, which helps nobody.
Yes. Turning numbering on prefixes every copy with its position and a full stop, which turns a single line into a numbered list.
No. Separators go between copies only, so there is nothing trailing at the end to delete.
Not from the custom field, which is a single-line input. Use the preset separators for line breaks; a tab needs pasting in from elsewhere.
Yes. It is the length of what you will paste, which is the number that matters when a field has a limit.

Subscribe to receive notifications about new tools, features, and productivity tips.