How to Automatically Add Brackets Around Footnote References in Word
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.

- 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.
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.
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.
Press 'Alt + F11' on your keyboard to launch the Microsoft Visual Basic for Applications window.
In the top menu, click 'Insert' and select 'Module' from the dropdown list to open a blank coding window.
Input your VBA code designed to search for footnote marks and wrap them in brackets while copying the font formatting.
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 the Advanced Find and Replace Tool
If you prefer not to use VBA macros, Word's native Find and Replace functionality can quickly wrap all existing footnotes in brackets.
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. Download and Install: Visit the official WPS Office website to download the free application and install it on your device.
- 2. Open Your Document: Launch WPS Writer and open your existing Word document. All text, styles, and footnotes will be preserved.
- 3. Format with Ease: Use the intuitive built-in tools or the advanced Find and Replace features to manage your document formatting effortlessly.

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.




