Strip unwanted line breaks from text copied from PDFs, emails, or Word documents. Choose whether to replace newlines with a space, nothing, or a custom character — and optionally preserve blank lines between paragraphs.
Unwanted line breaks are extremely common when copying text from PDFs, email clients, Word documents, or web pages. The original layout may wrap lines at a fixed column width, leaving your copied text with hard returns after every 60–80 characters.
Cleaning these up by hand is tedious. This tool processes any amount of text instantly — replacing every single newline with a space (or your chosen character) so sentences flow naturally again.
When this option is on, any blank line in your input is treated as a paragraph separator. Lines within a paragraph are joined together, but the blank lines between paragraphs are kept. This is ideal for cleaning up PDF copy-paste while keeping your paragraph structure intact.
Yes. Select "Custom character" and type any text into the box — a comma, a pipe character, or even a multi-character string like " | ". The typed value is inserted between every joined line.
Yes. The tool handles both Unix (LF) and Windows (CRLF) line endings automatically, so you do not need to pre-process your text.
This website may contain affiliate links. If you click on an affiliate link and make a purchase, we may receive a small commission at no additional cost to you.