Rename an Excel File on Windows 10: Step-by-Step

How-to basics · Updated November 20, 2026

To rename an Excel file in Windows 10, close the workbook, open File Explorer, select the file, press F2, type the new name, and press Enter. Keep the file extension, such as .xlsx, unchanged. You can also use Excel’s Save As command to save a renamed copy. These steps apply to Microsoft Excel for Microsoft 365 on Windows; renaming the file does not change the worksheet tabs inside it.

What You’ll Need

  • A Windows 10 computer and access to the Excel workbook you want to rename.
  • Permission to change the file’s name in its folder. If it is stored on a work network or in a shared location, an administrator or the folder owner may control that permission.
  • A new filename in mind. Choose a name that helps you recognize the workbook, and avoid characters Windows does not allow in file names, including \ / : * ? " < > |.

You do not need Excel to rename a workbook with File Explorer. If the workbook is open, save your latest changes and close it first. Closing it avoids file-lock problems and makes it easier to confirm which saved version you are renaming.

Step-by-Step

  1. Save and close the workbook. In Excel, press Ctrl+S to save any changes, then close the workbook. You can close Excel too, but it is not essential if no other open window is using the file. If a message asks whether to save changes, choose Save if you want to keep them. Do not rename an older copy by mistake: check the workbook’s location and make sure it is the file you have been editing.
  2. Open the folder containing the file. Press Windows key+E to open File Explorer, then browse to the folder where the workbook is stored. For example, it may be in Documents, Downloads, a folder on your desktop, a network drive, or a OneDrive folder. If you do not know the location, open Excel and check the workbook’s title bar or use File > Info to look for its location. You can also search from the Windows taskbar for the workbook’s current name, then use the search result’s location if necessary.
  3. Identify the correct workbook. Look at the file name and, if useful, its Type or Date modified details. Excel workbooks commonly end in .xlsx; macro-enabled workbooks often end in .xlsm, and older Excel workbooks may end in .xls. Do not select a similarly named PDF, shortcut, or earlier version. If several files have similar names, check the folder and modified date before continuing.
  4. Select the file and start renaming. Click the workbook once so it is highlighted, then press F2. Alternatively, right-click the file and choose Rename. The file name becomes editable. Do not double-click it, because that normally opens the workbook instead of renaming it.
  5. Type the new name. Enter the name you want, taking care not to erase or alter the extension if it is visible. For example, change Quarterly Report.xlsx to Quarterly Sales.xlsx, not to Quarterly Sales if the extension is displayed and you have removed it. A clear name can include a project, reporting period, or version, such as Inventory_April_2026.xlsx. Use letters, numbers, spaces, hyphens, or underscores rather than characters Windows rejects.
  6. Confirm the change. Press Enter or click an empty area in the folder. Windows may show a warning if it looks as though you changed the file extension. If you intended only to change the name, select No or Cancel in that warning, then rename it again while preserving the original extension. If the extension stayed the same, the name change should complete without changing the workbook’s format.
  7. Check the renamed file. Confirm that the new name appears in the folder and that the file still has the expected Excel type. Double-click it to make sure it opens, then check that the sheets and saved content are present. If you use a shortcut, a recent-file entry, or a link to the workbook, check whether it still points to the renamed file; some shortcuts or links may need updating.

If you want to keep the original as well, use Excel’s Save As method below rather than replacing its name in File Explorer. Save As creates a separately named file, provided you choose a new name or a different folder.

Rename by saving a copy in Excel

  1. Open the workbook in Excel and choose File > Save As.
  2. Choose Browse to open the Windows Save As dialog. If Excel shows a list of recent locations, select the folder where you want the renamed workbook saved.
  3. In the File name box, enter the new name. Leave the Save as type setting at the workbook’s existing format unless you deliberately need another format. For a standard modern workbook, that is usually Excel Workbook (*.xlsx).
  4. Choose Save. If Excel asks about a format or compatibility issue, read the message before proceeding; choosing another format can remove or change features such as macros.
  5. Check the name and location shown in Excel’s title bar. Save As may leave both the original and the newly named file in place. If you do not need the original, verify the new copy opens and contains the right content before deleting anything.

Common Mistakes

  • Changing or deleting the extension. The extension tells Windows and Excel what kind of file it is. Changing .xlsx to .txt, for example, does not convert the workbook correctly and may stop Excel from opening it as expected. Keep the existing extension unless you are intentionally converting the file using Excel’s Save As options.
  • Renaming the worksheet instead of the workbook. A worksheet is a tab inside an open workbook. Double-clicking a sheet tab or using its right-click menu changes that tab’s name, not the file’s name. Use File Explorer or File > Save As to rename the workbook file.
  • Trying to rename an open or locked file. Excel, another application, or a sync process may be using the workbook. Save your work, close the file, and try again. If you see a message that the file is in use, do not force-close an application before checking whether it has unsaved edits.
  • Picking an invalid or confusing name. Windows will not accept certain reserved characters, and a name that differs only slightly from another file can cause mix-ups. Use a distinctive name and check that it has not already been used in the folder.
  • Assuming every link updates automatically. Renaming does not necessarily update shortcuts, email attachments, shared links, or references in other documents. Check the places where people access the workbook and replace outdated links when needed.

