OneDrive - How to embed a file into your website or blog

Ask a question

OneDrive - How to embed a file into your website or blog


Here's how to embed a document or document stored on OneDrive directly into your website or blog. Embebbed documents can be viewed by anyone visiting your website, without signing in to OneDrive! The procedure is as follows:
  • Connect to your OneDrive account.
  • Right-click on the document or file you want to share.
  • Click on Embed.
  • Click on Generate to get the HTML code to embed your file.
  • Copy and paste the HTML code in the source code of your website/blog:
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team