0
HomeEmbedSquarespace
Squarespace · Free · No signup · No plugin

Embed a form in Squarespace

Squarespace's Code block accepts any HTML, including iframes. Generate the snippet, paste it in, publish.

Steps to embed in Squarespace

  1. 1
    Generate the embed code

    Paste your form URL into the generator and pick Responsive iframe.

  2. 2
    Open the Squarespace editor

    Edit the page or section where you want the form.

  3. 3
    Add a Code block

    Click + → More → Code.

  4. 4
    Paste the snippet

    Make sure HTML mode is selected, paste the snippet, click Apply.

  5. 5
    Save and publish

    Click Save in the top-left to publish the change.

Squarespace embed code generator

Paste your form URL — works with LemForms, Typeform, Tally, Jotform, Google Forms, Paperform, or any embeddable form. The Squarespace Code block accepts the snippet below.

Aspect-ratio wrapper, scales to width

<div style="position:relative;padding-top:62.5%;width:100%;">
  <iframe
    src="https://lemforms.com/f/your-form-id"
    style="position:absolute;inset:0;width:100%;height:100%;border:0;"
    loading="lazy"
    title="Embedded form"
  ></iframe>
</div>
Paste the snippet into the HTML of any platform — WordPress (Custom HTML block), Webflow (Embed), Framer (Embed), Wix (HTML iframe), Squarespace (Code block), Shopify (Custom Liquid), Notion (Embed), Ghost (HTML card), Carrd (Embed), or plain HTML.

Live preview

This is the exact iframe your visitors will see. If it looks wrong here, it will look wrong on your site.

Where to paste it, per platform

WordPress

Block editor → add a Custom HTML block, paste, then Preview.

Gotcha: Classic editor strips iframes in Visual mode — switch to the Text tab first.

Full WordPress embed guide →
Webflow

Add an Embed element (Add panel → Components → Embed) and paste.

Gotcha: Embeds don't render in the Designer canvas — use Preview or publish to see the form.

Full Webflow embed guide →
Framer

Insert → Utility → Embed, choose HTML, paste the snippet.

Gotcha: Set the frame to Fixed height, or the iframe collapses to 0px.

Full Framer embed guide →
Wix

Add → Embed Code → Embed HTML → Code, paste, then resize the box.

Gotcha: Wix wraps embeds in a fixed box — drag it taller than the form or it scrolls internally.

Full Wix embed guide →
Squarespace

Add a Code block, set it to HTML, paste, and untick 'Display Source'.

Gotcha: Code blocks are unavailable on the Personal plan — use an embed block instead.

Full Squarespace embed guide →
Shopify

Theme editor → add a Custom Liquid section and paste the snippet.

Gotcha: Escape any Liquid-looking braces; Shopify tries to parse `{{ }}` inside Custom Liquid.

Full Shopify embed guide →
Notion

Type /embed, paste the form URL directly (Notion builds the iframe).

Gotcha: Notion ignores raw HTML — use the plain form URL, not the snippet.

Full Notion embed guide →
Carrd

Add → Embed → Code, paste, set Style to Inline.

Gotcha: Carrd doesn't auto-size iframes — set an explicit height or the form gets clipped.

Full Carrd embed guide →

Frequently asked questions

How do I embed a Google Form in Squarespace?

Add a Code Block, paste an iframe pointing at the Google Form link, and save. Full walkthrough at /migrate/google-forms-to-squarespace.

Can I embed a Typeform in Squarespace?

Yes — the same Code Block accepts a Typeform URL. See /migrate/typeform-to-squarespace.

Do I need a paid Squarespace plan?

Code blocks are available on Business, Commerce, and 7.1 plans. Personal plan users can upgrade or use an Embed block for full-page form URLs.

Why does my form get cut off?

Use the Responsive variant — its aspect-ratio wrapper resizes to fit any container without clipping.

Does it work in 7.0 and 7.1?

Yes. The Code block exists in both versions of Squarespace.

Build the form you'll embed in Squarespace

LemForms gives you the embed URL — plus conditional logic, calculations, file uploads, webhooks, and a real submissions dashboard. Free to start.

Try LemForms free

Embed in other platforms

  • Embed a form in WordPress
    Paste any form URL and get the WordPress embed code — works in the block editor, Classic editor, Elementor, and full-site themes. Free, no plugin.
  • Embed a form in Webflow
    Paste any form URL and get the Webflow embed snippet for the Embed element. Works in the Designer, Editor, and any CMS template.
  • Embed a form in Framer
    Paste any form URL and get the Framer embed snippet for the Embed component. Works on every Framer breakpoint.
  • Embed a form in Wix
    Paste any form URL and get the Wix iframe embed snippet for the HTML Embed widget. No premium plan required.
  • Embed a form in Shopify
    Paste any form URL and get the Shopify embed snippet for Custom Liquid or page content. Works on every Shopify plan.
  • Embed a form in Ghost
    Paste any form URL and get the Ghost embed snippet for the HTML card. Works in posts, pages, and newsletters.