How to insert or put a line over text in Word document?
In a Word document, you can easily underline text - but have you ever needed to insert a line *above* text? This article shows three methods for placing a line over text in Word.
Insert or put a line over text with Equation function in Word
The built-in Equation feature provides a convenient way to apply an overbar to text.
- Click where you want to insert the overlined text. Then go to "Insert" > "Equation" > "Insert New Equation".
- Under the "Design" tab in "Equation Tools", click the "Accent" dropdown, then choose "Overbar" from the Overbars and Underbars section.
- A box with a bar above it will appear. Click the box and type the text you want to apply the overbar to.
Insert or put a line over text with Field function in Word
You can also use Word's Field function to apply a line above text. Here's how:
- Click where you want to insert the overlined text. Then go to "Insert" > "Quick Parts" > "Field".
- In the Field dialog box, select "Eq" from the "Field names" list and click the "Equation Editor" button.
- A text box will appear. Click the "Underbar and Overbar templates" button in the toolbar and select the overbar option.
- Enter your desired text in the box, and close the Equation toolbar when done.
Insert or put a line over text with Field Code in Word
This method uses field codes and is simple if you're comfortable using Wordβs advanced features.
- Press Ctrl + F9 to insert field code brackets.
- Inside the brackets, copy and paste the following field code: "EQ \x \to()", and type the text you want to add the overbar to inside the parentheses.
- Right-click the field and choose "Toggle Field Codes" to apply the overbar.
Note: To edit the text later, right-click the overlined result and select "Toggle Field Codes" again.
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!

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!