If you want to insert a dotted line in a Google Doc, follow these steps:

  1. Click the “Insert” button in the toolbar.
  2. Select “Dot” from the drop-down menu.
  3. Enter the desired width for the line in pixels, and click OK. ..