Remove Line Breaks in Google Docs
Learn how to remove unwanted line breaks in Google Docs using find and replace, paste adjustments, and manual fixes.
Before you start
You can remove line breaks directly in Google Docs in a desktop or mobile browser. No extra service is required. The process works on the current open document, and you can undo each change with Ctrl+Z on Windows or Command+Z on Mac if the result looks wrong.
Prepare a copy of the document if you are cleaning a long file or trying an unfamiliar method. That way the original formatting stays available.
Step-by-step instructions
Remove single line breaks with find and replace
Open the document and place the cursor anywhere. Open Edit, then Find and replace. In the Find field, type the regular expression for a newline: a backslash followed by the letter n. The field should show \n.
In the Replace with field, enter a single space if you want the joined text to stay readable. Select the option for matching using regular expressions. It may be labelled Search using regular expressions depending on the version.
Choose Replace all to remove every line break in one pass, or use Replace to review each change. When two paragraphs are separated by a blank line, removing the newlines can merge them into one paragraph.
Remove line breaks from pasted text
If line breaks appear after you paste text into Google Docs, paste without formatting. Press Ctrl+Shift+V on Windows or Command+Shift+V on Mac. This can reduce extra breaks caused by the source formatting, although results depend on the copied content.
Remove individual line breaks manually
Click at the end of a line and press Delete, or click at the start of the next line and press Backspace. This works best for short documents where you want to control exactly which breaks are removed.
Check the output
Scroll through the document and look for sentences that were joined without a space. If the original line breaks did not have trailing spaces, the text may show words stuck together. Use find and replace again to fix the affected spacing.
Check paragraph boundaries before printing, exporting, or sharing. Removing line breaks changes the visual structure of the document but does not affect the Google Docs file format itself.
Common problems and next steps
If replace does not find anything, confirm that the regular expression option is enabled. A plain \n typed without that option is treated as ordinary text.
If all lines become one block, undo the replacement and replace only selected sections. Select the relevant text first, open Find and replace, and work on that smaller area.
If the document came from a PDF or scanned source, line breaks may be mixed with other formatting. Check for manual line breaks and paragraph spacing after the main replacement, then adjust the remaining breaks by hand.