Displaying files on your site

false

Displaying files on your site

Last updated July 29, 2026 20:16

Embed files, like .pdfs, Excel spreadsheets, and Google Drive files to showcase them directly on your site.

You can display .pdfs, Excel files, PowerPoint presentations, and Google Drive files on your site by embedding third-party code. This guide lists steps for a few popular services and methods.

Note: Embedding files may affect your site's responsive design on smaller browsers and mobile devices. Using code blocks to embed files with iframes is available in the Core, Plus, Advanced, Business, Commerce Basic, and Commerce Advanced plans. To learn more, visit Choosing the right Squarespace plan. All code-based customizations and code modifications fall outside of the scope of Squarespace support.

Tip: To add downloadable files to your site, use a file link instead.

.Pdfs

Use Issuu to embed .pdfs in your Squarespace site.

Excel and PowerPoint

To display an Excel or PowerPoint file, you’ll need a Microsoft OneDrive account. You can sign up for OneDrive here.

  1. Open OneDrive.
  2. Upload your Excel or PowerPoint document. For help, visit their documentation.
  3. In OneDrive, open the Files page.
  4. Right-click the document on Windows (or Control + click on a Mac), and click Embed.
  5. Click Generate.
  6. Copy the code from the Embed code box.
  7. In Squarespace, open the editor for the page or post where you'll place the file.
  8. Hover over the section and click Add block or + to open the block menu, then click Code.
  9. Paste the embed code into the code block.
  10. Click Save on the page or post to publish your changes.

Note: To learn more about embedding Excel and PowerPoint files, visit Microsoft's guide.

Google Drive (formerly Google Docs)

After creating a document in Google Drive, follow these steps:

  1. Open your document in Google Drive.
  2. Click File.
  3. Select Publish to the web.
  4. Click Publish.
  5. Copy the code in the Embed tab.
  6. In Squarespace, open the editor for the page or post where you'll place the file.
  7. Hover over the section and click Add block or + to open the block menu, then click Code.
  8. Paste the embed code into the code block.
  9. Click Save on the page or post to publish your changes.

Document resizing tips

Some Google Drive embed codes, like the code for Slides presentations, include “height” and “width” dimensions. Adjust these numbers to adjust the display size.

Embed codes for other files, such as documents and spreadsheets, don't specify height and width dimensions. You can set the height and width by adding this code snippet after the URL in the embed code:

height="600px" width="100%"

Adjust the number within “600px” to change the height. To adjust the width, use spacer blocks. Setting the width to 100% means the document will span the width of its column.

As with all code modifications, be aware that this falls outside the scope of Squarespace support.

Note: Visit Google's documentation to learn more about embedding Google Drive files and setting editing permissions.

More help

Custom code modifications fall outside the scope of our support, and we can't guarantee how code-based solutions will work or display on Squarespace. While we can't help directly, we have many resources that can point you in the right direction:

Was this article helpful?

Yes No

291 out of 529 found this helpful

Yes No

Displaying files on your site