Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

Remove Line Breaks

This tool removes line breaks from text. It joins the lines with a space, a comma or your own text, and can keep the paragraph breaks.

How to use Remove Line Breaks online

  1. Paste the text. Type or paste text with line breaks.
  2. Choose what replaces a break. A space, nothing, a comma or your own text.
  3. Keep paragraphs?. Switch on to keep the empty lines.
  4. Copy the result. Copy or save the text.

Why use this free Remove Line Breaks

  • Space, comma or custom joiner
  • Keep paragraph breaks
  • Join hyphenated words
  • Trims line ends
  • Count of breaks removed
  • Share by link

When you need it

Text copied from a PDF, an email or a narrow column often has a line break at the end of every line, which breaks the flow when you paste it somewhere else. The tool joins the lines back into continuous text. It can also turn a list into a single line, with commas between the items.

What to put in place of a break

You choose what replaces each line break: a space, which is right for broken prose, nothing, for text split in the middle of words, a comma and a space for a list, or any text you type, such as a bar. Spaces at the ends of lines are trimmed first so that you do not get doubles.

Keeping paragraphs

Real paragraph breaks are marked by an empty line. With the keep paragraphs option on, the tool joins the lines inside each paragraph but leaves the empty lines, so the text keeps its shape. Switch it off to join everything into one block. A hyphen at the end of a line can also be joined to the next, so that inter- and national become international.

A worked example

The sample text is broken into lines of a few words each. After removing the breaks, the first paragraph reads "This text was copied from a PDF and has line breaks in the middle.", and the paragraph break is kept, so the second paragraph stays apart. With the option off, it would all run on in one block.

Limits

The hyphen option only joins a hyphen that has letters on both sides, since a hyphen at the end of a line can be a real dash. Check words joined this way. The tool works on plain text and does not touch formatting, so paste into a plain text box first if the source has styles.

Using the tool

There is no button to wait for: the Remove Line Breaks result follows every change. Find and replace is built into the editor with Ctrl+F and Ctrl+H.

Remove Line Breaks: frequently asked questions

How do I remove line breaks from text?
Paste it in and the lines are joined at once.
Can I keep the paragraphs?
Yes. Leave the keep paragraphs option on.
Can I use a comma instead of a space?
Yes, or any text you type.
What about words split by a hyphen?
The hyphen option joins them back.
Does it work on text from a PDF?
Yes, that is a common use.
Where does my text go when I use the Remove Line Breaks?
The Remove Line Breaks works locally, and clearing the site data removes anything the editor saved.
Can I copy the Remove Line Breaks result?
Copy the Remove Line Breaks result, or save it as a text file from the result box.

Related searches for Remove Line Breaks

  • Remove Line Breaks online
  • free Remove Line Breaks
  • Remove Line Breaks online free
  • Remove Line Breaks for mobile
  • Remove Line Breaks without sign up
  • Remove Line Breaks – Text & Writing Tools

Remove Line Breaks is a free online tool on MAITBOX, in the Text & Writing Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Text & Writing Tools →

Search tools