splitforms.com

Squarespace contact form

Squarespace contact form from one Code Block.

To add a Squarespace contact form, paste one HTML form into a Code Block set to HTML. Every message is spam-filtered, saved to your dashboard, and emailed to you, with 500 free submissions a month.

  • 500 free / month
  • One Code Block
  • Spam filtered
A Squarespace Code Block submitting a contact form to the splitforms backend

Key benefits

Any fields you want

Dropdowns, phone fields, and file inputs (up to 5 files, 5 MB each, on paid plans) are plain HTML, and the form posts straight to splitforms, so there is no form schema to configure.

Spam filtered server-side

A honeypot and load-time trap ship in the code, then splitforms rate-limits (6/min, 20 per 15 min, per IP per form) and content-scores every submission — most sites never turn on reCAPTCHA.

Route submissions anywhere

On paid plans, forward each message to Slack, Notion, Google Sheets, Airtable, or a signed webhook — nothing to configure on the Squarespace side.

Copy-paste ready

Your Squarespace contact form, ready to paste.

Drop this into a Squarespace Code Block set to HTML and replace YOUR_ACCESS_KEY. That's the whole integration: the form posts to splitforms, not to Squarespace's form system.

squarespace-form.html
<form action="https://splitforms.com/api/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
  <input type="hidden" name="subject" value="New message from your Squarespace site">
  <input type="hidden" name="redirect" value="https://yoursite.com/thank-you">
  <input type="hidden" name="form_loaded_at" id="form_loaded_at">

  <label for="sf-name">Name</label>
  <input id="sf-name" type="text" name="name" required autocomplete="name">

  <label for="sf-email">Email</label>
  <input id="sf-email" type="email" name="email" required autocomplete="email">

  <label for="sf-type">Project Type</label>
  <select id="sf-type" name="project_type">
    <option value="general">General Inquiry</option>
    <option value="booking">Booking</option>
    <option value="quote">Quote Request</option>
  </select>

  <label for="sf-message">Message</label>
  <textarea id="sf-message" name="message" rows="4" required></textarea>

  <!-- Honeypot: must stay empty -->
  <input type="checkbox" name="botcheck" style="display:none" tabindex="-1" autocomplete="off">

  <button type="submit">Send</button>
</form>
<script>
  document.getElementById('form_loaded_at').value = Date.now();
</script>

Setup

How to add a contact form to Squarespace.

These steps follow Squarespace's Code Blocks help article and pricing page (both checked 2026-11-01): the basic Code Block (HTML, CSS) is on every plan, while JavaScript in a code block, which the optional time-trap script uses, needs Core, Plus, or Advanced. For theme styling and troubleshooting, read how to add a custom contact form to Squarespace.

Step 1 of 6

Get your free access key

Create a free splitforms account at splitforms.com/login and copy your access key from the dashboard. The Free plan includes 500 submissions a month, no credit card.

Step 2 of 6

Edit the page

In Squarespace, open the page that should hold the form (Contact, About, a footer section) and click Edit. The form HTML works in a Code Block on any plan; the one-line time-trap script runs only on Core, Plus, or Advanced.

Step 3 of 6

Add a Code Block

Hover over the section, click Add Block or the + icon, and select Code.

Step 4 of 6

Set Mode to HTML and paste

Click the pencil icon on the block, set the Mode menu to HTML, leave Display Source off, paste the form code below, and replace YOUR_ACCESS_KEY.

Step 5 of 6

Save and publish

Close the block editor and click Save so the page publishes with the form.

Step 6 of 6

Send a test message

Open the live page in a private window and submit a real test. The accepted submission is saved in your splitforms dashboard before the owner notification email is attempted; delivery time and inbox placement depend on the email provider.

You're all set ✓

Form Block or Code Block

Squarespace Form Block vs. a Code Block form.

Squarespace's built-in Form Block emails you each submission and is the simplest choice for one basic contact form. A splitforms form in a Code Block fits when you want submissions in a searchable dashboard, spam scoring you can see, signed webhooks, or one form backend shared with sites you run elsewhere. Comparing more options? See the Squarespace contact form roundup.

  • Searchable dashboard plus CSV export on paid plans
  • Signed webhooks to Slack, Notion, Sheets, or your own server on Pro
  • Same access key works on Squarespace and any other site you run
