Embed files directly into your website or blog

If you have a website or blog, it’s quick and easy to embed photos, 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.

Contact support

Get help from the Answer Desk.

Go to OneDrive button on Help web page

Need more help?

See all support pages for OneDrive.

Applies To: OneDrive

Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Change language