How to Remove Hard Carriage Returns in Text

Your eyes roll.

Your client sent you content for their website as one long page of text with hard carriage returns. You’re sitting at your computer, imagining how much time it will take to select “back space” to remove all those hard returns.

Not what you expected to be doing on a Tuesday afternoon.

Whether it’s a PDF, email message, or a Word file, text formatted with hard carriage returns is a pain to deal with.

And I know, I’ve dealt with it plenty of times over the years. Going through text and removing line breaks manually is tedious.

And if you’re not an expert at regular expressions, what do you do?

Well, here are a few free and paid tools that will save you time and remove all those pesky hard line breaks so you can get back to work creating your client’s website.

Line Break Remover Tool

Text Fixer Remove Line Breaks

The free web-based Line Break Remover Tool does exactly what it’s name says: removes line breaks.

Copy the text from the file or email message you received and paste it into the Line Break Remover Tool text input box. Options are limited. You can choose to remove line breaks and paragraphs or to remove line breaks only while preserving paragraphs.

The updated text will display below the input box on the page.

Remove Line Breaks

Remove Line Breaks

Another free online text tool, Remove Line Breaks, offers more advanced options for removing hard carriage returns.

You copy and paste your text into the Remove Line Breaks text input box. In the options, choose to convert line breaks to a space or nothing. You also have the option to convert paragraphs to an:

  • Indent
  • One empty line
  • The <p> tag
  • No paragraph

Remove Line Breaks is quick, easy to use, and displays the reformatted text in a text box on the page.

Wrapping Up

Getting rid of hard line breaks in content doesn’t have to be a time-consuming chore.

Hopefully these options will solve your line break removal issues. If you have other tools you use, share them in the comments.

Photo of author

About the Author

Deborah Edwards-Oñoro enjoys birding, gardening, taking photos, reading, and watching tennis. She's retired from a 25+ year career in web design, usability, and accessibility.