A Squarespace form submission routed to inbox, Slack, Notion, and Google Sheets

Spam filtered

How to stop spam on a Squarespace contact form.

You usually don't have to add anything. The embedded form ships with a honeypot and a load-time trap, and splitforms rate-limits and content-scores every submission server-side — so most Squarespace sites never turn on reCAPTCHA. If yours still gets hit, enable reCAPTCHA v2 with your own site key, or route clean submissions on through the integrations you connect.

  • Honeypot + load-time trap ship in the form code
  • Rate-limited 6/min, 20 per 15 min (per IP, per form), and content-scored server-side
  • Optional reCAPTCHA v2 with your own site key from the dashboard
Spam filtering on a Squarespace contact form — honeypot, rate limits, and content scoring

Questions

Squarespace contact form questions.

Anything missing? Email us, we read every message.

A person reading answers to common questions
How do I add a contact form to Squarespace?

Edit the page, click Add Block (or +), choose Code, open the block with the pencil icon, set Mode to HTML, and paste an HTML form whose action is https://splitforms.com/api/submit with your access key in a hidden field. Save, publish, and send a test message from the live page. Submissions are stored in your splitforms dashboard and emailed to you.

Which Squarespace plans can use a Code Block contact form?

Squarespace's pricing page (checked 2026-11-01) lists the basic Code Block (HTML, plain text, markdown, or CSS) on every plan, including Basic, and the advanced Code Block (iFrames, JavaScript) only on Core, Plus, and Advanced. Its Code Blocks help article says JavaScript in a code block needs Core, Plus, or Advanced. The form HTML itself needs no JavaScript; only the optional one-line time-trap script does, and the form still submits without it.

Does Squarespace have a built-in contact form?

Yes, the Form Block. It emails submissions to you and can connect storage options from its settings, so a simple contact page may need nothing more. An embedded splitforms form is the alternative when you want submissions in a separate searchable dashboard, server-side spam scoring, signed webhooks, or the same form running on non-Squarespace sites too.

Why isn't my Squarespace contact form sending emails?

If the splitforms dashboard shows the submission but no email arrives, check your spam folder first. If it's not there, confirm the access key in your form HTML matches the dashboard exactly (a stray space breaks it). Email notifications are free on every splitforms plan, so there's no setting to unlock.

How much does a Squarespace contact form backend cost?

The splitforms Free plan covers 500 submissions a month, unlimited forms, spam filtering, and email notifications, with no credit card. Pro is $5/month for 5,000 submissions a month with CSV/XML/PDF export, webhooks, an auto-responder, CC/BCC and priority support. Annual is $49/year for 15,000 a month. Your Squarespace subscription is separate.

How do I stop spam on my Squarespace contact form?

Usually you don't add anything. The form ships with a honeypot and a load-time trap, and splitforms rate-limits (6 per minute and 20 per 15 minutes, per IP per form) and content-scores every submission server-side. If spam still gets through, enable reCAPTCHA v2 with your own site key from the dashboard.

Show 3 more questions
Can I send Squarespace form submissions to Slack, Notion, or Google Sheets?

Yes, on Pro ($5 per month) and Annual. Connect Google Sheets, Notion, Airtable, Slack, Discord, Telegram, or WhatsApp from your dashboard with nothing to change on the Squarespace side. Webhooks are signed with HMAC-SHA256 (a sha256= prefix on the signature header), sent with an 8-second timeout and automatic retries for up to 24 hours on timeouts, 429 and 5xx.

Will the form match my Squarespace site's design?

Mostly, if you don't hardcode fonts or colors: an unstyled input in a Code Block picks up much of your theme's typography. Wrap the markup in a scoped class like .sf-form if you want to adjust corners, spacing, or the button color without affecting other blocks.

The form shows up as plain text. What went wrong?

The Code Block's Mode is not set to HTML, or Display Source is switched on. Open the block, set Mode to HTML, switch Display Source off, and save. Squarespace also notes that custom code may not render on a page inside an index page or when Ajax loading is on, so test the published page.

View all FAQs

Get your free Squarespace contact form.

Paste one HTML form into a Code Block and start collecting messages in minutes: 500 free submissions a month, no credit card.

  • No credit card required
  • 500 free submissions
  • Setup in minutes
Two people celebrating a working contact form