SharePoint Document Issues

Convert SharePoint Online Folders to Document Sets and Add Metadata

Emma BrownEmma Brown Nov 18, 2026 868 views

Question details

Replace selected SharePoint Online folders with Document Sets and add metadata while retaining the existing library hierarchy where possible.

Convert SharePoint Online Folders to Document Sets and Add Metadata
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.
Before you start

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.

Solution 1Recommended

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.

1
Enable Document Sets

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.

2
Add the content type to the library

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.

3
Create a Document Set

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.

4
Move the contents

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.

5
Check the result

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.

Create Document Sets and move existing folder contents
Plan for nested folders: A Document Set can contain ordinary folders, but nested Document Sets are not supported. If every folder level needs to become a Document Set, the hierarchy must be redesigned.
Free Microsoft Office alternative

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.

Edit documents, spreadsheets, and presentations with a familiar interfaceOpen and save common Microsoft Office formats, including DOCX, XLSX, and PPTXWork with Office files that you download from a SharePoint libraryUse a free, lightweight suite to ease migration from Microsoft Office
microsoft office alternative - wps office

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.