The quickest way to add a vertical line

Open your Google Doc and place your cursor where you want the line to appear. Go to Insert in the menu bar, then select Drawing, then New. In the drawing toolbar that opens, click the Line tool (it looks like a diagonal line). Hold Shift while you drag to draw a perfectly vertical line, then click Save and Close. The line appears in your document and you can move or resize it by clicking and dragging.

This method works in any Google Doc and takes about 30 seconds once you know where to look. The line stays where you place it and won't shift when you edit text around it, which makes it useful for dividing sections or creating forms.

Key Takeaways

  • The Insert > Drawing > New menu is the standard way to add a vertical line that stays in a fixed position.
  • Hold Shift while dragging the line tool to may support your line is perfectly vertical rather than at an angle.
  • You can change the line color and thickness by selecting it and using the toolbar options before saving.
  • A table with one column is an alternative if you need a vertical line that moves with your text instead of staying fixed.
  • Vertical lines created with the drawing tool won't disappear if someone else edits the document, unlike some formatting tricks.

Customizing the line's appearance

After you draw the vertical line but before you click Save and Close, the drawing toolbar shows options to change how it looks. Click the line color button (it shows a colored line) to pick a different color. Next to it is the line weight button, which controls thickness — move the slider right to make the line thicker or left to make it thinner.

You can also add a dash pattern if you want a dotted or dashed line instead of solid. Click the dash pattern button (three horizontal lines) and choose from the options. These changes only affect the line you're currently drawing, so if you add another line later, it will start with the default settings unless you change them again.

Moving and resizing the line after you save it

Once you click Save and Close, the line appears in your document as an object you can edit. Click on the line once to select it — you'll see small squares at the top and bottom. Drag the line itself to move it to a different location. Drag the squares at the ends to make it longer or shorter.

If you need to change the color or thickness after saving, click the line to select it, then click the three-dot menu that appears next to it. Choose Edit to open the drawing editor again, make your changes, and click Save and Close. The updated line replaces the old one in your document.

Using a table column as an alternative

If you want a vertical line that moves with your text when you edit above or below it, a single-column table works better than a drawing. Go to Insert > Table and choose 1 column and as many rows as you need. The table borders create a vertical line on the left and right sides of your content.

Right-click the table and select Table properties. Under Borders, choose which sides show a border — you can hide the top, bottom, and right borders to leave only the left vertical line visible. This approach is useful if you're creating a form or a two-column layout where the line should stay aligned with text that changes.

Why your vertical line might disappear

A line created with Insert > Drawing stays in place even if someone else edits the document, but it can shift if you move it near a page break. If your document is long and the line ends up on a different page than you intended, click it and drag it back to the right location. Google Docs doesn't automatically reflow drawing objects the way it does text.

If you delete text around the line and the line seems to vanish, it may have moved off-screen or to a blank area of the page. Click in the general area where you remember placing it and look for the selection handles. You can also use Ctrl+Z (or Cmd+Z on Mac) to undo the deletion and restore the line's position.

Adding multiple vertical lines

You can add as many vertical lines as you need by repeating the Insert > Drawing > New process for each one. Each line is a separate object, so you can move, resize, and customize them independently. This is useful if you're creating a form with multiple columns or a timeline with vertical markers.

If you find yourself adding the same line repeatedly, consider whether a table might be faster. A three-column table with hidden borders creates two vertical lines when ready, and you can adjust the column widths to space them however you want. For complex layouts with many lines, a table is usually less work than drawing each line individually.

Frequently Asked Questions

Can I make a vertical line that spans the entire page?

Yes. When you draw the line, drag from the top of where you want it to the bottom. You can make it as long as the page height. If you need it to extend across multiple pages, you'll need to draw separate lines on each page, or use a table with borders instead.

How do I make the line perfectly straight if I can't hold Shift?

Hold Shift while dragging the line tool — this locks the angle to vertical or horizontal. If Shift isn't working, check that your keyboard isn't stuck. On a touchpad, you may need to use a keyboard shortcut instead; try drawing the line first, then using the line weight and color tools to adjust it.

Can I copy a vertical line to use it again in the same document?

Yes. Click the line to select it, press Ctrl+C (or Cmd+C on Mac) to copy it, then click where you want the copy and press Ctrl+V (or Cmd+V). The copied line appears in the same position, so drag it to where you need it. This is faster than drawing the same line twice.

What's the difference between a line I draw and a line from a table border?

A drawn line stays in a fixed position and won't move if you edit text. A table border moves with the table when you add or delete rows. Use a drawn line for dividers that should stay put, and a table border for layouts where the line should stay aligned with changing content.

Can I make a vertical line transparent or semi-transparent?

Google Docs drawing lines don't have a transparency option. You can only change the color and thickness. If you need a faint line, choose a light gray color instead of black, which gives a similar visual effect.