File Format & Compatibility

How to Fix Outlook Truncating File Path Hyperlinks with Number Signs

Tauseeq MagsiTauseeq Magsi Oct 22, 2026 868 views

Question details

Users encounter broken hyperlinks when pasting local or network file paths into Outlook, specifically when the path contains a number sign (#).

How to Fix Outlook Truncating File Path Hyperlinks with Number Signs
Product
Microsoft Outlook
Device & OS
Windows
Scenario
Creating hyperlinks to local files or network folders within an Outlook email.
Observed behavior
Outlook cuts off the hyperlink exactly at the number sign (#). The text after the number sign is omitted, causing the link to fail when clicked.
Before you start

Verify the exact local or network file path you are trying to link, and ensure you have the necessary system permissions to rename the files or folders involved.

Solution 1Recommended

Rename the File or Folder to Remove Number Signs

Since Office inherently treats the '#' symbol as an HTML anchor delimiter, the most reliable fix is to remove it from your file and folder names.

Microsoft Office handles hyperlinks similarly to web browsers. In HTML, a number sign (#) is utilized to indicate a bookmark or anchor on a webpage. Because of this, when Outlook encounters a '#' in a local or network file path, it assumes the subsequent text is a fragment identifier and drops it from the clickable link.

1
Locate the target file path

Open Windows File Explorer and navigate to the exact folder or file that contains the number sign (#) in its name.

2
Rename the item

Right-click the folder or file, select 'Rename' from the context menu, and replace the '#' symbol with a supported character like an underscore (_) or simply delete it.

3
Re-insert the hyperlink in Outlook

Return to your Outlook email draft, highlight the text you want to link, right-click and select 'Link' (or press Ctrl+K), and insert the newly updated file path.

Rename the File or Folder to Remove Number Signs
Alternative Syntax Limitations: Removing spaces from the file path or enclosing the entire path in angle brackets (< >) will not prevent Outlook from truncating the link at the number sign.
Free Microsoft Office alternative

Experience Hassle-Free Document Management with WPS Office

If you are tired of dealing with persistent hyperlink formatting issues and compatibility quirks in Microsoft Office, consider switching to WPS Office. It is a free, lightweight, and highly compatible office suite designed to streamline your daily productivity without the heavy subscription fees.

  1. 1. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install the software: Run the downloaded setup file and follow the quick on-screen instructions to install the suite.
  3. 3. Open your files instantly: Launch WPS Office and directly open your existing Microsoft Office files. Your formatting, links, and layouts will remain fully intact.
Seamless format compatibility with Microsoft Word, Excel, and PowerPoint filesLightweight installation with blazing fast startup timesFamiliar user interface ensuring a smooth migration with zero learning curveBuilt-in PDF editing tools for comprehensive document management
QA img-9

Frequently Asked Questions

Why does Outlook truncate my hyperlink precisely at the '#' symbol?

Microsoft Office processes hyperlinks using HTML standards. In HTML, the number sign (#) is used to denote a bookmark or anchor within a page. Outlook applies this same logic to file paths, treating anything after the '#' as a fragment and omitting it from the active link.

Can I fix the truncated link by wrapping the path in quotes or angle brackets?

No. Enclosing the file path in angle brackets (< >) or quotation marks does not bypass this specific issue in Outlook desktop. Renaming the file or folder to remove the number sign is the only reliable solution.

Does this hyperlink truncation issue affect other Microsoft Office programs?

Yes. Because this behavior is fundamentally built into how Microsoft Office handles hyperlinks, you will likely experience similar truncation issues when inserting file paths with number signs in Word, Excel, or PowerPoint documents.