Theme: -
Font size:

Text Joiner - Join Text Lines by Custom Delimiter

Join multiple text lines into a single string or paragraph blocks with custom delimiters and line filters.

Need to split a single string back into separate lines? Use our Text Splitter.

🔒 Data Safety: We process everything securely and never store or share it.

Enter your text:

How to Use

  1. Paste the multiline text to join, select "Open File", or drop a local file into the box.
  2. Choose a join mode, enter your delimiter or escape sequence, and set the line filters.
  3. Review the live join count and copy or download your combined text from the result box.

Options Explained

  • Join Mode: Select All Lines into One to combine your entire list into a single continuous string. Select Paragraph by Paragraph (Keep Blank Lines) to join each block and separate paragraphs with double line breaks.
  • Join With: Enter a custom string or use escape sequences like \t (tab), \n (line break), and \\ (backslash). Leave this field blank to join lines directly with no separator characters between them.
  • Trim Lines: Removes leading and trailing spaces, tabs, and Unicode whitespace on each line before joining.
  • Ignore Empty Lines: Skips blank lines in All Lines into One mode to prevent consecutive delimiters in your joined output. This option disables automatically in Paragraph by Paragraph mode because blank lines serve as paragraph boundaries.

Key Features

  • Switch between All Lines into One mode and Paragraph by Paragraph mode to control output structure.
  • Support custom text separators, empty delimiters for direct joining, and \t, \n, \r, or \\ escape codes.
  • Trim leading and trailing spaces, tabs, non-breaking spaces, and CJK spaces on each line before joining.
  • Skip empty lines to prevent consecutive delimiters or uncheck the filter to keep blank entries.
  • Convert Windows, Unix, and Mac line breaks cleanly while keeping UTF-8 characters and emojis intact.
  • Display joined line, paragraph, and skipped empty-line counts instantly inside your local browser memory.

About This Online Text Joiner

The text joiner is a client-side utility that combines multiline text into one string or paragraph blocks. It supports custom delimiters, escape sequences, Unicode whitespace trimming, and blank-line filtering with live summary counts.

Developed and maintained by the PU Tools team, this tool gives you fast, accurate, safe, and easy results in just a few clicks.

Common Use Cases

  • Broken Paragraph Restoration: Join broken lines copied from PDF documents, e-books, or emails while keeping paragraph breaks.
  • Inline List Formatting: Combine multiline keywords, tags, product codes, or recipient names into comma- or tab-separated strings.
  • Multiline Text Merging: Merge scattered notes, snippets, or lines into one continuous string after trimming lines and skipping blanks.

Example Input and Output

Example Input

Apple
Banana
Cherry 🚀

Dragonfruit
Elderberry

Options used: Join Mode: All Lines into One | Join With: " - " | Trim Lines: ON | Ignore Empty Lines: ON

Example Output

Apple - Banana - Cherry 🚀 - Dragonfruit - Elderberry

The joiner combines five non-empty lines with spaced hyphens, skips the blank line, and keeps the emoji.

Text Joiner Example
Screenshot: Actual output of the Text Joiner

Frequently Asked Questions

How do I join text lines together with no space or delimiter?

Leave the Join With box completely empty when entering or pasting your multiline text. The joiner combines every line directly end to end without inserting any characters in between.

What is the difference between All Lines into One and Paragraph by Paragraph mode?

All Lines into One merges your entire input list into a single continuous text string. Paragraph by Paragraph joins lines inside each block while preserving blank lines as clean paragraph breaks.

How can I join text lines using a tab or line break?

Type \t into the Join With box to insert tabs or \n for line breaks. You can also enter \\ to place a literal backslash character between your joined lines.

Why does Ignore Empty Lines disable in Paragraph by Paragraph mode?

Paragraph by Paragraph mode relies on empty or whitespace-only lines to detect where each paragraph ends. The tool locks Ignore Empty Lines automatically so those blank lines can separate your output paragraphs.

How does the tool handle international Unicode spaces and emojis?

When Trim Lines is active, the joiner strips regular spaces, horizontal tabs, non-breaking spaces, and CJK spaces. Full UTF-8 support keeps accented characters, global scripts, and emojis intact when joining your lines.

Does this text joiner store or send my lines to any server?

No, all line joining, whitespace trimming, and paragraph grouping run entirely inside your browser memory. Your original lines and merged output stay on your device without touching any external server.