Remove hard line breaks from text copied out of PDFs, emails and terminals. Join lines into flowing paragraphs, join everything into one line, or turn a list into a comma-separated string.
Join all lines (one paragraph)
Join all lines (one paragraph): This paragraph was copied from a PDF and every line ends too early. Second paragraph has the same problem.
Keep paragraphs, join lines inside them
Keep paragraphs, join lines inside them: This paragraph was copied from a PDF and every line ends too early. Second paragraph has the same problem.
Remove line breaks, no spaces
Remove line breaks, no spaces: This paragraph was copied from a PDF and every line ends too early. Second paragraph has the same problem.
Lines → comma separated
Lines → comma separated: This paragraph was copied from a PDF and every line ends too early. Second paragraph has the same problem.
Remove empty lines
Remove empty lines: This paragraph was copied from a PDF and every line ends too early. Second paragraph has the same problem.
One sentence per line
One sentence per line: This paragraph was copied from a PDF and every line ends too early. Second paragraph has the same problem.
Styled letters are Unicode characters, not fonts – screen readers may read them letter by letter and search engines don't match them to plain words, so keep essential details in plain text. Learn more
When you copy text from a PDF, an email quoted at 72 columns, a terminal or a scanned document, every visual line arrives as a hard line break, so pasting it into a document or a post leaves a ragged column instead of a paragraph. Removing line breaks by hand is slow; this tool does it in one step and offers the variants people actually need.
“Join all lines” gives one continuous paragraph. “Keep paragraphs” is the smart option for articles: it joins the broken lines within each paragraph but keeps the blank line between paragraphs. The comma row turns a list into a single line for a search box, a spreadsheet cell or a tag field, and the sentence row does the reverse – one sentence per line for editing or subtitles.
Paste the text.
Choose “Keep paragraphs” for articles or “Join all lines” for a single block.
Copy the result – then use the space remover if double spaces remain.
PDFs store text as positioned lines, not paragraphs, so copying gives you a break wherever the layout wrapped. Plain-text emails are wrapped at a fixed width for the same reason. Both usually keep a blank line between real paragraphs, which is exactly the signal the “Keep paragraphs” row uses: single line breaks become spaces, double line breaks are preserved.
A column of items becomes a comma-separated line, which is the format most tag fields, search filters and spreadsheet functions expect. To go the other way, paste comma-separated text into the sort-lines tool, which accepts commas as separators.
Writers and subtitle editors often work with one sentence per line so each can be reviewed, reordered or timed. The last row splits at sentence-ending punctuation; join the lines back with the first row when you are done. Nothing is uploaded – the text stays in your browser.
Only if you choose “Join all lines”. “Keep paragraphs” preserves blank lines between paragraphs.
The original line probably ended with a space. Run the result through the extra-space remover.
Yes – “Remove empty lines” deletes blank lines and keeps everything else.
Yes – all line-ending styles are handled.
Yes.
20 font styles, 5000+ symbols and a full Unicode text editor. Everything runs in your browser and your text never leaves your device.