Embed files directly into your website or blog

Embed files directly into your website or blog

Any file, anywhere, always protected

Get Word, Excel, and PowerPoint plus 1 TB of OneDrive storage to back up and protect your files.

Upgrade now

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. Select Embed at the top of the page, and then choose Generate.

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

Need more help?

Online

Get online help
See more support pages for OneDrive and OneDrive for work or school.
For the OneDrive mobile app, see Troubleshoot OneDrive mobile app problems.

OneDrive Admins can also view the OneDrive Tech Community, Help for OneDrive for Admins.

Microsoft virtual support agent icon

Contact Support
If you still need help, contact support through your browser or shake your mobile device while you're in the OneDrive app.

OneDrive Admins can contact Microsoft 365 for business support.

Office 365 community forums

Got feedback?
OneDrive UserVoice is your place to suggest the features you’d like to see us add to OneDrive. While we can’t guarantee any specific features or timelines, we will respond to every suggestion that gets at least 500 votes.

Go to the OneDrive UserVoice.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×