Remove line breaks



This small tool allows you to replace or remove line breaks from your text documents. It also allows you to replace and remove windows line breaks, linux line breaks, Mac OS line breaks, carriage returns, tabs (tabulations), spaces, new line and whitespaces (vertical tab, formfeed, ...).

You can see the user guide to help you.

User guide

  • How to remove line breaks:
  • Step 1 - Fill the editor with your text. You have several possibilities:
    • Copy and paste your text
    • Drag and drop your text file
    • Directly type in the editor above
  • Step 2 - You can choose the options:
    • Removal or replacement: You can choose whether to remove or replace special characters.
    • Line break to take into account: You can choose the type of line break to replace when you click "Remove line breaks" button
  • Step 3 - Click the appropriate button depending on the characters you want to delete / replace.
  • Step 4 - Click on "Copy to clipboard" or "Download" buttons in order to retrieve your edited text.

Why Remove or Replace Line Breaks?

Sometimes, we receive text documents with erroneous line breaks (Or other special characters). This is the case, for example, when you receive text documents by email, or when you retrieve the text of a PDF document. It still happens today that some emails are corrupted. For pdf documents, it depends on how they were created.

It is sometimes possible to make the modifications either manually via a text editor. But this work is repetitive and can take a considerable amount of time when dealing with a long text. It can also be a hassle when its text editor reformats the special characters on its own.

This small tool does not do much, but can be useful in these particular cases, and then allows you to save time! Moreover, since it is automated, it avoids typing errors, and errors of inattentiveness. You are then sure that your text document has had the appropriate deletions/replacements (Depending on the options you have set).

This fairly simple tool allows you to replace the line breaks of different operating systems (Windows, Linux, Mac OS). By default, the tool replaces all these line breaks, so you do not need to know what type of line break your text document contains (It is easier that way).

If you need a particular option that you find interesting, do not hesitate to indicate it in a comment. If it seems to me a relevant option that could be useful to other people, I will make the evolution as soon as I have a little time.

If you find a bug, please let me know so I can fix it.

You can report a bug or give feedback by adding a comment (below) or by clicking "Contact me" link (at the top right hand corner of the page).