The fastest way to add a line
To add a line in Google Docs, go to the Insert menu, select Drawing, then New. In the drawing box that opens, click the Line tool (it looks like a diagonal line in the toolbar), then click and drag on the canvas to draw your line. When you're done, click Save and Close, and the line appears in your document.
This method works for any kind of line — horizontal, vertical, or diagonal — and gives you control over thickness, color, and style. The line becomes an object in your document that you can move, resize, or delete like any other element.
If you need a simple horizontal line to separate sections, there's a faster route: type three hyphens (---) on a blank line and press Enter. Google Docs converts it to a line automatically. This works for basic dividers but doesn't let you change the color or thickness.
Key Takeaways
- The Insert menu's Drawing tool is the main way to add lines in Google Docs, and it lets you control color, thickness, and angle.
- Typing three hyphens on a blank line and pressing Enter creates a quick horizontal divider without opening the drawing tool.
- Lines created through Drawing are objects you can click, move, and resize; lines created with hyphens are text formatting.
- You can change a line's appearance after drawing it by double-clicking it to reopen the drawing editor.
Using the Drawing tool for full control
The Drawing tool is where you have the most options. After you click Insert > Drawing > New, a white canvas opens in the center of your screen. Look for the toolbar at the top of the drawing box. The Line tool is usually the second icon from the left — it shows a single diagonal line.
Click the Line tool, then position your cursor where you want the line to start. Click and drag to the point where you want it to end, then release. The line appears on the canvas. If you want to draw another line, click the Line tool again; if you're done, click Save and Close to insert it into your document.
Once the line is in your document, you can adjust it. Click the line once to select it, then click it again to open the drawing editor. From there, you can change the color by clicking the line color icon (usually a pen with a colored underline), adjust thickness using the line weight dropdown, or change the style to dashed or dotted.
The three-hyphen shortcut for quick dividers
If you need a simple horizontal line to break up sections and don't need to customize it, use the hyphen method. On a blank line in your document, type three hyphens in a row: --- Then press Enter. Google Docs automatically converts this to a thin horizontal line.
This line is part of your document's text formatting, not a separate object, so you can't click it to move it or change its color. If you need to delete it, select the line and press Delete. If you need to customize it later — make it thicker, change the color, or angle it — you'll need to delete it and create a new one using the Drawing tool instead.
Positioning and resizing lines in your document
Lines created with the Drawing tool sit in your document as objects. To move a line, click it once to select it (you'll see small squares at the corners and edges), then drag it to a new location. To resize it, click and drag one of those corner or edge squares. Dragging a corner square keeps the line's angle; dragging a side square stretches it in that direction.
If a line isn't positioned exactly where you want it, you can fine-tune its placement. Click the line to select it, then use the arrow keys on your keyboard to nudge it one pixel at a time. Hold Shift while pressing an arrow key to move it in larger steps.
Lines can overlap text or sit on their own line in your document. If a line is covering text you need to read, click the line and drag it out of the way. You can also right-click a line and choose Arrange to send it behind text or bring it in front, depending on what you need.
Changing line color, thickness, and style
To edit a line's appearance, double-click it to open the drawing editor. In the toolbar, look for the Line color icon — it usually shows a pen with a colored underline. Click it to open a color picker and choose a new color. The color applies immediately to the line on the canvas.
Next to the color tool, you'll find the Line weight dropdown, which controls thickness. Click it and select a thicker or thinner option. You can also find a Line style tool (usually showing a solid line, dashed line, or dotted line) to change whether your line is solid, dashed, or dotted. Make all your changes on the canvas, then click Save and Close to update the line in your document.
Fixing common line problems
If you drew a line and it's not showing up, check that you clicked Save and Close after drawing it. Lines don't appear in your document until you save the drawing. If you see the drawing canvas still open, finish editing and click the button to close it.
If a line is too faint to see, it might be a very light color or very thin. Double-click it to reopen the drawing editor, then increase the line weight and choose a darker color. If a line is covering text and you can't read it, click the line and drag it to a new location, or right-click it and choose Arrange > Send backward to move it behind the text.
If you accidentally created a line with the hyphen method and want to customize it, you'll need to delete it and draw a new one using the Drawing tool instead. Select the line and press Delete, then use Insert > Drawing > New to create a customizable version.
When to use lines in your document
Lines work well for visual separation — breaking a document into sections, highlighting a divider between chapters, or creating a border effect. A horizontal line at the top of a page can mark the start of a new section. Vertical lines can separate columns of text or create a sidebar effect. Diagonal lines are less common but can add visual interest to a title page or cover sheet.
For simple documents like letters or reports, the three-hyphen method is usually enough. For documents where appearance matters — like a resume, flyer, or design-heavy document — the Drawing tool gives you the control to make lines look exactly as you want them.
Frequently Asked Questions
Can I make a line curved instead of straight?
The Line tool in Google Docs Drawing creates only straight lines. If you need a curved line, use the Curve tool instead, which is usually next to the Line tool in the drawing toolbar. Click it and draw the same way you would a line, but you can drag to create curves.
How do I delete a line I don't want anymore?
Click the line once to select it, then press Delete or Backspace. If it's a line created with hyphens, select the line and delete it the same way. The line disappears from your document immediately.
Can I copy a line and paste it somewhere else in my document?
Yes. Click the line to select it, press Ctrl+C (or Cmd+C on Mac) to copy it, then click where you want to paste it and press Ctrl+V (or Cmd+V on Mac). The copied line appears in the new location with the same color, thickness, and style.
What's the difference between a line and an arrow?
Lines are straight segments with no endpoints. Arrows have a point at one or both ends. In the Drawing tool, the Arrow tool is separate from the Line tool. Choose whichever matches what you're trying to show — use arrows to indicate direction or flow, and lines for simple dividers or borders.
Can I make a line thicker after I've already drawn it?
Yes. Double-click the line to reopen the drawing editor, then click the line weight tool and choose a thicker option. Click Save and Close to apply the change to your document.