# Remove line breaks

> Join lines while optionally keeping paragraphs.

[Open tool](https://www.toolcabana.com/lb/remove-line-breaks) · [Text and writing](https://www.toolcabana.com/lb/category/text-and-writing)

Tool ID: remove-line-breaks. Requested language: lb. Description language: en. Complete guide translation: no; untranslated sections use English.

## Overview (en)

Remove Line Breaks joins wrapped lines into continuous text by replacing each line break with a space. With Preserve paragraph breaks on, which is the default, blank lines stay as paragraph separators and only the breaks inside each paragraph are joined. Turn it off to merge the entire input into a single line.

## Supported tasks (en)

Join lines while optionally keeping paragraphs.

## Steps (en)

1. Type or paste your source, or load an example.
2. Change the basic settings or open Advanced mode to fine-tune the result.
3. Review and copy or download your result. Pause Live results to run manually. Sources or individual settings above 20,000 characters require an explicit run.

## Settings

- Preserve paragraph breaks (en; key: preserve; type: checkbox)
- Whitespace (en; key: mode; type: select): Collapse repeated whitespace [en], Trim line edges [en], Remove all whitespace [en]

## Limitations (en)

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Example input

```text
Hello world.
A second line.
Café, İstanbul, 日本語, and 👨‍👩‍👧‍👦.
```

## Privacy and connections (en)

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

## Questions (en)

### How do I fix line breaks in text copied from a PDF?

Paste the text and keep Preserve paragraph breaks on. Lines within each paragraph are joined with spaces, while the blank lines between paragraphs remain, so the text reflows without losing its paragraph structure.

### Are line breaks deleted or replaced with spaces?

Each break is replaced with a single space so words on neighboring lines do not run together. If a line already ended with a space, the result can contain a double space, which Remove Extra Spaces can collapse.

### Does it handle Windows line endings?

Yes. Carriage return plus line feed endings are recognized as well as plain line feeds, so text copied from Windows, macOS and Linux sources is joined the same way.

### Where is my input processed?

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

### What are the input limits?

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Related tools

- [Remove extra spaces](https://www.toolcabana.com/lb/remove-spaces)
- [Remove accents](https://www.toolcabana.com/lb/remove-accents)
- [Remove punctuation](https://www.toolcabana.com/lb/remove-punctuation)
- [Remove duplicate lines](https://www.toolcabana.com/lb/deduplicate-lines)
