Lines play an important role in documents. In emails, for example, they can be used to separate sections. The same is the case with other materials; vertical and horizontal lines denote separation. Let’s have a look at how to insert a line in Word online.
Case-1: On a PC
Follow these simple steps

1. Go to the Insert tab
2. Select the Drawing option

3. Select Shapes
Once you select Shapes you will have a list to choose from.
4. Click on the Line. Check out the screenshot below for your reference.

5. format the line as per your requirements
6. Save and Close the pop-up menu
Read How to sign a document in Word Online?
Case-2: On an Android device
Follow these steps
- Open the document you would like to edit in the Word application on your Android device
- once you have the document open, click on the spot where the line needs to be added
- you will then need to click on the editing option that’s on the top right corner of the screen.
- This wil open another menu at the bottom of the page

5. click on the arrows near Home, and it should open a menu
6. Scroll to it and select Insert. From there, all you need to do is select Shapes

7. In the shapes section, there are several shapes to choose from. Select the line option depending on what you require. Once you click on the line, it will appear in your document, as shown in the screenshot below.

8. on selecting the line option you can edit it from the options available. this includes changing the size, the color, etc.

- There are many other options in the same section, including size—if you have a specific size in mind and you do not want to achieve it without dragging it around, you can use this option.
- You can also arrange the line as opposed to other text on the page.
- you can also Wrap the text depending on the document.
Read How to double space in word online?
Case-3: On an iOS device
Follow these simple steps to insert a line on your ios device in Word Online:
- Open the document you would like to edit on either a browser or in the Word application
- Click on edit
- Click on Insert
- You will now have a list of options from those selected Shapes
- Choose the line option. It will show on the document
- Drag the ends to adjust the size
- you can edit the line using the options available in the menu below
- once done, click on the the check mark to save the changes made.
Innovative ways of creating lines in Word online
Other than the traditional lines, you can get creative and try some of these innovative ways of creating lines in documents. All you need to do is use your keyboard and use multiple characters to form a line. Some examples of innovative lines are:
- Hyphens –
—————————-
- Equal signs =
=======================
- Underlines _
_______________________
- Asterisks *
***********************
- Hash tags #
########################
- Tildes ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FAQs
How to format lines in Word online?
In order to format lines in Word online, you must first determine where the line will be and what its purpose is. This will determine the line’s weight, type, size, and color.
In order to format lines in Word online, you must first determine where the line will be and what its purpose is. This will determine the line’s weight, type, size, and color.

- Inset the line—this is done by clicking in the box and dragging the mouse to the desired length without releasing the click.
- Shape outline—This option changes the color of the line inserted. The choice depends on the type of document and specific requirements.

- Changing line weight – weight is nothing but the thickness of the line. The option is available under the shape outline menu. All you need to do is scroll down from the colors. the weight of the line ranges from 1/2 a point to 4 and a 1/2
- Line type—You can also change the type of line and its weight. This includes dotted lines, dash lines, and the standard solid lines.

- line position – After the type of line is finalized, you can choose where to place it in the document. Here, the Arrange option comes in handy. You can choose to leave the line in the front, move it backward, or move it to the front or back as opposed to the text it is against.
Once the formatting is done, be sure to save and close the popup window; otherwise, all the changes made to the line will be lost.
When it comes to adding a horizontal line in Word it is important to understand that the line option through slanting can be used horizontally or vertically or cross.
How to add a horizontal line in a World
Insert > shapes > Line
once the line is in the document, you can move it around, edit it, and also be used to format the line in different ways.
In Word, to add a line, click on Insert > Shapes > Line
repeat this as many times as you desire.
along with adding multiple lines, you can also edit the lines, change their appearance, and format them in accordance with the text around them.
Related Microsoft Word online tutorials:
- How to add page numbers in word online?
- How to delete a document in word online?
- How to add columns in word online?

My name is Carissa Gudino and I am an expert in word online, using Word Online in my day-to-day tasks. In this blog, I will share with you tips and tutorials on how to use word online to its fullest potential. I work for various clients in various countries like the United States, Canada, the United Kingdom, Australia, New Zealand, etc. My tutorials are designed to help beginners, as well as more experienced users, learn new tricks and tips on Microsoft word online. Check out more.