Embed Google Form on Website — Free Embed Code Generator

Paste any Google Form URL to get a ready-to-paste iframe embed snippet. Choose width and height, toggle responsive mode, copy the code, and drop it into your site. Works with WordPress, Wix, Squarespace, Webflow, and raw HTML.

Embed a Google Form on your website with FormNX

🔒 privacy-friendly — your form URL never leaves your browser. nothing is stored or sent to our servers.

Got your embed code? Skip the height-guessing next time.

FormNX embeds auto-resize to fit your form — no more iframe-height guessing or scrollbars inside the form. They also drop the "Powered by Google" branding and match your site's design out of the box. Plus the things Google Forms can't do: conditional logic, file uploads, payment fields, and a built-in QR code for every form.

Get FormNX Free — Auto-Resize Embed →

Free forever plan. No credit card required.

How to embed a Google Form on a website

To embed, add, or insert a Google Form into a website, you place an HTML <iframe> that points at your form. Google Forms gives you a basic iframe, but it's a fixed size with no responsive option — the generator above fixes that. Here's the full step-by-step.

Step 1 — Get your Google Form's link

Open your Google Form and click Send in the top-right. Either copy the share link from the Link tab, or open the <> Embed HTML tab and copy the URL from inside the iframe src="..." attribute. Both work in the generator above.

Step 2 — Generate a clean embed code

Paste the link into the generator at the top of this page, set your width and height, and toggle Responsive wrapper if you want the form to scale with the screen. Click Generate Embed Code, then use Preview Below to check it before you paste.

Step 3 — Paste the iframe into your site

Copy the generated code and paste it anywhere HTML is allowed — a Custom HTML block, an Embed element, or directly into your page's HTML. Platform-specific instructions for WordPress, Wix, Squarespace, and more are in the section below.

Tip: this tool also accepts forms.gle short URLs, but the full docs.google.com/forms/... URL produces the cleanest embed.

Real limitations of embedding Google Forms

The embed code above works — but these are the things you can't fix on the Google Forms side, no matter how you tweak the iframe:

No auto-resize — guess wrong and the form cuts off or shows scrollbars

Google Forms iframes can't auto-resize. You're stuck guessing a fixed height: too low and the form gets cut off, too high and you have empty space below it. This isn't a settings issue — it's a fundamental iframe limitation that no Google Forms option can fix.

"Powered by Google" branding is permanent

The "Powered by Google" footer is baked into every embedded Google Form. No setting, no CSS, no workaround — the form is sandboxed inside an iframe so even custom CSS can't reach it. The only way to fully white-label is a different form builder.

The form always looks like Google Forms — not your site

Even with a custom header image, embedded Google Forms keep Google's fonts, spacing, and field styles. They visually clash with your site's design and respondents immediately recognise it's a Google form pasted in. No way to inject your CSS into the iframe.

Zero submission tracking in your analytics

The iframe is sandboxed, so your GA4 / Plausible / Mixpanel can't see anything that happens inside the form — not field focus, not validation errors, not submissions. You can track that the page was viewed; everything inside the embed is invisible.

File uploads force respondents to sign into Google

If your form collects file uploads, the respondent must be signed into a Google account to attach anything. For public, customer-facing embeds (contact forms, applications, signups), this kills completion rate — most visitors won't sign in just to fill your form.

No payment fields — can't accept money on submit

Embedded Google Forms can't take payments at all. If your embed is for event tickets, donations, paid RSVPs, or bookings with a fee, you'll have to redirect users to Stripe or PayPal separately — breaking the smooth on-page embed experience.

"Super easy to use, intuitive administration, can be embedded in own website easy and I could create my form very fast. I like it."

Outgrowing Google Forms? Here's what FormNX adds

  • ✓ One-line embed code with no Google branding
  • ✓ Auto-resizing iframe — no more guessing the height
  • ✓ Custom branding & better design
  • ✓ Conditional logic, file uploads, payments via Stripe & Paypal
  • ✓ Built-in QR code generator for every form
  • ✓ Webhooks, Zapier, Google Sheets, Mailchimp integrations

