Tech is Easy logoTech is Easy

How to Embed a Google Form in Your Website (WordPress Example)

Updated Nov 25, 2026Time needed: 10 minutesWindows PC or Mac (browser)

To embed a Google Form in your website, open the form, get its Embed HTML code (the <> option when sharing the form), copy it, and paste it into an HTML block on your site. In WordPress that is the Custom HTML block. The form then appears right on your page, and every response still lands in Google Forms. This works well for contact forms, sign-up sheets and feedback forms on WordPress, Google Sites, Wix or any site that lets you add your own HTML.

Below we build a simple Contact Us form from scratch, embed it on a WordPress page, fix the inner scroll bar and link the responses to Google Sheets.

How to Embed a Google Form in Your Website (WordPress Example) video

What you need

1Create a blank form

Go to forms.google.com. You can start from a template in the Template gallery (there is a ready-made Contact Information form), or click Blank to build your own. Click the title and type a name such as Contact Us. You can add a description under it if you like.

Google Forms home with the Blank option and Template gallery

2Add your questions

Click the first question box and type the question, for example Name. Google Forms guesses the answer type (here Short answer), and you can change it from the drop-down next to the question. Turn on Required if people must answer it before submitting. Click the + button on the right to add the next question, such as Email, Phone Number and Comments. For a longer reply like comments, use Paragraph.

Google Forms question set to Short answer with the Required toggle

Click the eye icon at the top right at any time to preview the form the way visitors will see it.

3Match the theme to your website

Click the palette icon (Customize theme) at the top right. You can change the font and size for the header, questions and text, add a header image with Choose image (one of Google's or your own via Upload), and pick the main color and the background color. Matching your site's colors makes the form look like part of the page rather than a pasted box.

Google Forms Theme panel with text style, header image and color options

4Copy the embed HTML code

Click Send at the top right, then click the <> tab next to Send via. Google shows the Embed HTML code, an <iframe> tag. You can change the Width and Height here before copying. Click Copy (or select the code and press Ctrl + C).

Send form dialog in Google Forms showing the Embed HTML code with width and height

5Create a page on your website

Open your site editor. In WordPress, go to Pages > Add New, choose a blank page and type the page title, for example Contact Us. Most website builders work the same way: you just need a place where you can paste HTML.

New WordPress page editor with the Add title field

6Add a Custom HTML block and paste the code

Click the + button below the title, search for html and choose Custom HTML. Paste the code you copied with Ctrl + V. The editor only shows the code, not the form itself.

WordPress block search showing the Custom HTML block

7Preview the page

Click Preview at the top right to see the page as visitors will. The form you built in Google Forms appears under your page title, with the same questions and theme.

WordPress preview of the Contact Us page with the embedded Google Form

8Remove the inner scroll bar by raising the height

If the form is taller than the height in the code, it gets its own scroll bar inside the page, which looks awkward. Go back to the editor and find height="821" (or whatever number you got) in the Custom HTML block. Increase it, for example to 1021, and preview again. Keep raising it until the scroll bar disappears. When it looks right, click Publish.

Embed code in the WordPress Custom HTML block with the height value being edited

9Submit a test response

Open the preview or the published page, fill in the form and click Submit. Then go back to Google Forms. The Responses tab shows a count for the new answer. Inside it you can view a Summary, look at answers Question by question, or read each Individual response.

Google Forms with a red arrow pointing to the Responses tab showing 1 response

10Link the responses to Google Sheets

On the Responses tab, click Link to Sheets. Choose Create a new spreadsheet, give it a name if you want and click Create. A spreadsheet opens with one column per question and one row per response. It updates automatically every time someone submits the form on your website.

Select destination for responses dialog with Create a new spreadsheet selected

Tips and troubleshooting

Related guides: How to Link Google Forms to Google Sheets and How to Create a Website in Google Sites.

FAQ

How do I embed a Google Form in my website using HTML?

In Google Forms, click Send, open the <> tab and copy the Embed HTML code. Paste that <iframe> code into an HTML block or embed element on your website, then preview the page.

How do I embed a Google Form in a WordPress website?

Create or edit a page, click +, search for Custom HTML and add that block. Paste the embed code into it, preview the page, adjust the height if needed, and publish.

Why does my embedded Google Form have a scroll bar?

The form is taller than the height set in the embed code. Increase the height number in the code until the scroll bar disappears.

Where do responses from the embedded form go?

They go to the same place as any other response: the Responses tab in Google Forms, and the linked Google Sheet if you connected one.