Quick answer: To embed a Google Sheet in WordPress, open the sheet and click File → Share → Publish to web. Choose the Embed tab, select the whole document or one sheet, and click Publish. Copy the iframe code, then in WordPress add a Custom HTML block to your page or post, paste the code, and click Publish or Update.
Embedding a Google Sheet lets you show price lists, schedules or data tables on your website, and they update when you edit the sheet. It needs no plugin and works with the WordPress block editor.
Prefer to watch? The 2-minute video above shows every step on screen.
What do you need before embedding?
- The Google Sheet you want to show, with edit access.
- WordPress admin or editor access to the page or post.
- Data that is safe to share. Published sheets can be seen by anyone with the link.
How to embed a Google Sheet in WordPress (step by step)
Step 1: Open Publish to web
In Google Sheets, click File → Share → Publish to web.
Step 2: Choose Embed and what to publish
Click the Embed tab. In the dropdown, choose Entire document or a single sheet tab.
Step 3: Publish and copy the code
Click Publish and confirm. Copy the <iframe> code that appears.
Step 4: Add a Custom HTML block in WordPress
Open your page or post in the block editor, click the + button, search for Custom HTML and add it. In the classic editor, switch to the Text tab instead.
Step 5: Paste and adjust size
Paste the iframe code. To change the size, add or edit width and height values in the code, for example width="100%" height="500".
Step 6: Preview and publish
Click Preview to check the sheet shows correctly, then click Publish or Update.
Embedded sheet not showing? Common problems and fixes
The iframe disappears after saving
Some WordPress roles, and many multisite setups, aren’t allowed to save iframe code. Ask an administrator to add it, or use a trusted embed plugin.
Changes in the sheet don’t appear on the site
In Publish to web, open Published content and settings and make sure Automatically republish when changes are made is ticked. Updates can take a few minutes.
Publish to web is greyed out
On a work or school Google account, the admin may have disabled publishing. Ask them, or use a personal Google account.
The sheet is too small on mobile
Set width="100%" in the iframe so it fits the screen width, and give it enough height.
What should you do next?
- Make your sheet easier to read: freeze header rows.
- Add alternating row colours in Google Sheets.
Frequently asked questions
No. Publish to web shows a read-only version. Visitors can view the data but cannot change your sheet.
No. The Custom HTML block is enough. A plugin only helps if your user role is not allowed to save iframe code.
Open File, Share, Publish to web, then Published content and settings, and click Stop publishing.
No. Anyone with the published link can see it, so remove any personal or sensitive data before publishing.
Want more step-by-step tutorials? Subscribe to Digital Growth Tutor on YouTube for short, no-jargon guides.

