How to embed a Google sheet into WordPress

Updated on September 11, 2025

Embedding a Google Sheet directly into WordPress allows for real-time sharing of data in a clean, interactive format. It allows you to keep information updated without the need to constantly edit the post itself.

Why Embed a Google Sheet in WordPress?

  • Live Data Updates: Any changes made in the Google Sheet are instantly reflected on your website—no need to update the post manually.
  • Easy Collaboration: Multiple people can edit the sheet, making it ideal for teams, contributors, or clients.
  • Clean Presentation: Display structured data like schedules, budgets, or reports in a neat, readable format.
  • Cloud-Based Convenience: Access and manage your data from anywhere, without uploading new files to WordPress.
  • Interactive Features: Readers can scroll, sort, and explore the data directly within the post.
  • Time-Saving: Once embedded, you only need to update the sheet—not the WordPress content.
  • Professional Look: Great for showcasing data-driven content in a polished, user-friendly way.

  1. Open your Google sheet.

    You can access your sheets at https://docs.google.com/spreadsheets/.

  2. Click the Share button at the top right.

  3. Under General Access, switch from Restricted to Anyone with the link.

  4. Optional: If you want to link to the sheet instead of embedding it, click Copy link and add that link to your page.

    The rest of the instructions are for embedding the sheet.

  5. From the main menu, click File > Share > Publish to the web

    This will open a popup window.

  6. Click the Embed tab

  7. Optionally specify whether to publish the entire document or a specific sheet

  8. Click Publish.

  9. Click into the textbox and copy the HTML code

  10. In WordPress, open the post that will embed the sheet

  11. Insert an HTML block and paste the code from Google

  12. Click Preview to view the sheet

  13. If possible, test from an incognito browser so you can confirm an anonymous user can view the embedded sheet

License

Licensed under CC BY 4.0

You are free to share and adapt this content for any purpose as long as you give appropriate credit in a reasonable manner.

No affiliate links

We do not participate in affiliate marketing, and we are not paid to mention products.

Leave a Reply

Your email address will not be published. Required fields are marked *