Formatting Issues

How to Automatically Add Brackets Around Footnote References in Word

Kushani NimanthikaKushani Nimanthika Nov 3, 2026 870 views

Question details

The user wants to format all footnote references in a document by automatically enclosing them in brackets (e.g., [1]), but Microsoft Word does not have a native setting for this.

How to Automatically Add Brackets Around Footnote References in Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Applying specific academic or publication formatting rules that require brackets around footnote and endnote reference numbers in the document text.
Observed behavior
Microsoft Word inserts plain superscript numbers by default and lacks a built-in toggle to automatically add enclosing brackets to these references.
Before you start

Ensure you have finished writing and inserting all footnotes in your document, as the automated methods apply only to existing footnotes. If you add new footnotes later, you will need to repeat the process.

Solution 1Recommended

Use a VBA Macro to Add Brackets

Running a VBA macro is the most comprehensive way to enclose footnotes in brackets while ensuring both the brackets and the numbers retain identical superscript formatting.

Because Word does not provide a native bracket option for footnotes, a custom VBA script is required. The macro iterates through every footnote reference in your document, inserts opening and closing brackets, and matches the superscript format of the original reference.

1
Open the VBA Editor

Press 'Alt + F11' on your keyboard to launch the Microsoft Visual Basic for Applications window.

2
Insert a New Module

In the top menu, click 'Insert' and select 'Module' from the dropdown list to open a blank coding window.

3
Paste the Macro Code

Input your VBA code designed to search for footnote marks and wrap them in brackets while copying the font formatting.

4
Run the Macro

Press 'F5' or click the green 'Run' button in the toolbar. The macro will automatically execute and apply brackets to every footnote reference in your text.

Use a VBA Macro to Add Brackets
Macro Security: If you cannot run the macro, check your Trust Center settings in Word to ensure macros are temporarily enabled for your document.
Free Microsoft Office alternative

Experience Hassle-Free Document Editing with WPS Office

Struggling with complex macros in Microsoft Word just to achieve simple formatting tasks? WPS Office provides a free, lightweight, and highly compatible alternative that makes document processing straightforward and efficient. Switch today to enjoy premium features without the heavy subscription fees.

  1. 1. Download and Install: Visit the official WPS Office website to download the free application and install it on your device.
  2. 2. Open Your Document: Launch WPS Writer and open your existing Word document. All text, styles, and footnotes will be preserved.
  3. 3. Format with Ease: Use the intuitive built-in tools or the advanced Find and Replace features to manage your document formatting effortlessly.
Fully compatible with Microsoft Word (.doc, .docx) formats, ensuring your custom footnotes display flawlessly.Includes a powerful Find and Replace engine to handle advanced formatting adjustments quickly.Lightweight installation process with incredibly fast loading times.Familiar user interface that requires zero learning curve for existing Word users.
microsoft office alternative - wps office

Frequently Asked Questions

Can I remove the brackets later if I change my mind?

Yes. You can remove them by using the Find and Replace tool. Enable 'Use wildcards', search for '\[(^f)\]', and replace it with '\1' to strip the brackets while keeping the footnote number.

Will adding brackets remove the superscript formatting of my footnotes?

If you use the basic Find and Replace method, the brackets themselves might appear as normal text rather than superscript. A VBA macro is usually recommended because it can be programmed to copy the superscript formatting to the brackets.

Do I need to run the macro again if I add more footnotes later?

Yes. Since Word does not actively monitor footnote insertion for custom bracket formatting, neither the macro nor the Find and Replace method is dynamic. You will need to re-run the process after adding new footnotes.

Does this process work for Endnotes as well?

Yes, but you will need to target endnotes specifically. In Find and Replace, use '^e' instead of '^f' for endnotes. If using a VBA macro, the code must be adjusted to loop through the 'Endnotes' collection instead of the 'Footnotes' collection.