Why pasted text has broken lines
PDFs, old emails and some websites store a line break at the end of every visual line. When you paste that text into a document or form, each line stays separate and the text looks jagged. This tool joins the lines back together.
Options
- Keep paragraphs — blank lines between paragraphs are kept, so you get clean paragraphs instead of one huge block. Turn it off to put everything on a single line.
- Join words split by hyphens — PDFs often split long words across lines ("exam-
ple"). This puts them back together. - Replace line breaks with a space (normal), nothing, or a comma, which is handy for turning a list into a comma-separated line.
To also tidy double spaces and tabs, run the result through remove extra spaces — click Use as input to carry the result over.
How to use it
- Paste the text with unwanted line breaks.
- Choose what to keep — paragraphs, hyphenated words.
- Copy the clean text from the result box.
Frequently asked questions
How do I remove line breaks but keep paragraphs?
Leave "Keep paragraphs" ticked. Single line breaks are joined, and blank lines between paragraphs stay.
How do I turn a list into a comma-separated line?
Untick "Keep paragraphs" and choose "Comma" as the replacement. Each line becomes an item separated by ", ".
Does this work with Windows line breaks?
Yes. Windows (CRLF), Mac and Linux (LF) and old Mac (CR) line breaks are all handled.
More free text tools
Word counterPaste or type your text. Words, characters, sentences, paragraphs and reading time update instantly.Character counterCount characters and check your text against the length limits for social posts, SMS and search results.Case converterFix text typed with caps lock, make proper headlines, or turn phrases into variable names.Remove extra spacesClean up double spaces, stray tabs, trailing spaces and empty lines in one click.Remove duplicate linesPaste a list with one item per line. Duplicates are removed and the original order is kept.Sort linesSort a list alphabetically, by number or by length — or reverse or shuffle it.Find and replaceReplace every match of a word or phrase at once. Supports match case, whole words and regular expressions.Reverse textWrite text backwards, reverse word or line order, or turn it upside down.Word frequencySee which words and phrases you use most, how often, and as a share of the whole text.Readability checkerFind out how easy your writing is to read, what school grade it suits, and which sentences are too long.Text comparePaste two versions of a text to see exactly what changed.Slug generatorTurn titles into short, clean URLs like how-to-bake-bread.Lorem ipsumGenerate placeholder text for designs, mockups and templates.