Embed files directly into your website or blog

If you have a website or blog, it’s quick and easy to embed photos, videos, Office documents, and other files from OneDrive. You can even customize how embedded Excel workbooks appear to other people.

  1. Go to the OneDrive website.

    You might need to sign in with your Microsoft account.

  2. Pick the file you want to embed by selecting the check box in the upper-right corner of the file.

  3. Tap or click Embed on the top of the page, and then choose Generate.

  4. Copy and paste the code into the code of your website or blog.

Go to OneDrive


Other resources

Need more help?
Ask your question in the OneDrive forum

Have ideas for OneDrive?
Give us feedback

Can't get to OneDrive?
Check service status

Need help editing Office documents on the OneDrive website?
Go to Office Online support