Document Clause and Heading Numbering Fixer
Open a Word contract or policy, or paste its text, and the tool puts typed clause numbers back in order level by level, updates references such as clause 5.1, lists every change and saves a clean DOCX.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Open
Load the DOCX or paste text.
- 2References
Keep cross-references on.
- 3Style
Choose top-level full stops.
- 4Review
Read changes and warnings.
- 5Download
Save the fixed DOCX.
About this tool
The Document Clause and Heading Numbering Fixer repairs numbers that were typed by hand at the start of paragraphs. Contracts, policies, leases and terms of business are often edited for months by several people; a clause is deleted, another is pasted from an older version, and the numbering ends up as 1, 2, 4, 5 with two clauses called 5.1 and references pointing at numbers that no longer exist. Fixing this by hand is slow and easy to get wrong. You can open a .docx, .txt or .md file, or paste the text into the box when no file is open. The tool looks at the start of every paragraph and recognises decimal numbers such as 3, 3.2 and 3.2.1, keyword numbers such as Article 3, Section 2.1, Clause 4, Part 2 and Schedule 1, lower-case letters in brackets such as (a), roman numerals such as (iv) and capital letters such as (B). The level of a decimal number is taken from its dots, so 3 is level 1 and 3.2 is level 2. Each level is counted again from the start, and every lower level restarts when a higher one moves on. Letters restart after each numbered clause, and roman numerals restart after each letter. Once the new numbers are known, cross-references in the text are found and changed: the words clause, section, article, paragraph, sub-clause and schedule, in singular or plural, followed by one or more numbers joined with commas, and, or, to or a dash.
Who this is for
Lawyers and paralegals tidying a draft before it goes out, HR and compliance staff maintaining policies, procurement teams editing supplier terms, and teachers or students preparing structured documents with numbered sections.
How to use it
1. Open the .docx or .txt file, or paste the text. 2. Leave Update cross-references ticked. 3. Choose how top-level numbers should end. 4. Read the Number changes and Cross-references tabs. 5. Download the fixed DOCX or text.
What the sample shows
The sample services agreement has 18 numbered paragraphs, and 12 of them are renumbered. Clause 2.3 becomes 2.2 because 2.2 was missing, clause 4 Services becomes 3, Fees moves from 5 to 4, Confidentiality from 6 to 5 and Termination from 8 to 6. Under Services, the letters (a), (c), (d) become (a), (b), (c). The document had two clauses numbered 5.1; the first becomes 4.1 and the second 4.2. Of 7 cross-references, 4 are updated: clause 5.1 in the definitions now reads 4.1, clause 2.3 in item (c) reads 2.2, and the termination clause now refers to clause 4.1 or clause 5.1. Three references point at numbers that were never in the document, 3, 7 and 5.2, and are listed as a warning together with the duplicate 5.1.
DOCX formatting and Word's own numbering
In a DOCX the new number is written into the same run as the old one, so bold headings, fonts and paragraph styles stay as they were. Paragraphs that use Word's automatic numbering are not touched, because Word recalculates those itself; the warning line tells you how many there are. Pasted text produces a plain DOCX with one paragraph per line, alongside the text file.
Full stops after top-level numbers
Keep as written leaves 1. and 1 alone. Always 1. adds a full stop after level-one numbers and Always 1 removes it, which helps when parts of a document were copied from different templates.
Limits
Only typed numbers at the start of a paragraph in the main body are recognised, so numbers in headers, footers and footnotes, and Word list numbering, are left alone. Numbers inside table cells are left alone unless you tick the option to include tables, so a schedule table keeps its own 1, 2, 3. A reference to a number that appeared twice is pointed at its first appearance; check those references by hand. A reference to a number that never existed is kept and reported. A reference written with its letter, such as clause 4.1(c), follows both the new clause number and the new letter; a bare paragraph (b) is left as written. This is a drafting aid and not legal advice, so read the changes list before the document is signed.
Worked example
Sample agreement: 18 numbered paragraphs, 12 renumbered, 7 cross-references of which 4 updated, duplicate 5.1 and 3 references to missing numbers reported.
Quick facts
- Category: Documents & Letters
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Common contract numbering conventions (1, 1.1, (a), (i)) and ECMA-376 WordprocessingML
Frequently asked questions
Does it change Word's automatic list numbering?
No. Paragraphs numbered by Word's list feature are counted and left alone, because Word renumbers them itself. Only numbers typed as text are fixed.
Are cross-references updated?
Yes, when Update cross-references is ticked. Phrases such as clause 5.1, sections 2.1 and 2.3 or schedules 1 to 3 are changed to the new numbers.
What happens if two clauses have the same number?
They get separate numbers in sequence, and references to the shared number are pointed at the first one. A warning names the duplicate so you can check those references.
Will my headings stay bold?
Yes. In a DOCX the new number replaces the old one inside the same run, so its font, size and bold setting are kept.
Can I use it on plain text?
Paste the text into the box with no file open, or open a .txt or .md file. You can download the fixed text or a simple DOCX.
How are (i) and (v) told apart from letters?
(i) right after (h) is treated as a letter, and (v) or (x) after (t) or later letters is treated as a letter too. Otherwise they count as roman numerals.
