Monday, July 24, 2023

Adding line numbers to Google Docs


[September, 8, 2023] Rollout has completed as of September 8, 2023.
[August 17, 2023] We have paused rollout for this feature for Scheduled Release domains only while we evaluate and optimize performance. We will provide an update once rollout resumes.

What’s changing 

In addition to previous updates that give you more control over formatting in Google Docs, such as viewing non-printing characters and enhancements to content organization, we’re introducing the option to display line numbers within Docs that are set to paged mode

The numbers are automatically calculated next to each line in the document, and can be configurable for the entire document, a page, or a specific section. Additionally, these numbers are preserved when printing. 

This feature makes it easier for you to reference specific content positions in documents, particularly when collaborating with others on long or complex content. 
Screenshot of an example document with a number associated with each line within a Google Doc

Getting started 

  • Admins: There is no admin control for this feature. 
  • End users: After adding content in a Google Doc, select Tools > Line numbers > “Show line numbers.” From there you can modify the line numbering mode and determine what portion of the Doc you want numbers applied to. Visit the Help Center to learn more about using line numbers in Google Docs.

Rollout pace 

  • Rapid Release domains: Gradual rollout (up to 15 days for feature visibility) starting on July 24, 2023 
  • Scheduled Release domains: Extended rollout (potentially longer than 15 days for feature visibility) starting on August 7, 2023 


  • Available to all Google Workspace customers and users with personal Google Accounts