Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
Mountain View desk3 min

How to Embed Google Sheets in WordPress

Publish a spreadsheet or selected sheet in Google Sheets, then add its generated iframe code to a WordPress Custom HTML block. Check visibility and permissions before sharing.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To embed a Google Sheet in WordPress, publish the spreadsheet from Google Sheets, copy the generated iframe code, and add it to a Custom HTML block in your WordPress page or post. Before publishing, check which sheet or cells are exposed and who can view the published file.

Publish the sheet and copy its embed code

  1. Open the spreadsheet in Google Sheets and select File > Share > Publish to web.
  2. Choose whether to publish the entire spreadsheet or an individual sheet. Select a format if the dialog offers one.
  3. Publish the selection. In the dialog, choose Embed; publish again if prompted, then copy the generated HTML.

Google’s dialog provides the embed code and lets you control what is shown. Its documented iframe options include gid for the sheet, range for a cell range, widget for sheet tabs, headers for row numbers and column letters, and chrome for the title and footer. Use the code Google generates and check the current dialog rather than constructing the iframe from memory. Google’s publishing and embed instructions

As an Amazon Associate I earn from qualifying purchases.

Add the iframe to a WordPress page or post

  1. In WordPress, open the page or post where the spreadsheet should appear.
  2. Add a Custom HTML block.
  3. Paste the copied iframe HTML into the block.
  4. Preview the page to check the embed, then publish or update the WordPress page.

This is the documented route for embedding a Google Sheet. WordPress.com’s guide also directs users to put Google’s embed code in a Custom HTML block. WordPress.com’s Google Docs and Sheets guide · WordPress.org Custom HTML documentation

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the right WordPress embedding method

WordPress has an Embed block for content from supported third-party providers, but its documentation does not establish that any Google Sheets URL will automatically become a working embed. If you paste a URL and it does not render, use the iframe HTML supplied by Google in a Custom HTML block instead. WordPress.org Embed block documentation

Check access, privacy, and what the page reveals

Publishing a spreadsheet can make it visible to everyone on the web, everyone in an organization, or a group in an organization, depending on account settings. Do not publish sensitive information unintentionally. Choose the intended sheet or range in Google’s publishing settings, and review the final embed so it displays only what you mean to share. Google’s publishing guidance

Google says changes to the original document appear in the published version, but the update can take a few minutes. If you no longer want the published version available, return to the publishing dialog and stop publishing.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot an unavailable or missing iframe

The Custom HTML block or iframe is unavailable

On WordPress.com, the Google Docs and Sheets embedding feature is listed for Personal, Premium, Business, and Commerce plans; free sites must upgrade to use it. Plan availability can change, so confirm current eligibility before changing plans. WordPress.com’s plan and embedding guidance

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The iframe disappears after saving

On WordPress.org sites, WordPress may sanitize HTML for users without the required capability, removing disallowed elements such as <iframe>. If the code vanishes after saving, check the editor’s user role and site permissions with the site administrator. WordPress.org Custom HTML documentation

The sheet does not display as expected

Check the selection in Google’s publish dialog and the iframe Google generated. Confirm that the intended sheet or range is being published, then preview the WordPress page to verify the result. If you used the Embed block with only a URL, switch to the generated HTML route.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.