メインコンテンツにスキップ

テキスト統合ツール

複数行のテキストを1つの文字列に結合します。改行を削除し、スペースを正規化し、テキスト出力をカスタマイズします。

入力

デフォルトでは、段落(二重改行)は保持されます。

テキスト内の複数のスペース/タブの処理方法を選択してください。

出力

統合されたテキスト
役に立ちましたか?

このツールを使う他の方法

REST API

curl -X POST https://api.iotools.cloud/v1/tool/text-merger \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "originalText": "Line one\nLine two\n\nSecond paragraph line",
    "removeAllLineBreaks": "",
    "capitalizeParagraph": "",
    "removeHtmlTags": "",
    "joinLinesWith": " ",
    "normalizeSpacing": "none"
  }'

ご自身のアカウントのキーに差し替えてください。ツールのフィールドがそのままリクエストボディになります——ラッパーはありません。

AIエージェントに依頼する

Use the IOTools `text-merger` tool (Text Merger) on this input:

YOUR_INPUT_HERE

IOTools MCPサーバーに接続された任意のエージェントにこれを貼り付け、入力内容を追加してください。

埋め込みウィジェット

<iframe
  src="https://iotools.cloud/embed/text-merger/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="テキスト統合ツール — 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>

ご自身のページに貼り付けるだけ——無料、キー不要、リンクを掲載するだけです。

API/MCP 1回あたりの費用5クレジットから
クレジットが足りませんか?料金を見る

次の方法でも利用可能

ガイド

Merge multiple lines of text into a single string — handy for turning a list, a block of copied lines, or wrapped paragraph text into one continuous line (or one line per paragraph) for pasting elsewhere.

How to use it

  1. Paste your text into the input box.
  2. By default, single line breaks inside a paragraph are joined with a space, while blank lines between paragraphs are kept — so paragraph structure survives.
  3. Adjust the settings below as needed, then copy or download the merged result.

Settings

  • Remove all line breaks — join every line break, including the blank lines between paragraphs, into one continuous string. Off by default, which preserves paragraphs.
  • Capitalize first letter of paragraphs — uppercase the first character of each paragraph after merging.
  • Remove HTML tags — strip anything that looks like <tag> before merging — useful for text copied out of a web page or HTML email.
  • Join lines with — the character inserted where a line break used to be: a space (default), nothing, or a punctuation mark (dot, comma, semicolon, dash, underscore, slash, pipe).
  • Normalize spacing — after merging, optionally collapse repeated spaces/tabs to one ("Remove extra spaces") or strip them entirely ("Remove all spaces").

What counts as a "paragraph"?

Any run of text separated from the next by a blank line (two or more consecutive line breaks). With "Remove all line breaks" off, single line breaks within a paragraph are merged, but the blank line between paragraphs is preserved.

Privacy

Everything runs entirely in your browser. Your text is never uploaded to a server.

merge textjoin linescombine linesline breaktext cleanupformatter

ワークフローの一部

すべてのコレクション

ツールが気に入りましたか?広告をなくしましょう。

1回のお支払いでアカウントから広告が完全になくなります。サブスクリプションも追跡もありません。