How to Fix Office Changing Commas to Carets in File Names
Question details
Users need to stop Microsoft Office from automatically replacing comma characters with caret characters in document file names and titles.

- Product
- Microsoft Office, OneDrive, Outlook
- Device & OS
- not provided
- Scenario
- Saving an Office document with a comma in its file name or attaching the file to an email via Outlook.
- Observed behavior
- The comma (,) in the file name or document title is automatically replaced by a caret (^) upon saving or attaching.
Verify whether your default save location is a cloud-synchronized folder such as OneDrive or SharePoint, as these services often restrict specific characters in file names.
Save the File to a Local Unsynced Directory
Bypass OneDrive character restrictions by saving your document to a strictly local folder that is not monitored by cloud synchronization services.
Cloud storage services like OneDrive and SharePoint sometimes restrict certain punctuation marks to ensure cross-platform compatibility. When a restricted character like a comma is detected, the sync client may automatically replace it with a caret (^). Saving to a local, unsynced directory helps determine if the sync service is the root cause.
Launch your Microsoft Office application and open the document you wish to save.
Click on 'File' in the top-left corner of the ribbon, then select 'Save As' or 'Save a Copy'.
Click 'Browse' and select a folder on your computer that is not connected to OneDrive (for example, a new folder directly on your C: drive like C:\TempFiles).
Type your desired file name including the comma, then click 'Save'. Check the folder to verify the comma remains intact.

Perform an Online Repair of Microsoft Office
Use this solution if the file name changes persist even when saving to completely local folders or when attaching files in Outlook.
Verify Windows Regional and Language Settings
Ensure that your system's list separator setting is not inadvertently configured to a caret, which can affect how Office handles commas.
Avoid Unexpected Naming Glitches with WPS Office
If Microsoft Office or OneDrive continues to forcefully alter your file names, consider switching to WPS Office. It provides a lightweight, seamless, and free alternative with exceptional format compatibility, allowing you to manage your documents exactly how you want.
- 1. Download the Software: Visit the official WPS website to download and install the free WPS Office suite on your computer.
- 2. Open Your Office Files: Launch WPS Office and open your existing Word, Excel, or PowerPoint documents directly without losing any formatting.
- 3. Save Without Restrictions: Save your documents locally using your preferred naming conventions, including commas, without unwanted character alterations.

Frequently Asked Questions
Why does OneDrive change commas to carets in my file names?
OneDrive and SharePoint sometimes restrict specific characters in file names and metadata to prevent synchronization conflicts across different operating systems and web servers. When a restricted character is detected, the system automatically swaps it with a placeholder like a caret (^) or underscore.
Does this naming issue affect all versions of Microsoft Office?
Yes. Because this behavior is typically triggered by the underlying storage location (such as OneDrive or SharePoint sync clients) rather than the word processor itself, it can affect Office 2019, Office 2021, and Microsoft 365 alike.
Are commas officially allowed in Windows file names?
Yes, standard Windows file systems (like NTFS) fully support commas in file names. If commas are being replaced while saving locally, it usually means the folder is still being monitored by a background cloud backup service, or there is an issue with the Office installation itself.




