Fix Excel Internet Security Warning for Local Files with Square Brackets
Question details
The user needs to resolve an unexpected internet security warning that appears when opening safe, locally created Excel files.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Opening locally created spreadsheets that use a naming convention containing square brackets.
- Observed behavior
- Excel displays a false-positive internet security warning stating the file originated from the internet, which persists even if the file is moved or copied.
Verify that your file was indeed created locally and not downloaded from an external source, and ensure your system's antivirus software is currently active.
Rename the File Using Parentheses Instead of Square Brackets
A simple and safe workaround to prevent Excel's security system from misinterpreting the filename as an internet download indicator.
Microsoft Office includes strict security protocols that may flag certain characters in filenames, such as square brackets, as potential security risks. This triggers a false-positive internet warning even for completely safe, locally created files.
Renaming the file removes the trigger for this specific security policy without requiring you to weaken your overall system protection.
Open File Explorer and navigate to the folder containing the spreadsheet that triggers the security warning.
Right-click the Excel file and select 'Rename' from the context menu, or select the file and press the F2 key on your keyboard.
Change any square brackets in the filename (e.g., [TEMPL]) to standard parentheses (e.g., (TEMPL)).
Press Enter to save the new filename. Double-click the file to open it in Excel and verify that the security warning no longer appears.

Open Your Spreadsheets Seamlessly with WPS Office
Avoid frustrating false-positive security warnings and strict filename limitations. WPS Office is a free, lightweight alternative that offers a smooth user experience and high compatibility with your existing Microsoft Excel files.
- 1. Download the software: Visit the official WPS website and download the free WPS Office installation package.
- 2. Install WPS Office: Run the installer and follow the lightweight, one-click installation wizard.
- 3. Open your Excel files: Right-click your .xlsx file, choose 'Open with', and select WPS Spreadsheets to view and edit your data without unexpected interruptions.

Frequently Asked Questions
Why does Excel think my local file is from the internet?
Excel's security policies can sometimes misinterpret specific characters in a filename, such as square brackets (e.g., [File]), as indicators of a downloaded or potentially unsafe file, triggering a false-positive alert.
Should I disable Protected View in Excel to fix this warning?
No, it is not recommended to disable Protected View or weaken your Trust Center settings, as this leaves your computer vulnerable to actual malicious internet files. Changing the filename is a much safer solution.
Does this security warning affect the data inside my spreadsheet?
No, the internet security warning is purely a protective measure regarding how the file is opened and trusted by the system. Your spreadsheet data remains completely safe and unchanged.
Will copying the file to another folder remove the warning?
No, if the filename still contains the square brackets, the false-positive warning will persist and follow the file even if it is moved or copied to a new directory or drive.




