onibaku.apps
Google Docs add-on

Heading Numbering & Table of Contents

Numbered headings for Google Docs™: 1, 1.1, 1.1.1, or legal style with (a) and (i). Move a section and renumber in one click. References to clauses and sections update with it.

Renumber safely, as often as you like

Run it twice and nothing doubles. Move, add or delete headings and press Update: every number is recalculated. Headings like "2026 Budget" keep their own numbers.

Styles for real documents

Decimal, legal (1. · 1.1 · (a) · (i)), outline (I. · A. · 1.), chapters, or your own pattern per level, like Article %1 or Schedule %1.

Cross-references that keep up

Link to "clause 3.2(a)" from anywhere in the document. When the numbering changes, every reference changes with it, and any that point at a deleted heading are flagged.

Install from the Google Workspace Marketplace

See it in 30 seconds:

Video: numbering, moving and renumbering headings in Google Docs (30 seconds, opens YouTube)

Getting started

  1. Give your section titles heading styles: Format → Paragraph styles → Heading 1, 2, 3.
  2. Choose Extensions → Heading Numbering & Table of Contents → Open.
  3. Pick a style and which heading levels to number. The preview shows the result before anything changes.
  4. Press Update numbering. Press it again whenever you've moved or added headings.

Numbers are ordinary text at the start of each heading, so they show in Google's outline, its table of contents, PDFs and Word exports. A non-breaking space follows each number: that's how the add-on recognises its own numbers and leaves the rest of your text alone. Remove takes them all off again.

Options

Contents

On the Contents tab, choose how deep to go and whether to show numbers and links, then press Insert contents. A linked list of headings goes in below your cursor and refreshes every time you update the numbering. Google's own table of contents works alongside it: after renumbering, click Google's table and press its refresh button.

Cross-references (Pro)

Put your cursor where the reference should go, open the Outline tab, hover over a heading and press Ref. Choose the number ("3.2"), number and title ("3.2 Late payment") or title only, with an optional word in front such as clause or section. References are links, so readers can click through. If a heading they point at is deleted, they're highlighted in yellow and listed in the sidebar.

Plans

FreeProTeam
Decimal numbering, renumber and removeYesYesYes
Outline view and contents listYesYesYes
Legal, outline, chapter and custom stylesNoYesYes
Every tab at onceNoYesYes
Cross-referencesNoYesYes
PriceFree$4 a month or $29 a year$3 a person a month or $24 a year, from 3 people

Upgrade from the sidebar. Payment is handled by Stripe, and Pro unlocks in the sidebar within a few seconds, on the Google account you upgraded from. The receipt page shows a licence key, which you can use to move Pro to a different Google account. Cancel or change your card any time from Manage subscription in the sidebar.

On a Team plan, colleagues with an email address at the same work domain as yours get a seat automatically the first time they open the add-on. Anyone else joins by entering the team's licence key under Have a licence key?. The buyer can see who has a seat, remove people and change the number of seats from the seats page linked on the receipt and in the sidebar.

Security and your data

Details are in our privacy policy.

Help

A heading wasn't numbered

Check it uses a heading style (not just big bold text), that its level is in the range you chose, and that it isn't in the "don't number" list or under a heading that is. Hover over it in the preview to see why it was skipped.

Some headings have two numbers

One number was typed by hand. Tick Replace typed numbers in the sidebar and update. If the heading is part of a Docs numbered list, remove the list numbering with Format → Bullets & numbering first.

Small blue flags appeared next to my headings

Those are Google Docs bookmarks, which the contents list and cross-references link to. Docs shows them while you edit; they don't appear when the document is printed, exported to PDF or viewed by readers. Deleting one breaks the links to that heading, which the sidebar will point out. A contents list with Link to each heading turned off doesn't add any.

Google's table of contents shows old numbers

Google's table doesn't refresh by itself. Click it and press the refresh button that appears. The add-on's own contents list refreshes whenever you update the numbering.

I paid but the add-on still says Free

Reopen the sidebar on the Google account you upgraded from. If you paid from a different account, choose Have a licence key? and paste the key from your receipt page. Still stuck? Email admin@onibaku.co.uk with the email on your Stripe receipt and we'll sort it the same day.

It says a permission is missing

Google lets you untick permissions when installing. Press Allow access in the sidebar and tick everything, then press check again.

Guides

Found a bug, or want a feature? Email admin@onibaku.co.uk.

Google Docs™, Gmail™, Google Drive™ and Google Apps Script™ are trademarks of Google LLC. This add-on is not made or endorsed by Google.