How to Embed a Google Sheet into a Medium.com Post

Richard O'Dwyer

Medium.com is a popular platform for writers, bloggers, and content creators to share their ideas and stories with a wide audience. While Medium offers various formatting options, you might sometimes need to go beyond plain text and include interactive elements like spreadsheets to enhance your articles. One effective way to achieve this is by embedding a Google Sheet directly into your Medium post. In this article, we'll walk you through the simple steps to seamlessly integrate a Google Sheet into your Medium.com article.

Step 1: Create Your Google Sheet


Before you can embed a Google Sheet into your Medium post, you need to create the sheet itself. Head over to Google Sheets and sign in with your Google account. If you don't have one, you can easily create a Google account for free.

Once you're logged in, click on the "+ Blank" or "+ New" button to start a new Google Sheet. You can now enter your data, format it, and customize the spreadsheet to suit your needs. Ensure that you've set the visibility to "Anyone with the link" so that viewers on Medium can access the sheet.

Step 2: Publish the Google Sheet

To embed the Google Sheet on Medium, you need to publish it first. Click on "File" in the top left corner of the Google Sheets interface. From the drop-down menu, select "Publish to the web."

In the "Publish to the web" dialog box, click on the "Publish" button. If you've made changes to the sheet, you might need to click "OK" to confirm the publishing. This will make your Google Sheet publicly accessible with a shareable link.

Step 3: Get the Embed Code

Now that your Google Sheet is published, it's time to get the embed code. Go back to the "File" menu and this time select "Embed."

A new window will appear with various embedding options. For embedding on Medium, we will use the "HTML" option. Adjust the settings such as the size and whether you want to include the entire sheet or just specific sheets or cells. Once you're satisfied, click on the "Copy" button to copy the embed code to your clipboard.

Step 4: Embed the Google Sheet in Your Medium Post

With the embed code copied, head over to Medium and log in to your account. Create a new post or edit an existing draft where you want to include the Google Sheet.

In the Medium editor, click on the "+" button that appears on the left side of the page. From the options that pop up, select "Embed" (the </> icon).

A text box will appear where you can paste the embed code you copied from the Google Sheets "Embed" window. Paste the code into the text box and click "Embed" to insert the Google Sheet into your Medium post.

Step 5: Preview and Publish

Before hitting the "Publish" button, it's essential to preview your Medium post to ensure the Google Sheet is displaying correctly. Click on the "Preview" button to see how your post looks to readers.

In the preview mode, verify that the Google Sheet is visible and properly embedded. If everything looks good, you can go ahead and publish your article by clicking on the "Publish" button in the top right corner of the Medium editor.

Step 6: Share Your Article

Congratulations! You've successfully embedded a Google Sheet into your Medium.com post. Now, share your article with your audience through various channels to reach a wider readership.

Keep in mind that the appearance and functionality of the embedded Google Sheet may depend on the size you selected and the formatting of the spreadsheet itself. It's a good idea to double-check how it looks from different devices like desktops, tablets, and smartphones.

In conclusion, incorporating interactive elements like a Google Sheet can add depth and engagement to your Medium articles. Whether you're presenting data, conducting surveys, or sharing complex information, embedding a Google Sheet allows your readers to interact with the content directly. Follow the simple steps outlined above, and you'll be well on your way to creating compelling and informative articles with embedded Google Sheets on Medium.com. Happy writing!