SharePoint Document Issues

How to Remove Link Underlines in the SharePoint Modern Text Web Part

Huma Ashraf ChHuma Ashraf Ch Nov 3, 2026 869 views

Question details

The user wants to remove the permanent underlines from hyperlinks in the SharePoint Modern Text web part without using custom CSS.

How to Remove Link Underlines in the SharePoint Modern Text Web Part
Product
SharePoint
Device & OS
not provided
Scenario
Editing a modern SharePoint page and styling hyperlinks within the Text web part.
Observed behavior
Hyperlinks in the Modern Text web part are permanently underlined by default, and there is no native UI option to remove this styling.
Before you start

Keep in mind that SharePoint Modern pages restrict custom CSS injection to ensure responsive design and accessibility compliance across all sites.

Solution 1Recommended

Acknowledge Native Limitations and Submit Feedback

Currently, SharePoint's Modern Text web part does not offer a built-in feature to remove underlines from inline hyperlinks.

Microsoft enforces underlined links by default in the Modern Text web part to comply with Web Content Accessibility Guidelines (WCAG). This ensures that inline links are visually distinct from regular text for users with color vision deficiencies.

Because custom CSS injection is blocked on modern pages without deploying a custom SharePoint Framework (SPFx) extension, you cannot override this text style natively.

1
Review text formatting options

Open your SharePoint page in Edit mode, highlight the hyperlinked text in the Modern Text web part, and note that the 'Underline' toggle in the formatting toolbar does not affect the default hyperlink underline.

2
Access the feedback portal

Navigate to the official Microsoft SharePoint Feedback Portal through your web browser.

3
Submit a feature request

Submit a suggestion asking the product team to introduce a 'remove underline' toggle or a 'hover-only underline' formatting option for the Modern Text web part.

Acknowledge Native Limitations and Submit Feedback
Accessibility Standards: Underlining links is a standard accessibility practice. If the option to remove underlines becomes available in the future, ensure your links remain distinguishable through other high-contrast visual cues.
Free Microsoft Office alternative

Experience seamless document creation and formatting with WPS Office

Dealing with rigid formatting restrictions in online platforms can be frustrating. For your daily document creation, editing, and sharing needs, WPS Office provides a highly customizable, lightweight, and free alternative that gives you full control over text and link styling.

  1. 1. Download the software: Visit the official WPS Office website and download the free version for your operating system.
  2. 2. Open existing documents: Launch WPS Office and open your existing Microsoft Office documents without worrying about format compatibility.
  3. 3. Customize link formatting: Highlight your text, insert hyperlinks, and use the flexible formatting tools to style links exactly as you prefer.
Easily customize hyperlink styles and text formatting without rigid restrictions.Fully compatible with Microsoft Word, Excel, and PowerPoint files (.docx, .xlsx, .pptx).Lightweight application that runs smoothly on all Windows, Mac, and mobile devices.Built-in PDF editor and comprehensive document sharing tools for seamless collaboration.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use the Script Editor web part to inject CSS and remove the underline?

In modern SharePoint environments, the classic Script Editor web part is disabled by default to maintain security and responsive design. To inject custom CSS, your organization would need to deploy a custom SPFx (SharePoint Framework) extension.

Will the underline appear if I use a button link instead?

No. If you use the Button web part, Quick Links, or Call to Action web parts, the links are styled as interactive UI elements and do not feature the standard inline text underline found in the Text web part.

Is there any keyboard shortcut to remove the link underline in SharePoint?

No. Pressing Ctrl+U or using the underline toggle in the text formatting toolbar only applies to standard text. It will not remove the permanent hyperlink underline forced by the modern Text web part.