Comparing options? See FormNX vs Google Forms →

Switch to FormNX — Free Forever Plan →

Free forever plan. No credit card required.

Where to paste the embed code on your site

Embed a Google Form in WordPress

In the block editor, add a Custom HTML block and paste the iframe code. In the classic editor, switch to the Text tab before pasting. No plugin needed.

Embed a Google Form in Wix

Click Add ElementsEmbed CodeEmbed HTML, then paste the snippet into the HTML box.

Embed a Google Form in Squarespace

Add a Code block (not an Embed block, which rejects raw iframes), keep the type set to HTML, and paste the code. Full Squarespace steps and fixes below ↓

Embed a Google Form in Webflow

Drag in an Embed element, paste the code, and click Save & Close. The form previews live in the designer.

Embed a Google Form in Shopify

In a page editor, click the <> source-view button and paste the iframe inside the page body HTML.

Embed a Google Form in raw HTML

Paste the iframe anywhere inside the <body> of your HTML file. Wrap it in a <div> if you want to constrain the width.

How to embed a Google Form in Squarespace

To embed a Google Form in Squarespace, paste the form's iframe into a Code block, not an Embed block. Squarespace's Embed block only accepts shareable URLs from services like YouTube and Vimeo, so it rejects raw iframe HTML. Set the iframe width to 100% so it scales, and set the height tall enough for your longest question page.

First, check your Squarespace plan

Iframes only render on paid plans. Squarespace's documentation states that "Adding JavaScript or iframes to code blocks is available in the Core, Plus, Advanced, Business, Commerce Basic, and Commerce Advanced plans." On the Basic plan a Code block still accepts plain HTML, but the iframe will not render and visitors see an empty space where the form should be. If you are on Basic, link out to the form instead of embedding it.

Step-by-step

  1. Copy your Google Form link. Open the form, click Send, then copy the address from the Link tab, or the URL inside src="..." on the <> Embed HTML tab.
  2. Generate a responsive embed. Paste that link into the generator at the top of this page, set Width to 100% (responsive), tick Responsive wrapper, and set a height. Click Generate Embed Code, then Preview Below to check it before you paste anything into Squarespace.
  3. Add a blank section to your page. Edit the page, hover over an insert point between sections, and add a new one. Dropping the form into an existing content section is what produces the odd margins people report.
  4. Add a Code block. Click the insert point inside your new section and choose Code. Leave the type on HTML and make sure Display Source is unticked, otherwise Squarespace prints your code on the page as text instead of rendering it.
  5. Paste, save, and check it live. Paste the generated code, click outside the block, then Save. Always confirm the result on the published site in a private window: Squarespace notes that custom code sometimes will not display while you are logged in.

Fix: the embedded form is cut off on mobile

This is a height problem, not a width problem. A Google Forms iframe cannot auto-resize, so the height you set on desktop is the height every phone gets. On a narrow screen each question wraps onto more lines and the form grows taller than the box you gave it, so the bottom is clipped. Set the height for the mobile case, usually 200px to 400px more than desktop needs, or accept a scrollbar inside the form. No Google Forms setting fixes this.

Fix: odd margins or extra white space around the form

Put the Code block in its own blank section rather than inside an existing content section, then reduce that section's top and bottom padding in Squarespace's section editor. Google's default iframe also carries marginheight and marginwidth attributes; the generator above sets both to 0 so the form sits flush inside the block.

Fix: the form does not scale with the browser window

Google's default embed code has a fixed pixel width, usually width="640". Change it to width="100%", or tick Responsive wrapper in the generator, which wraps the iframe in a max-width container and sets the width to 100%. Width will then follow the screen. Height stays fixed, because Google Forms has no auto-resize.

Code block or Embed block: which one to use

