Learn how to remove lines in Google Docs with these step‑by‑step instructions. This guide covers horizontal lines, vertical lines, and line spacing adjustments to help you clean up your documents and achieve a polished look Less friction, more output..
Understanding Lines in Google Docs
Google Docs automatically adds some lines for formatting purposes, such as underline highlights, horizontal rules, and vertical lines that may be inserted via add‑ons or table borders. Plus, while these lines can be useful for visual separation, they sometimes appear unintentionally, especially after copying text from other sources or using templates. Recognizing the type of line you need to delete is the first step toward a clean document That's the part that actually makes a difference..
Common Types of Lines
- Horizontal lines – often created by typing three hyphens, asterisks, or underscores and pressing Enter, or by inserting a horizontal rule from the Insert menu.
- Vertical lines – typically part of table borders or inserted via the Table → Insert table feature with specific column settings.
- Underline or strikethrough lines – applied to text through the toolbar or keyboard shortcuts.
- Dashed or dotted lines – added via the Border weight or Border color options in table properties.
Each type requires a slightly different removal method, which we will explore in the following sections The details matter here..
Step‑by‑Step Guide to Remove Lines
1. Remove Horizontal Lines
- Locate the line – Move your cursor just above or below the horizontal line so the line is selected.
- Press Backspace or Delete – If the line is a simple horizontal rule, pressing either key will delete it.
- Use the menu (if needed) – If the line persists, click Insert → Horizontal line and then press Delete on your keyboard.
- Check for hidden formatting – Sometimes the line is part of a table or page break. Select the surrounding text and use Edit → Clear formatting to strip unwanted styling.
Tip: To prevent accidental insertion, disable the “Insert horizontal line” shortcut by going to Tools → Preferences → General and unchecking “Insert horizontal line with three hyphens.”
2. Remove Vertical Lines in Tables
- Select the table – Click anywhere inside the table that contains the vertical line.
- Open Table properties – Right‑click the table and choose Table properties.
- Adjust borders – In the Table properties dialog, go to the Border tab. Set the Vertical border to None or adjust the Border weight to 0 pt.
- Apply changes – Click Apply to save the modifications. All vertical lines will disappear.
If you only need to remove a specific vertical line, you can also use the Table border editor (the small pencil icon that appears when a table is selected) and drag the line you want to delete outside the table area.
3. Delete Underline or Strikethrough Lines
- Highlight the text – Drag across the words that have an underline or strikethrough.
- Use the toolbar – Click the Underline or Strikethrough button in the formatting toolbar to toggle the style off.
- Keyboard shortcut – Press Ctrl+U (or Cmd+U on Mac) for underline and Ctrl+Shift+S for strikethrough to remove them quickly.
If the underline is part of a hyperlink, you may need to first remove the hyperlink (right‑click → Remove link) before the underline disappears.
4. Eliminate Dashed or Dotted Lines
- Select the element – If the lines are part of a shape or line drawing, click on the object to select it.
- Open Format options – Right‑click and choose Format options → Customize.
- Change line style – In the Line style dropdown, choose Solid or set the Dash length to 0.
- Update – Click Apply to refresh the document.
For lines inserted via drawings, you can delete the entire drawing by selecting it and pressing Delete.
5. Bulk Removal Using Find and Replace
If you have many identical lines scattered throughout a document, Google Docs’ Find and replace feature can help:
- Open Find & replace – Press Ctrl+F (or Cmd+F) and click the three‑dot menu → Replace.
- Enter the line character – For horizontal lines, type
---(three hyphens) or***(three asterisks) depending on how they were created. - Leave “Replace with” empty – This tells Docs to delete the matched text.
- Click Replace all – All occurrences will be removed in one go.
Caution: Ensure you are not removing legitimate content that uses the same characters. It’s wise to Replace one at a time first to verify the results.
6. Reset Document Formatting
Sometimes lines appear because the document inherits formatting from a template or a copied source. To reset:
- Select the entire document – Press Ctrl+A (or Cmd+A).
- Clear formatting – Click Format → Clear formatting. This removes underlines, strikethroughs, table borders, and any manual line inserts while preserving the text content.
- Re‑apply needed styles – After resetting, you can re‑add any lines you actually need using the appropriate tools.
Why Lines Appear and How to Prevent Them
Understanding the root cause of unwanted lines can save time and keep your documents clean. Most lines are the result of automatic formatting, copy‑and‑paste behavior, or template inheritance The details matter here..
- Automatic formatting: Google Docs may auto‑add