Copy text from PDF without line breaks
Remove the hard line break at the end of every line when you copy from a PDF. Lines are joined into real paragraphs, ready to paste.
Your files never leave your device
Drop a PDF here
One PDF at a time. It is read on your device and never sent anywhere.
You can also paste files with Ctrl+V.
In short
To copy text from a PDF without line breaks, add the PDF here; Join lines into paragraphs is already on. When the text appears below, press Copy text. Each paragraph becomes one line, words split with a hyphen at a line end are joined, and paragraph breaks stay.
How to remove line breaks from PDF text
- Choose the PDF. On this page Line breaks is set to Join lines into paragraphs.
- Look at the preview: each paragraph should now be one long line.
- Press Copy text or Download .txt. If a list or address got joined, switch to Keep as in the PDF for that document.
Why PDF text has a line break after every line
A PDF positions each printed line on its own and keeps no note that the lines form a paragraph. When you copy, the viewer has nothing better to do than end every line with a line break, and words hyphenated at the margin stay broken.
Joining needs a decision for each break: is the next line part of the same paragraph or the start of a new one? This tool decides from the spacing between lines, indentation, font size changes, list bullets and lines that end well before the margin.
Frequently asked questions
How do I copy text from a PDF without line breaks?
Use this page: the PDF's lines are joined into paragraphs automatically. Copy text puts the cleaned text on the clipboard; there is no need for find-and-replace afterwards.
Are hyphenated words fixed?
Yes. A word split as exam- at the end of one line and ple at the start of the next becomes example. A hyphen before a capital letter, as in names like Smith-Jones, is kept.
Do paragraph breaks survive?
Yes. Real paragraph ends, detected by extra spacing, an indented first line, a shorter last line or a change of font size, are kept as a blank line between paragraphs.
What happens to bullet lists and headings?
Each bullet item stays on its own line and headings remain separate paragraphs, because their size or the bullet marks a new block.
How do I remove line breaks in Word instead?
In Word you can replace ^p with a space, but that also merges real paragraphs. Joining here first is cleaner, because only the breaks inside paragraphs are removed.
Why are some lines still separate?
Short lines that end with a full stop, address blocks and lines with a big gap after them look like paragraph ends. That is the safer choice: wrongly merged paragraphs are harder to spot than an extra break.
Typical uses
Removing line breaks matters whenever text has to wrap to a new width: pasting into an email, a website form, a subtitle tool, a translation memory or a text-to-speech app. Fixed breaks at the old line width produce ragged, half-empty lines there.
- Two-column layouts are put in reading order before the lines are joined.
- Choose pages to skip front matter such as a cover or a table of contents.
- Chinese and Japanese lines are joined without inserting spaces.
How your files stay private
Lumofile runs this tool with JavaScript and WebAssembly inside your browser tab. Your files are read from your disk, processed in memory and saved back to your device. Nothing is uploaded: open your browser's network panel while you use the tool and you will see no upload request.
Presets
Related tools
- PDF to Word Convert a PDF to an editable Word .docx file, with headings, lists and layout, without uploading it.
- Image to text Extract printed text from photos and screenshots with OCR in your browser, then copy it or save a .txt.
- Remove PDF password Remove a known password or printing and copying restrictions from a PDF, without uploading it.
- PDF to JPG Turn PDF pages into JPG images at up to 600 DPI, without uploading the PDF.
- Split PDF Separate a PDF into several files by page range, every N pages or page by page.
- Merge PDF Combine PDFs into one file and reorder pages, without uploading them.
Guides
- How to copy text from an image or screenshot Text inside a photo, a scanned page or a screenshot cannot be selected until it is recognized with OCR. Every major system now has a built-in way to do it, and a browser tool covers the gaps.
- How to convert PDF to Word and keep the formatting A PDF converted to Word often comes out with text boxes everywhere, broken tables and odd line breaks. Here is what to expect, how to get the cleanest result, and how to tidy up what remains.
- How to copy text from a PDF that cannot be selected You drag the mouse over a PDF and nothing highlights, or you paste and get gibberish. The cause is one of three things, and each has a different fix. Here is how to tell them apart and get the words out.
- How to get PDF text without broken line breaks You copy a paragraph from a PDF and paste it into a document, and every line ends with a hard return. Hyphens appear mid-word and columns are mixed. Here is why it happens and how to extract text that reflows properly.
Last updated Nov 12, 2026