Use the Code block. Squarespace's Embed block is built for shareable URLs from services that support oEmbed, such as YouTube, Vimeo and Spotify, and it will not accept a raw <iframe>. The Code block does, on Core plans and above. Two other limits worth knowing: a Code block is capped at 400 KB, and code may not render when the page sits inside an Index page, so move it out temporarily if you are testing.

Embedding a Google Form because Squarespace's own forms fall short?

Worth knowing what you are trading. Squarespace form blocks do include file upload and follow-up questions on multiple choice, but they have no payment field and no signature field, Squarespace recommends a limit of 30 fields, and follow-up questions cannot chain (its docs state it is "not possible to create a follow-up to a follow-up question"). A Google Form embed swaps those limits for different ones: fixed height, Google branding, and no submission tracking.

A FormNX embed goes in the same Squarespace Code block, but ships with an iframe-resizer script so it fits its own height on every screen, which is the mobile-cropping problem Google Forms cannot solve. Same plan requirement applies: Core or above, since it uses an iframe and a script. See the full breakdown on our Squarespace form builder page, or compare the options on FormNX vs Google Forms.

Can you embed a Google Form in an email?

Mostly no — and it's worth knowing why before you try. An interactive Google Form can't be reliably embedded in an email. Email clients strip out the iframes and scripts a live form needs, for security reasons.

Google Forms has one narrow exception: when you click Send → Email and tick "Include form in email", the form renders inline — but only for recipients who open it in Gmail. Outlook, Apple Mail, Yahoo, and most corporate clients show a blank space or a plain link instead. And the moment your form uses file uploads, sections, or answer logic, Google disables the "Include form in email" option entirely.

The reliable approach: embed the Google Form on a web page (use the generator at the top of this page), then put a clear button or link to that page in your email. Recipients click through and complete the form in their browser — where it works on every device and every email client.

Why embed a Google Form instead of linking to it?

  • Lower drop-off. Every redirect costs respondents — embedding keeps them on your page.
  • Looks more professional. A form on your domain feels safer than clicking out to a Google URL.
  • Better analytics. Your page-view tracking (GA4, Plausible) records the form view, not just clicks to the link.
  • SEO-friendly. The page hosts the conversion intent and can rank for the form's topic.
  • Mobile experience. Embedded forms render cleanly inside your site's mobile layout instead of bouncing to forms.google.com.

