Skip to content
Create Google Docs with numbered paragraphs as required for patents
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Auto-number paragraphs in Google Docs, as required by US Patent Office.

Given a document of

Heading A

para 1 ...

para 2

Heading B

Will become:

Heading A

[0001] para 1 ...

[0002] para 2 ...

Heading B


  1. Open your document > Tools > Script editor...
  2. Start a blank project
  3. Paste the code from the file and save
  4. Select Run > onOpen and authorise the script for the first time
  5. Select Run > onOpen
  6. Change to your Document and try the functions on the Paragraph tools custom menu created.
You can’t perform that action at this time.