OneDrive File Issues

How to Rename a File from the OneDrive Preview Screen

Maira MehtabMaira Mehtab Oct 16, 2026 870 views

Question details

The user is trying to rename a file while actively previewing its contents in OneDrive.

How to Rename a File from the OneDrive Preview Screen
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Reviewing the contents of a file in the OneDrive preview mode and wanting to rename it immediately without navigating back to the main file directory.
Observed behavior
OneDrive does not support a direct renaming option from within the file preview screen interface.
Before you start

Ensure you have a stable internet connection so that your file name changes sync correctly, and verify the file is not currently open in a desktop application to avoid file-in-use errors.

Solution 1Recommended

Rename the File from the OneDrive Web File List

Since renaming directly within the preview is not supported, the fastest web workaround is closing the preview and renaming the file from the main directory list.

The OneDrive preview interface is strictly designed for viewing documents, images, and media quickly. To make structural changes to the file, including modifying its name, you must use the file management options in the main directory.

1
Close the Preview

Click the 'X' in the top right corner of the screen or press the 'Esc' key on your keyboard to exit the file preview.

2
Locate the File

Find the file you were just previewing in your main OneDrive file list.

3
Rename the File

Right-click the file (or click the three-dot menu icon next to the file name) and select 'Rename'. Type the new name and press 'Enter' to save the changes.

Rename the File from the OneDrive Web File List
Quick Tip: If you open the file in the online editor (like Word Online or Excel Online) instead of just previewing it, you can click the file name at the top of the window to rename it directly.
Free Microsoft Office alternative

Manage and Edit Your Documents Seamlessly with WPS Office

Frustrated by the limitations of online file previews? WPS Office provides a complete, lightweight desktop suite that lets you seamlessly open, edit, and manage files. Enjoy high compatibility with Microsoft formats and an intuitive interface that makes managing document names and contents easier than ever.

  1. 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
  2. 2. Open Your Document: Open your document directly in the WPS Office interface to view and edit its contents simultaneously.
  3. 3. Rename with Ease: To rename an open file, go to Menu > Save As, or use the file management tools in the WPS dashboard.
Seamlessly open, preview, and save files directly within a unified workspace.Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Lightweight software that runs smoothly on both modern and older devices.Built-in cloud integration for powerful local and online file management.Free to use with a familiar, user-friendly tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I rename a file directly in the OneDrive preview screen?

OneDrive's preview interface is designed exclusively for quick viewing and rendering of files. It does not currently include advanced file management controls, so you must return to the main file list to rename, move, or delete the file.

Can I rename a file while it is open in Office Online instead of preview mode?

Yes. If you choose to open the document in Word Online, Excel Online, or PowerPoint Online, you can simply click on the file's name in the top title bar and type a new name to instantly rename it.

Will renaming a file in my synced OneDrive desktop folder break its sharing link?

Generally, no. Microsoft 365 maintains a unique internal ID for each file. When you rename a file within your synced OneDrive folder, existing active sharing links will typically continue to work.