Frequently Asked Questions

  • 1. Is there a better alternative to embedding Google Forms?

    If you need a clean, branded, auto-resizing embed without "Powered by Google" — and want features like conditional logic, file uploads, or payments — try FormNX. The free plan gives you everything you need to replace an embedded Google Form on your site.

  • 2. Why use this tool instead of copying the embed code from Google Forms directly?

    Google's default embed has a fixed width and frequently a too-short height — leaving you with awkward sizing or a scrollbar inside the form. This tool lets you set width, height, and a true responsive wrapper in one place, and you can preview before pasting.

  • 3. Will the embedded form auto-resize to fit my content?

    Sadly no — Google Forms doesn't support iframe auto-resize. You have to estimate a height that fits your longest form state. The Responsive wrapper option above scales width with the device, but you still set height manually. For true auto-resize, use a form builder like FormNX that handles this automatically.

  • 4. Can I remove "Powered by Google" from an embedded form?

    No — this branding is baked into Google Forms and cannot be removed, even with custom CSS, because the form is sandboxed inside an iframe. To fully white-label, switch to a form builder like FormNX that hosts forms on your own domain with no third-party branding.

  • 5. Can I really embed a Google Form on any website?

    Yes — Google Forms exposes a public iframe embed code for every form. As long as you can paste HTML on the destination page (most platforms allow this via a "Custom HTML" or "Embed" block), the embed will work.

  • 6. Does the embed code work on WordPress?

    Yes. In the block editor, add a "Custom HTML" block and paste the iframe. In the classic editor, switch from the Visual tab to the Text tab before pasting, otherwise WordPress will encode the angle brackets and break the embed.

  • 7. How do I embed a Google Form in Squarespace?

    Paste the form's iframe into a Code block, not an Embed block. Copy your form link from Send, generate a responsive iframe with the tool above, add a blank section to your Squarespace page, insert a Code block with the type set to HTML and Display Source unticked, then paste and save. Iframes require a Core plan or above.

  • 8. Should I use a Code block or an Embed block in Squarespace?

    Use the Code block. Squarespace's Embed block is designed for shareable URLs from services that support oEmbed, like YouTube, Vimeo and Spotify, so it will not accept raw iframe HTML. The Code block does, and renders iframes on the Core, Plus, Advanced, Business, Commerce Basic and Commerce Advanced plans.

  • 9. Why is my embedded Google Form not showing on my Squarespace site?

    Four common causes, in order of likelihood: (1) you are on the Basic plan, where Squarespace does not render iframes inside Code blocks; (2) Display Source is ticked, so Squarespace prints the code as text instead of running it; (3) you are viewing it while logged in, and Squarespace notes custom code sometimes will not display in that state, so check the live site in a private window; (4) the page sits inside an Index page, where code may not render.

  • 10. Why is my embedded Google Form cut off on mobile in Squarespace?

    Because Google Forms iframes cannot auto-resize. The height you set on desktop is the height phones get, but on a narrow screen every question wraps onto more lines, so the form grows taller than its box and the bottom is clipped. Set the height for the mobile case, usually 200px to 400px more than desktop needs, or use a form builder whose embed resizes itself.

  • 11. Will pre-filled answers still work when the form is embedded?

    Yes. Generate the pre-filled URL in Google Forms (More menu → "Get pre-filled link"), copy that URL, paste it into the generator above, and the iframe will load with the pre-filled answers.

  • 12. Can I track form submissions from the embedded version in Google Analytics?

    Iframes are sandboxed, so your parent-site Analytics can't see what happens inside the form. You can track that the page (with the embed) was viewed, but not individual submissions. For full submission tracking, use FormNX — every submission can fire a GA4 event on the parent page.

  • 13. Is the form responsive on mobile?

    Use the Responsive wrapper option to make the iframe scale with viewport width. Height is still fixed, so on very small phones some users may have to scroll inside the embed. Mobile experience is one of the bigger reasons users switch from Google Forms embeds to FormNX.

  • 14. Can you embed a Google Form in an email?

    Not reliably. An interactive Google Form can't be embedded in an email — email clients strip the iframes and scripts a live form needs. Gmail has one narrow exception ("Include form in email"), but it only works for Gmail recipients and breaks if your form uses file uploads, sections, or logic. The reliable approach is to embed the form on a web page and link to that page from your email.

  • 15. How do I embed a Google Form in Gmail?

    Open your form, click Send, choose the Email tab, enter the recipients, and tick "Include form in email" before sending. The form renders inline — but only for recipients who open the email in Gmail. For Outlook, Apple Mail, and other clients it falls back to a plain link. If the option is greyed out, your form has a feature (file upload, sections, or logic) that disables inline email embedding.

  • 16. Why doesn't my embedded Google Form show up in Outlook?

    Outlook — along with Apple Mail, Yahoo, and most corporate email clients — blocks the interactive content an embedded form relies on, for security reasons. Only Gmail renders Google's "Include form in email" inline. For a form that works in every inbox, embed it on a web page and send a button or link to that page instead.

  • 17. Can I embed a Google Form without an iframe?

    Not with Google Forms itself - Google only offers an iframe embed, so there is no official no-iframe option. The iframe is exactly what causes the common headaches: it cannot auto-resize, it keeps the "Powered by Google" footer, and it is sandboxed from your page styling and analytics. If you specifically want a native, non-iframe embed that inherits your site styling, auto-resizes to its content, and carries no third-party branding, the practical route is to rebuild the form in a builder like FormNX and embed that instead.

Made by FormNX — the form builder with one-line embeds, custom branding, and zero "Powered by Google". Looking for more tools? See our free tools directory including the QR code generator for Google Forms.


© 2023 - 2026 FormNX, By The Web Fosters.