remove line breaks
Text copied from a PDF breaks every line in the middle of a sentence. Paste it here and get clean, flowing paragraphs back.
How to use it
- Paste the broken text.
- Choose: replace breaks with spaces, remove them completely, or keep paragraphs.
- Copy the cleaned text.
Why PDF text breaks into short lines
PDFs store text as positioned lines on a page, not as flowing paragraphs. When you copy from a PDF, an email in plain-text format or OCR output, each visual line ends with a hard line break. Pasted into Word, a form or ChatGPT, the text looks chopped up.
“Keep paragraphs” is usually what you want: single line breaks inside a paragraph become spaces, while blank lines between paragraphs are kept. “Replace with spaces” turns everything into one long paragraph. “Remove completely” glues lines together with no space — useful for long URLs, codes or base64 strings that wrapped across lines.
Tidy extras we handle for you
Leftover spaces at the start and end of each line are removed, and double spaces created by the join are collapsed to one. Windows (CRLF), old Mac (CR) and Unix (LF) line endings are all recognised.
Hyphenated words split across lines in PDFs (like “in-” at the end of one line and “formation” on the next) are joined with the hyphen kept, because the hyphen might be real, as in “well-known”. Use find and replace on the result if you need to remove those hyphens too.
Common uses
Students paste quotes and notes from PDF textbooks and research papers. Office workers clean up text from scanned contracts, invoices and old emails before pasting into Word or Google Docs. Writers fix subtitles and transcripts that come with a break every few words. And anyone using ChatGPT, Gemini or Claude gets better results by pasting clean paragraphs instead of chopped-up lines.
After joining lines, run the result through the remove extra spaces tool if the original had uneven spacing, or the word counter to check length against an assignment limit.
Private by design
Your text is processed by your own browser and never sent to a server — there's no upload, no account and nothing saved after you close the tab. That makes it safe for drafts, school work, client documents and lists containing personal data.
Frequently asked questions
How do I keep my paragraphs?
Choose “keep paragraphs”. Blank lines between paragraphs stay; only the breaks inside each paragraph are removed.
Will this work with text from a scanned PDF?
Yes — once you've got the text out (by copying or OCR), paste it here to join the lines.
Is there a size limit?
No fixed limit. Even long documents of several hundred thousand characters process instantly on a normal laptop or phone.
Is this tool free?
Yes — completely free with no sign-up, no word limit and no watermark. It works on phones, tablets and computers.
Does it work offline?
Once the page has loaded, yes. All the processing is done by JavaScript in your browser, so you can even switch off your internet and keep working.