To rename an Excel file in Windows 11, close the workbook, open it in File Explorer, select it, press F2, type the new name, and press Enter. Keep the file extension, such as .xlsx, at the end. Renaming changes the file’s name and location label, not the workbook’s contents. If you need to rename a workbook that is still open, use Excel’s Save As option instead.
What You’ll Need
- A Windows 11 computer and access to the folder containing the workbook.
- Permission to rename the file. If it is on a work network or shared drive, your account may need permission from the folder owner or administrator.
- The new name you want to use. Choose a clear name and, if useful, include a date or project name.
You do not need to open Excel to rename a saved workbook in File Explorer. If the workbook is stored in OneDrive, SharePoint, or another synced location, an internet connection may be needed for the change to appear on other devices.
Step-by-Step
- Save and close the workbook. If the file is open in Excel, press Ctrl+S to save any changes, then close the workbook. Closing it first avoids a rename conflict and ensures Excel is not still using the file. If Excel asks whether to save changes, choose Save if you want to keep them. If you are working in a shared workbook, make sure your latest edits have finished syncing before proceeding.
- Open File Explorer and find the file. Press Windows key+E to open File Explorer. Browse to the folder where the workbook is saved. Common places include Documents, Desktop, Downloads, a project folder, or a OneDrive folder. If you are not sure where it is, use the search box in the upper-right corner of File Explorer to search for part of the current file name. Check the folder path and file details so you select the correct workbook, especially if there are several similarly named copies.
- Select the workbook and start renaming. Click the file once to select it. Press F2 on your keyboard, or right-click the file and choose the Rename icon or Rename from the context menu. In Windows 11, the compact right-click menu may show Rename as an icon; if you do not see it, use the F2 shortcut or select Show more options and look for Rename in the expanded menu. The filename should become editable.
- Enter the new name carefully. Type the new name you want. If File Explorer highlights only the name and leaves the extension outside the selection, replace the highlighted text only. For example, change Quarterly Sales.xlsx to Regional Sales.xlsx, leaving .xlsx in place. If the entire filename is selected, type the new base name and extension together, such as Regional Sales.xlsx. Do not add a second extension by mistake.
- Confirm the change. Press Enter to apply the name. If Windows displays a message asking whether you are sure about changing the file extension, choose No if you only meant to change the name and want to keep the existing extension. If you deliberately changed the file type and understand the consequences, do not treat changing the extension as a conversion; see the troubleshooting section below. After confirming, look at the file in the folder and make sure the intended name appears.
- Open the renamed workbook to check it. Double-click the file. It should open in Excel just as it did before. Check the workbook’s sheets and a few important cells to confirm that you opened the right copy. If the file does not open, do not delete it or overwrite it; first check the extension and try the recovery steps under Troubleshooting.
- Update places that refer to the old name. If you have shortcuts, pinned items, links in documents, or instructions that point to the old filename, update them if they no longer work. Excel formulas that refer to worksheets within the workbook are generally not affected just because the file’s name changes, but links from other workbooks or applications may still refer to the old path. Test important linked files before assuming they have updated.
Show extensions if you need to check the file type: In File Explorer, select View > Show > File name extensions. This makes endings such as .xlsx and .xlsm visible. If extensions were hidden, the name you saw before renaming may not have shown the ending. Once extensions are visible, make sure the file still ends with the appropriate extension.
Alternative for a workbook that is open in Excel: Select File > Save As > Browse. Choose the folder where you want the renamed copy, enter the new name in the File name box, and select Save. Excel creates or saves a file under that name; it does not simply edit the visible name of the existing file in File Explorer. Check the destination folder to see whether you now have both the original and the newly named copy. If you do not need the original, remove it only after confirming the new copy opens and contains the latest work.
Common Mistakes
- Deleting the extension. The extension tells Windows and Excel what kind of file it is. If you rename Budget.xlsx to Budget, Windows may hide the extension or may prompt you about changing it. Keep the correct ending, such as .xlsx, .xlsm, or .xls, unless you intentionally know why a different format is needed.
- Thinking a new extension converts the file. Changing .xlsx to .csv by typing a different ending does not properly convert the workbook. Use Excel’s Save As file-type options when you need another format. Some formats cannot preserve all workbook features, so review any warning Excel displays before saving.
- Renaming the wrong copy. A folder may contain a downloaded version, an older backup, and the current working file with similar names. Check the folder, modified date, and file size before changing anything. If uncertain, open the workbook first and confirm its contents.
- Trying to rename while the file is in use. Excel, a preview pane, or another application may be holding the file open. Close the workbook and any application using it, then try again. On a shared drive, another person may also have it open.
- Using characters Windows does not allow. A filename cannot contain these characters: \ / : * ? " < > |. Use hyphens, underscores, or spaces instead. Avoid an unnecessary period at the end of the name.
Tips
- Make the name useful at a glance. Include a project, department, or reporting period, such as NorthRegion_Budget_2026.xlsx. A consistent pattern makes it easier to find the latest file and distinguish it from earlier versions.
- Use dates in a sortable order. A format such as 2026-11-03 places files in chronological order in File Explorer. Pick one date format and use it consistently across related workbooks.
- Keep names concise. Very long names and deeply nested folder paths can cause trouble with some apps, older systems, and shared locations. Use enough detail to identify the file without repeating information already clear from the folder.
- Keep a backup when the workbook matters. Renaming itself does not change cell data, but working with the wrong copy can lead to confusion. For an important file, confirm that it is backed up or synced before making changes, and keep the original until the renamed version has been checked.
- Use Save As when you want a separately named copy. This is useful for a new reporting period or a draft. The original stays in place, so you can compare files or return to the earlier version. Make sure you know which copy you are editing afterward.
Troubleshooting
Windows says the file is open or in use: Close the workbook in Excel and wait a few seconds. Check the taskbar for another Excel window, then close any window that has the workbook open. If File Explorer’s Preview pane is displaying the file, turn it off from View > Show > Preview pane. Try F2 again. If it is a shared file, ask collaborators to close it or coordinate a time when it is not in use.
The rename option is unavailable or Windows refuses the change: Confirm that you selected a file rather than a folder background, and check that you have permission to change items in that location. A read-only or protected network folder may block renaming. Try moving a permitted copy to a folder you control, or ask the folder owner or administrator to grant the necessary access. Do not bypass workplace restrictions by moving sensitive files to an unapproved location.
The extension disappeared or the workbook will not open: First enable View > Show > File name extensions. If the intended format was .xlsx, rename the file so it ends in .xlsx again, then try opening it. Restore the original extension rather than guessing a new one. If you are unsure which extension it had, check another copy, a backup, or the file’s previous name in recent activity. Changing an extension alone cannot repair a file that was saved in a different format.
The file seems to have vanished: Search File Explorer for the new name, and check the folder’s sort order and location. The file may have moved if you used Save As and chose a different folder. For a OneDrive or SharePoint file, check the online folder and sync status; a rename can take time to appear across devices. If you renamed it accidentally, search for the current name and use F2 to give it the previous name again.
The filename did not change in Excel: Excel may still show the old workbook title if the file was renamed while the workbook was open, or you may be looking at a different copy. Close Excel, verify the name in File Explorer, and reopen the file from its new location. For an open workbook, use File > Save As when you want a newly named file rather than relying on a rename in Explorer.
Frequently Asked Questions
Will renaming an Excel file change its contents?
No. Renaming a file in File Explorer changes its name, not the worksheets, formulas, or values inside it. However, links from other files or apps may depend on the old name or location, so check important external links after renaming.
Can I rename an Excel file while it is open?
It is better to close it first and rename it in File Explorer. If you want to keep working in Excel and save under a different name, use File > Save As > Browse, choose a destination, and save with the new name. This may create a second copy.
Should I keep .xlsx at the end of the name?
Yes, if the workbook is an .xlsx file. Keep its existing extension, such as .xlsx for a standard workbook or .xlsm for a macro-enabled workbook. Do not change the extension just to make the name look different.
Why can’t I see the .xlsx ending?
File Explorer commonly hides known file extensions. To display them, select View > Show > File name extensions. You can then see and preserve the workbook’s actual file type while renaming it.
Can I use spaces in an Excel filename?
Yes. Spaces are allowed in Windows filenames. You can also use letters, numbers, hyphens, and underscores. Avoid the restricted characters listed above, and keep the name clear enough to recognize in a folder or search result.
Does renaming a OneDrive workbook update it everywhere?
Usually the rename syncs to OneDrive and appears on other signed-in devices after syncing completes. If it does not appear, check that the device is online and OneDrive is syncing, then refresh the folder. Be aware that sharing links or references to the old path may need attention.
Related
- Protect an Excel Workbook From Opening with a Password
- How to Print an Excel Sheet on One Page Without Clipping
- Print in Excel Without Cutting Off: Page Setup Tips
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Delete a Page in Word for the Web Without ErrorsTo delete a page in Word for the web, select the text or other content on that page…
- How to Create Envelope Labels in Word: A Practical GuideTo create address labels for envelopes in Word, open Mailings > Labels, choose the label product that matches…
- Data Validation Named Range in Excel: Setup and FixesA data validation named range is a named cell range used as the source for an Excel drop-down…
- Excel Data Validation Lists Based on CriteriaTo make an Excel drop-down list change according to a criterion, put a FILTER formula in a helper…
- Excel Shortcut to Select to the End of a ColumnIn Excel for Microsoft 365 on Windows, press Ctrl+Shift+Down Arrow to extend a selection from the active cell…
- Merge Cells in Excel Using Keyboard: Shortcuts & StepsIn Excel for Microsoft 365 on Windows, select the cells you want to combine, then press Alt, H,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.