Convert SharePoint Online Folders to Document Sets and Add Metadata
Question details
Replace selected SharePoint Online folders with Document Sets and add metadata while retaining the existing library hierarchy where possible.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- An organization wants to organize existing folders, nested folders, and files with Document Sets and metadata.
- Observed behavior
- The desired result is a library organized with Document Sets, retained folder structure where needed, and metadata available for filtering and grouping.
Identify which folder levels need Document Sets and which nested folders must remain ordinary folders. Confirm that you can manage the library and that a site collection administrator can activate the Document Sets feature if necessary.
Create Document Sets and move existing folder contents
Use this approach when selected folders need Document Set features and their nested folders should remain intact.
SharePoint Online does not provide a direct built-in conversion from a folder to a Document Set. Document Sets cannot be nested inside other Document Sets, so plan which folder level will become a Document Set.
Test the process with one folder first. Moving or renaming items can affect links and other library behavior, so verify the results before applying it broadly.
In Site settings, open Site collection features and activate Document Sets if it is not already active. A site collection administrator may need to do this.
Open the document library's Settings, then Library settings. Under Advanced settings, allow management of content types; under Content types, add the existing Document Set site content type.
In the library, navigate to the parent location and select New > Document Set. If an existing folder has the intended name, first rename it or choose a different name for the new Document Set.
Open the original folder, select its files and nested folders, and use Move to to choose the new Document Set as the destination where supported. Keep nested folders as ordinary folders; if the required move is unavailable, evaluate a supported migration tool.
Open the new Document Set and verify its files, nested folders, metadata, permissions, version history, and important links. After verification, remove the empty original folder if it is no longer needed.

Add metadata columns and organize a library view
Use library columns to classify files, folders, and Document Sets without relying only on the folder hierarchy.
Edit Office files with WPS Office
WPS Office is a free, lightweight alternative for working with Office documents. Its familiar interface and format compatibility help you move between common Office files, although SharePoint Document Sets and library metadata must still be managed in SharePoint.

Frequently Asked Questions
Can I convert an existing SharePoint folder directly into a Document Set?
No. SharePoint Online does not provide a direct built-in folder-to-Document Set conversion. Create a Document Set in the library and move the folder's contents into it, or evaluate a supported migration approach.
Can a Document Set contain nested folders?
Yes, ordinary folders can be kept inside a Document Set. However, Document Sets cannot be nested inside other Document Sets, so choose the level of the hierarchy that needs Document Set features.
How do I add metadata to several library items?
Create the required fields with Add column, then select Edit in grid view to enter values for multiple visible items. You can also select an individual item and edit its properties in the Details pane.
Can I see files without browsing through folders?
Yes. In the library's view settings, choose the option to show all items without folders. Save the view and use metadata columns to filter, group, or sort the results.
Will folder metadata automatically apply to every file inside it?
Do not assume that values entered on an ordinary folder will apply to its contents. For a Document Set, check the content type's Document Set settings for shared columns and test the behavior with your documents.




