The quickest way to rename an Excel file
Right-click the file in File Explorer (Windows) or Finder (Mac), select Rename, type the new name, and press Enter. That is the fastest method for a single file sitting on your desktop or in a folder.
If the file is already open in Excel, you can also rename it through the program itself: go to File, then Save As, type the new name in the filename field, and click Save. This method works the same way on both Windows and Mac versions of Excel.
The file keeps its .xlsx or .xls extension automatically — you only type the name part, not the extension. If you accidentally type an extension, Excel will add another one, creating a file named something like "Budget.xlsx.xlsx".
Key Takeaways
- Right-click the file and select Rename to change the name without opening Excel.
- Use File > Save As inside Excel if the file is already open, then type the new name and click Save.
- Type only the filename, not the extension — Excel adds .xlsx or .xls automatically.
- Renaming a file does not change its contents or break any links to it, as long as you keep it in the same folder.
- If you rename a file that other spreadsheets reference, those references will break and need to be updated manually.
Renaming through File Explorer or Finder
This is the simplest approach if you are not working in Excel at the moment. Open File Explorer on Windows or Finder on Mac, navigate to the folder where your file sits, and locate the Excel file you want to rename.
Right-click the filename (or Control-click on Mac) and select Rename from the menu that appears. The filename will become editable — the text will highlight and a cursor will appear. Type the new name you want, then press Enter to confirm the change.
Windows will show you the full filename including the extension (.xlsx or .xls) when you rename, but you should leave the extension alone. Delete only the old name and type the new one. If you accidentally delete the extension, add it back before pressing Enter.
Renaming inside Excel using Save As
If the file is already open in Excel, the Save As method is often faster than closing it, finding it in a folder, and renaming it externally. Click File in the top-left corner, then select Save As from the menu.
A dialog box will open showing the current filename in a text field. The filename will usually be highlighted already. Type the new name — again, do not include the extension. Choose the folder where you want to save it (usually the same folder it is already in), then click Save.
Excel will close the old version and open the newly renamed file. Your original file will remain in the folder with its old name unless you explicitly delete it, so check your folder afterward if you want to clean up.
What happens to your file when you rename it
Renaming a file does not change anything inside it. The data, formulas, formatting, and any macros stay exactly the same. The file size does not change, and the date it was created does not change — only the date modified updates to the moment you renamed it.
If the file sits alone and no other files reference it, renaming is completely safe. However, if other Excel files contain links to this file — for example, a summary sheet that pulls data from it — those links will break. Excel will show an error when you open the linked file, and you will need to update the link manually to point to the new filename.
To update a broken link, open the file that contains it, go to Data > Edit Links (on Windows) or Data > Links (on Mac), select the broken link, and click Change Source. Then navigate to the renamed file and select it.
Renaming multiple files at once
If you have several Excel files to rename, you can do them one at a time using the right-click method, but Windows also offers a batch rename feature. Select all the files you want to rename in File Explorer, right-click, and choose Rename. Type a new name — Windows will rename the first file to that name and add numbers to the others (for example, "Budget", "Budget (2)", "Budget (3)").
Mac does not have a built-in batch rename feature in Finder, but you can rename files one at a time, or use a third-party app if you regularly rename many files. For most people, renaming a few files individually takes only a minute or two.
Avoiding common renaming mistakes
The most common mistake is accidentally changing or deleting the file extension. If you rename "Budget.xlsx" to "Budget 2023" without the extension, the file becomes "Budget 2023" with no extension, and Excel may not recognize it. Always check that .xlsx or .xls remains at the end.
Another mistake is using special characters that Windows or Mac do not allow in filenames. Avoid forward slashes (/), backslashes (\), colons (:), asterisks (*), question marks (?), quotation marks ("), and pipe symbols (|). These characters will cause an error, and the rename will fail. Stick to letters, numbers, hyphens, underscores, and spaces.
If you rename a file and then cannot find it, it is still in the same folder — just with a new name. Use the search function in File Explorer or Finder to locate it by typing part of the new name.
Frequently Asked Questions
Can I undo a rename if I made a mistake?
Yes. Right-click the file again, select Rename, and type the old name back in. If you renamed it inside Excel using Save As and want to go back, open the file, go to File > Save As, and type the original name. You can also use Ctrl+Z (Windows) or Command+Z (Mac) immediately after renaming if you have not closed the folder or file yet.
What if the filename is grayed out and I cannot rename it?
The file may be open in Excel or another program. Close Excel completely and try again. If it is still grayed out, the file may be read-only or you may not have permission to change it. Right-click the file, select Properties (Windows) or Get Info (Mac), and look for a "Read-only" checkbox. Uncheck it if it is marked, then try renaming again.
Does renaming break formulas or macros inside the file?
No. Formulas and macros inside the file work the same way after renaming. Only external links — formulas in other files that reference this file by name — will break and need to be updated manually.
Can I rename a file while it is syncing to OneDrive or Google Drive?
It is safer to wait until the sync is complete. If you rename a file while it is still uploading or downloading, the cloud service may create a duplicate or lose track of the file. Let the sync finish (you will see a green checkmark in File Explorer or Finder), then rename it.