I have used custom master page in my SharePoint site and included scripts and CSS from Style Library in on-premise. Now i want to move my scripts, CSS and custom master page to SharePoint Online site. What is the best way to achieve this?

Thanks in advance

2 Answers 2


Option 1 - Do it manually

Option 2 - Use Office 365 migration service https://blogs.office.com/2015/09/16/office-365-import-service-migration-to-sharepoint-online-and-onedrive-for-business-just-became-easier/

Below points needs to be considered.

  1. What is size of data(site contents, list/libraries? Depending on size you can do it either manually or via import service
  2. Do you need to move permissions also ? This needs to be done manually only.
  3. Is windows active directory setup or users already migrated to SP online ?

You should read below links to understand the migration process and what is best suitable to you.




Please refer to this thread having suggested solutions, might helps you to get in more detailed about how you can migrate custom farm solutions, custom master pages, page layouts, CSS in SharePoint on premises be migrated to SharePoint online Office 365 - migrate custom master page, CSS to SharePoint online.

Hope this helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.