⚡
usefultools.dev
↵

Remove Line Breaks – Join Lines Online

NOVO

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.

Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.

Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.

Cleanup options
CountBeforeAfter
Characters180175
Words3434
Lines61
Line breaks50
⚡

Exemplos rápidos

Entradas típicas e os resultados que esta ferramenta gera.

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
📖

Visão geral

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.

Por que usar esta ferramenta?

  • 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
⭐

Recursos

↔️

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.

🛠️

Como usar

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.

🤔

Perguntas frequentes