Skip to main content
FixLines

Remove line breaks

Turn many lines into one line in a click.

Editor

Ln 1, Col 10 lines0 words0 characters

Remove line breaks: what it does

Paste text that is broken into many lines and get a single line back. It helps with text copied from a PDF or an email, with a list that must fit into one cell, or with a long address. Choose “Join lines” to use a comma or another separator instead of a space.

Remove line breaks: how to use it

  1. Paste the text that has unwanted line breaks.
  2. Choose the tool: remove line breaks, or join lines with a separator.
  3. Select Apply and copy the result.

Remove line breaks: when to use it

  • Fix text copied from a PDF or an email where every line ends with a hard break.
  • Turn a column of values into one comma-separated line for a formula, a query or a form field.
  • Merge a list of keywords or tags into a single line before pasting it somewhere that accepts one line only.

Remove line breaks: examples

Fix text copied from a PDF

Input

This sentence was
broken by a PDF

but it is one thought

Result

This sentence was broken by a PDF but it is one thought
Join a column with commas

Input

red
green
blue

Result

red, green, blue

Remove line breaks: questions and answers

Does it remove paragraph breaks too?

Yes. Every line break becomes one space and empty lines are dropped. To keep paragraphs, use Remove empty lines with the option that keeps one empty line.

Can I join the lines with a comma?

Yes. Choose Join lines and pick the separator you need: comma, space, pipe, semicolon, tab or nothing.

Does it keep the spaces inside my lines?

Yes. Only the line breaks are replaced; the words of each line stay exactly as they were.

Can I get the lines back afterwards?

Use Undo right after the change. Later, Split text into lines can cut the text again at the separator you used.

Is my text sent to a server?

No. Everything runs in your browser on your own device, so your text never leaves it.

Tools people often use together with this one.

More in Line toolsBrowse all text tools