How to change all instances of heading 1 to heading 2 at once in Word document?
When working with Word documents that contain various styles such as title, subtitle, heading 1, heading 2, and more, you might sometimes need to reorganize your document structure for clarity or consistency. For example, suppose your document uses the "Heading 1" style for certain sections, but after reviewing the document organization, you realize all those section headings should actually use the "Heading 2" style instead. Manually changing each heading can be very time-consuming, especially in a long document with dozens or even hundreds of headings. This article discusses several practical methods to help you efficiently change all occurrences of heading 1 to heading 2 style at once in Word.
Change all instances of heading 1 to heading 2 at once
VBA Code - Batch convert Heading 1 to Heading 2 across the document
Change all instances of heading 1 to heading 2 at once
The following method utilizes the built-in Styles pane in Word to change every instance of Heading 1 to Heading 2 in one operation. This is suitable if you want a visual approach and wish to double-check the changes as you go.
1. Place your cursor within any paragraph styled as Heading 1 in your document to activate the style, then go to the Home tab and click on the dialog box launcher in the Styles group. This opens the Styles pane, which provides a list of all styles currently in use in the document.

2. In the Styles pane that appears on the right side, locate the Heading 1 style. Right-click on Heading 1 and choose Select All from the menu that appears. This action will automatically select every Heading 1 paragraph throughout your document, which is particularly helpful for large files, as it eliminates the need to search and select each heading individually.

3. With all Heading1 text now selected, simply click on Heading 2 within the Styles pane. All selected headings will instantly have their style changed from Heading 1 to Heading 2. This bulk operation not only saves time but also maintains uniform formatting across your document.

Tips and considerations: Make sure that any text you intend to convert is correctly formatted as Heading 1 before starting. Sometimes manually styled text (for example, manually made bold and large but not assigned the Heading 1 style) will not be affected. If a significant number of headings are formatted manually, consider applying Heading 1 style first to ensure a smooth conversion. Also, review the result after conversion to confirm that only the intended text was changed. If you accidentally selected unintended text, you can use the Undo function (Ctrl + Z) to revert the changes and repeat the process with adjustments.
This method is user-friendly and does not require advanced technical skills, making it ideal for general users managing mid-sized documents.
VBA Code - Batch convert Heading 1 to Heading 2 across the document
For more advanced scenarios, such as when working with large or highly complex documents, a VBA macro provides an automated and efficient way to change all Heading 1 style paragraphs to Heading 2 at once. This solution is especially useful if you need to repeatedly perform this task or process multiple documents quickly.
Applicable scenarios: Consider this approach when your document contains many heading levels or is too lengthy for convenient manual editing, or when multiple Heading 1 sections are scattered throughout the document and you want to ensure complete coverage without missing any instances. VBA allows you to perform the conversion quickly and programmatically, reducing the risk of human error.
Limitations: VBA may require macro security settings enabled in Word, and editing the macro directly may not be suitable for users unfamiliar with scripting. Always make sure to back up your document before running macros to prevent accidental data loss.
1. Open your Word document. Before running the macro, you do not need to select any text— the macro will process the entire document.
2. Press the Alt + F11 keys to open the Microsoft Visual Basic for Applications window. In the VBA window, click Insert > Module to create a new module. Then, copy and paste the following VBA code into the module.
VBA code: Change all Heading 1 paragraphs to Heading 2 in the document
Sub ChangeHeading1toHeading2()
Dim para As Paragraph
Dim countChanged As Long
Dim xTitleId As String
On Error Resume Next
xTitleId = "Kutools for Word"
countChanged = 0
For Each para In ActiveDocument.Paragraphs
' Built-in style names include a space: "Heading 1"
If para.Style = ActiveDocument.Styles("Heading 1") Then
para.Style = ActiveDocument.Styles("Heading 2")
countChanged = countChanged + 1
End If
Next para
MsgBox countChanged & " Heading 1 paragraphs changed to Heading 2.", _
vbInformation, xTitleId
End Sub 3. Close the VBA editor. To run the macro, return to the Word window, press Alt + F8 to open the macro list, select ChangeHeading1toHeading 2, and click Run. The macro will automatically search the entire document and update any paragraph using the Heading 1 style to Heading 2. Upon completion, a dialog will display the total number of headings changed.
Tips: Save your document before running the macro in case you want to undo the action. Be aware that the macro changes all paragraphs with exactly the "Heading 1" style— custom-named or modified styles won’t be affected. If you have customized style names, update the code accordingly. If you encounter an error or no changes are made, confirm your headings are properly styled. You can always undo the macro using Ctrl + Z if the result is not as expected.
This VBA approach is highly effective for batch processing, offering great practicality for large-scale or repetitive formatting tasks.
Best Office Productivity Tools
Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!
🤖 Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish (Preserve Format) / Super Translate (Preserve Format) / AI Redaction / AI Proofread...
📘 Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...
✏ Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...
🧹 Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...
➕ Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group...
🔍 Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...
⭐ Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...
🌍 Supports 40+ Languages: Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Office Tab - Brings Tabbed interface to Office, Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
✨ Kutools for Office – One Installation, Five Powerful Tools!
Includes Office Tab Pro · Kutools for Excel · Kutools for Outlook · Kutools for Word · Kutools for PowerPoint
📦 Get all 5 tools in one suite | 🔗 Seamless integration with Microsoft Office | ⚡ Save time and boost productivity instantly
Best Office Productivity Tools
Kutools for Word - 100+ Tools for Word
- 🤖 Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish / Super Translate / AI Redaction / AI Proofread
- 📘 Document Mastery: Split Pages / Merge Documents / Batch Convert to PDF
- ✏ Contents Editing: Batch Find and Replace / Resize All Pictures
- 🧹 Effortless Clean: Remove Extra Spaces / Remove Section Breaks
- ➕ Creative Inserts: Insert Thousand Separators / Insert Check Boxes / Create QR Codes
- 🌍 Supports 40+ Languages: Kutools speaks your language – 40+ languages supported!