Tips

  • Show extensions when you need to check them. In File Explorer, open the View tab and select the File name extensions checkbox. You will then see endings such as .xlsx and .xlsm. If you are unsure, leave the extension in place and edit only the name before the final dot.
  • Use a consistent naming pattern. For recurring reports, put the subject and date in the same order each time, such as Sales_Report_2026-04.xlsx. A year-month-day date sorts chronologically in File Explorer when the date uses two digits for month and day.
  • Keep a backup before making a major change. Renaming alone does not edit the workbook’s data, but if you are also changing file formats or reorganizing shared folders, keep the original until you confirm the new file works.
  • Use Save As when you need both names. File Explorer changes the existing file’s name. Save As is more suitable when you want a second copy with a different name, or when you need to choose a new location or file format.
  • Account for cloud syncing. If the workbook is in OneDrive or another synced folder, wait for the rename to finish syncing before sharing the new name. The exact status indicator can vary, but a sync-in-progress symbol means the change may not yet be available on other devices.
  • Know the Mac and web differences. On a Mac, use Finder to select the file and press Return to edit its name; Excel for Mac also has Save As. In Excel for the web, use the file name at the top of the page or the available Save As options, which can vary by account and storage location. The Windows F2 instruction applies to File Explorer on Windows, not Finder or a browser.

Troubleshooting

Windows says the file is open or in use: Return to Excel, save the workbook, and close it. Check for another Excel window or application that may have opened the same file. If the message remains, wait briefly for syncing or file activity to finish, then try again. For a shared workbook, ask other users to close it before attempting the rename.

The new name is rejected: Remove characters such as a colon, question mark, asterisk, slash, or quotation mark, and make sure the name is not blank. Avoid a name that is already taken in the same folder. Try a shorter, simpler name, then press Enter again.

The extension disappeared or changed: If you have not confirmed the edit, press Esc to cancel and start again. If you already confirmed it, select the file, press F2, and restore the original extension, such as .xlsx, if you know it. When Windows warns that changing the extension might make the file unusable, choose the option that keeps the original extension if you were only trying to rename it. If you do not know the correct format, check another copy or use Excel’s Save As dialog to save in the intended workbook format.

You cannot find the renamed workbook: Search File Explorer for the new name and check the folder where you performed the rename. Also look in the Recycle Bin only if you may have deleted the file by mistake. If the workbook was in a OneDrive or network folder, check that location and confirm you are signed in or connected.

A shortcut or shared link no longer works: The shortcut may still refer to the old file name. Find the renamed workbook, then create a new shortcut or share its current location. If the workbook is shared through a cloud service, copy or send the current link from that service rather than relying on a link that points to a local path.

The file opens in the wrong app or Excel reports a problem: Check the complete file name, including its extension. A workbook should retain a suitable Excel extension, such as .xlsx or .xlsm. If only the name changed and the extension is correct, try opening Excel first and using File > Open to browse to the file. Do not repeatedly change extensions as a substitute for converting the file.

Frequently Asked Questions

Does renaming an Excel file change the workbook contents?

No. Renaming the file changes its name and usually its path, not the data, formulas, formatting, or worksheet tabs inside it. Still, save and close the workbook first so you do not lose recent edits or run into a file-in-use message.

Can I rename an Excel file while it is open?

It is better to close it first. Windows may block a rename while Excel is using the file, and renaming from another location while it is open can make it harder to tell which copy is being edited. Save, close, and rename the saved file in File Explorer.

What is the difference between Rename and Save As?

Rename changes the existing file’s name. Save As writes a file under a new name or in a different location, so it can leave the original in place as a separate copy. Check which file is open after using Save As before continuing to edit.

Should I include .xlsx when I type the new name?

If extensions are hidden in File Explorer, enter only the new name; Windows keeps the extension for you. If extensions are visible, retain the existing ending, such as .xlsx. You can show or hide them with View > File name extensions in File Explorer.

Can I rename an Excel file stored in OneDrive?

Yes. You can rename it in File Explorer if the OneDrive folder is available, or use the rename option in OneDrive. Wait for syncing to finish and confirm the new name appears online before sharing it. Shared links and shortcuts may need attention after the rename.

How do I rename a worksheet tab instead of the file?

Open the workbook, then double-click the worksheet tab at the bottom, type the new tab name, and press Enter. You can also right-click the tab and choose Rename. This changes only the sheet name, not the workbook’s file name.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.