Boneyard Tools

Remove Line Breaks From Text

Paste text to strip out line breaks and turn it into a single clean line. Choose what replaces each break and whether to tidy extra spaces.

How to remove line breaks

  1. Paste your text into the box.
  2. Pick what replaces each line break, usually a space or nothing.
  3. Copy the cleaned, single-line result.

Examples

Flatten to one line

Dear team,
Thanks for the update.
Best, Ada
Dear team, Thanks for the update. Best, Ada

Frequently asked questions

Does this also remove extra spaces?

Yes, optionally. Collapsing spaces turns multiple spaces or tabs into a single space for clean output.

Will it handle text copied from a PDF?

Yes. PDFs often add a break at the end of every line, and this tool joins them back into flowing text.

Are Windows and Mac line endings supported?

Yes. CRLF, CR and LF line endings are all handled.

Is my text private?

Yes. Everything runs in your browser and nothing is uploaded.

Related tools