Heading Numbers: Auto Number Headings & Sections
A free add-on for Google Docs™ by Single Task Tools. One task: number every heading of the document by level (1, 1.1, 1.1.1, or 1., 1.1., or I., A., 1.), update after changes, remove with one click. Menus in English, Spanish, Portuguese, French, German and Italian.
Install it from the Google Workspace Marketplace™ (search for “Heading Numbers”), or from Extensions › Add-ons › Get add-ons inside Google Docs™.
How to use it
- Give your titles a heading style (Format › Paragraph styles › Heading 1, 2, 3…), as you do for the table of contents.
- Open Extensions › Heading Numbers › Number the headings.
- After you add, move or delete headings, choose Update the numbers. Remove the numbers takes them all out. Ctrl+Z (Cmd+Z on a Mac) undoes it.
Options
- Style: 1 · 1.1 · 1.1.1, or 1. · 1.1. · 1.1.1., or the outline I. · A. · 1. · a) · i).
- Levels: headings 1 to 3 (default) or all headings (1 to 6).
- Insert example headings adds eight headings in three levels, so you can try it on any document.
Worth knowing
- The numbers are text in front of the heading, so they show in the table of contents of Docs™ (refresh it), in the outline, in print, in PDF and in the Word file you download. Fast: 120 headings are numbered in a couple of seconds.
- It numbers paragraphs that have a heading style (Heading 1 to 6). A clause written as a normal paragraph with a number in front is not touched: give it a heading style first. Mentions inside the text (“see clause 4.2”) are not updated.
- The add-on keeps track of its own numbers inside the document (named ranges), so Ctrl+F, copying and pasting stay normal. A number typed by hand in front of a heading (“2.”, “1.3”, “1.1.”) is replaced when you number; a year (“2026. A key year”), a name (“A. Einstein”) or a word like “3M” is left alone. A Heading 3 with no Heading 2 before it is numbered 1.1.1 and the add-on tells you.
- The document Title and Subtitle styles are not numbered; empty headings are skipped. The heading keeps its style and formatting.
Questions
Does anything leave my document?
No. The add-on is a script that runs inside your Google account and only asks for permission to edit the document it is open in. No servers of ours, no tracking, no account. See the privacy policy.
No. The add-on is a script that runs inside your Google account and only asks for permission to edit the document it is open in. No servers of ours, no tracking, no account. See the privacy policy.
Why not use Docs' numbered lists?
Numbered lists in Docs™ are for list items; headings have their own styles and the table of contents is built from them. This add-on numbers the headings themselves, so the numbers appear everywhere the headings do.
Numbered lists in Docs™ are for list items; headings have their own styles and the table of contents is built from them. This add-on numbers the headings themselves, so the numbers appear everywhere the headings do.
Does it work in the mobile app?
No. Google Docs™ add-ons run in the web version only.
No. Google Docs™ add-ons run in the web version only.
Anything else: support@singletasktools.com.