Turn a broken-up block of text into continuous paragraphs.
Paste text copied from a PDF, email or terminal
Paste some wrapped text to join it into continuous paragraphs.
Text copied from a PDF
Hard-wrapped at every line
Paste the extracted textKeep paragraphs
Only unwrap within paragraphs
Preserve blank linesMake a list
Join with commas instead
Set the separatorFrom a PDF, email or terminal.
Usually yes — it keeps the structure readable.
Now continuous, and ready to paste anywhere.
Removing every break turns a document into one wall of text. Preserving blank lines unwraps within each paragraph and keeps the structure, which is what people usually mean.
A space for prose, a comma for a list, or nothing at all for text broken mid-word.
Windows, Mac and Unix line endings are all recognised, so text from any source behaves the same.
Strip the line breaks out of text that arrived wrapped — copied from a PDF, an email client, or a terminal that hard-wrapped every line at eighty characters. Every break can go, or paragraph breaks can be preserved so the structure survives while the wrapping inside each paragraph disappears. That second mode is usually the one people actually want, and the one most tools omit. The join character is yours to choose, so lines can become a sentence, a comma-separated list, or anything else.
Keep going
Related pages in Text Tools, plus what others are using right now.
More text tools that pair well with this one.
Collapse repeated spaces, strip trailing whitespace and tidy blank lines.
Replace text across a document, with optional regular expressions.
Convert text between twelve cases — upper, lower, title, camel, snake and more.
Count words, characters, sentences and paragraphs as you type.
Sort lines alphabetically, numerically or by length, in either direction.
Remove duplicate lines while keeping the original order, with statistics.
Create strong random passwords with full control over length and characters.
Format, validate and minify JSON, with errors that point to the exact line.
Work out any percentage — of a number, as a share, or as a change.
Convert between length, weight, temperature, volume, speed, data and more.
Find the mean, median, mode and range of a list of numbers, with the working shown.
See how savings grow with compounding, including regular contributions.
Sample and population standard deviation and variance, both shown, with the working.
Turn a logo into favicon.ico, the PNG sizes a site needs, and the HTML to declare them.
Check a downloaded file against its published checksum, without uploading anything.
Stamp text like DRAFT or CONFIDENTIAL across a PDF, in your browser.
Turn JSON into readable YAML, with quoting and multiline strings handled properly.
Escape text for HTML, or turn entities back into readable characters.