Skip to main content

Text Repeat

API reference

Repeat any text multiple times with a separator of your choice. Optionally number each repetition with {n} and change the case. Free, private, runs in your browser.

Input

Settings

1 to 10,000.

Used when Separator is set to Custom.

Output

Repeated Text
Was this helpful?

More ways to use this tool

REST API

curl -X POST https://api.iotools.cloud/v1/tool/text-repeat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "inputText": "Hello",
    "count": "3",
    "separator": "newline",
    "customSeparator": "",
    "caseMode": "keep"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `text-repeat` tool (Text Repeat) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Embed widget

<iframe
  src="https://iotools.cloud/embed/text-repeat/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="Text Repeat — iotools.cloud"
  sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
  allow="clipboard-write"
  style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>

Drop this into your own page — free, no key required, just a link back.

Cost per API/MCP callFrom 5 credits
Need more credits?View pricing

Also available with

Guides

Repeat a word, sentence, or block of text as many times as you need, with the separator you choose. Handy for generating placeholder content, test data, or long strings for load and input-length testing.

How to use it

  1. Paste or type the text to repeat.
  2. Set the repeat count (1 to 10,000).
  3. Pick a separator — new line, blank line, space, comma, tab, none, or your own custom string.
  4. Optionally use {n} in your text to insert the repetition number (Item {n} becomes Item 1, Item 2, …), and change the case.

Case options

  • Keep original leaves the text untouched.
  • UPPERCASE / lowercase convert every repetition.
  • Alternate leaves odd repetitions as typed and uppercases even ones.

Everything runs in your browser — your text is never uploaded.

repeat texttext repeaterduplicate textmultiply stringtext generatorseparator

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.