⚡
usefultools.dev
↵

Remove Line Breaks – Join Lines Online

NOUVEAU

Remove line breaks from text copied from PDFs or emails: join lines with a space, comma or custom text, keep paragraphs and clean up spaces. Free, in-browser.

Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.

Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.

Cleanup options
CountBeforeAfter
Characters180175
Words3434
Lines61
Line breaks50
⚡

Exemples rapides

Des entrées typiques et les résultats produits par cet outil.

Space
line one⏎line two⏎line three
line one line two line three
Comma
red⏎green⏎blue
red, green, blue
Custom " OR "
id1⏎id2⏎id3
id1 OR id2 OR id3
Keep paragraphs
a⏎b⏎⏎c⏎d
a b⏎⏎c d
📖

Présentation

Text copied from a PDF, an email or a narrow column often arrives with a hard line break at the end of every line, which breaks sentences in half when you paste it elsewhere. This tool removes line breaks and joins the lines back into flowing text.

Choose what replaces each break: a space for prose, nothing for split codes, a comma to turn a column of values into a comma-separated list, or any custom text such as OR for search queries. Keep paragraph breaks preserves blank-line gaps so only the breaks inside paragraphs disappear.

Extra cleanup trims spaces at line edges, collapses repeated spaces and drops empty lines, and a before-and-after table shows characters, words, lines and line breaks. The text is processed in your browser and never uploaded.

Pourquoi utiliser cet outil ?

  • Fix broken sentences pasted from PDFs
  • Turn a column into a comma-separated list
  • Keep paragraphs while removing line wraps
  • Collapse double spaces automatically
  • Private: runs entirely in your browser
⭐

Fonctionnalités

↔️

Choose a separator

Replace breaks with a space, nothing, comma and space, or any custom text.

Keep paragraphs

Blank lines between paragraphs are kept as a single paragraph break.

✂️

Trim lines

Strip spaces and tabs from the start and end of each line before joining.

🧽

Collapse spaces

Runs of spaces or tabs become one space.

🗑️

Drop empty lines

Empty lines are removed so you do not get doubled separators.

📊

Before / after counts

Compare characters, words, lines and line breaks at a glance.

🛠️

Mode d'emploi

1

Paste the text

Put the text into the Text with line breaks box.

2

Pick the replacement

Choose what to Replace line breaks with, or enter a Custom separator.

3

Set cleanup options

Tick Keep paragraph breaks, Remove empty lines, Trim spaces or Collapse multiple spaces.

4

Copy the result

Press Copy above the Result box and check the counts table.

🤔

Questions fréquentes