splitforms.com

Contact form · Cloudflare Pages

Contact form for Cloudflare Pages sites

Cloudflare Pages doesn't ship a built-in form handler the way Netlify does. splitforms fills the gap — your static Pages site POSTs the form to splitforms, and you skip writing a Worker for it. Works with Pages Functions too if you prefer a server-side proxy.

  • 500 free total
  • One endpoint
  • No backend code
Cloudflare Pages contact form — copy-paste code for splitforms

No backend code

No server, API route, or SDK. Your Cloudflare Pages form posts straight to one endpoint.

Straight to your inbox

Every submission is emailed to you and saved to a searchable dashboard — spam filtered before it reaches you.

Design without limits

It's your own Cloudflare Pages markup and styles. Splitforms is only the backend, so nothing constrains how the form looks.

Copy-paste ready

Your Cloudflare Pages contact form, ready to paste.

Replace YOUR_ACCESS_KEY with the key from your dashboard — that's the whole integration. No SDK to install, no build step, just the html you already write.

Generate access key
contact.html
<!-- Static HTML deployed to Cloudflare Pages -->
<form action="https://splitforms.com/api/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY" />

  <input name="name"  required />
  <input name="email" type="email" required />
  <textarea name="message" required></textarea>
  <input type="checkbox" name="botcheck" style="display:none" tabindex="-1" />

  <button type="submit">Send</button>
</form>

<!--
  No Worker needed. splitforms accepts the POST, sends the email,
  stores the submission, and follows any dashboard-configured redirect.
  CSP note: add 'https://splitforms.com' to form-action if you've
  locked down the CSP header in _headers.
-->

How to add it

How to add a contact form to a Cloudflare Pages website.

To add a contact form to a Cloudflare Pages website you need three things: a free splitforms access key, the html snippet above, and your key pasted into it. No backend, server, or SDK — the form posts to one URL and every submission lands in your inbox and dashboard.

Get your free splitforms access key

Sign up at splitforms.com, verify your email, and copy your access key from the dashboard. No credit card required.

Drop the Cloudflare Pages snippet into your project

Copy the Cloudflare Pages code example into your project and replace YOUR_ACCESS_KEY with the key from step 1.

Receive submissions in your dashboard

Submissions arrive in the splitforms dashboard within seconds. Free includes owner email notification attempts; Pro adds Slack, Discord, Sheets, or any signed webhook URL.

Where submissions go

Where do your Cloudflare Pages form submissions go?

Every submission is emailed to you and saved to a searchable dashboard — spam filtered before it ever reaches you. Search, export to CSV, or forward it to a webhook or Slack on Pro.

  • 500 submissions total, free to start
  • Honeypot + automatic spam scoring on every plan
  • Signed webhooks to Slack, Discord, your server
Cloudflare Pages contact form submissions in the splitforms dashboard

No backend needed

Do you need a backend for a Cloudflare Pages form? No.

Your Cloudflare Pages form posts standard FormData to one URL. Splitforms validates the access key, runs its spam checks, and forwards it to your email — so there's no server, API route, or database for you to build or maintain.

  • Works with Cloudflare Pages static deploys — no Worker required
  • Optional Pages Function proxy if you want to hide the access key
  • Direct POST avoids burning Worker CPU time on the free Pages plan
How splitforms processes a Cloudflare Pages form submission

Best practices

What a production-ready Cloudflare Pages form needs.

The difference between a form that works in the demo and one that survives launch traffic — the production-tested defaults, in priority order.

  • Lock the access key to your domains. The dashboard accepts a list — anyone copying the key from your bundle can't replay it from another origin.
  • Add the hidden honeypot input. Bots fill every field; humans don't see it. Splitforms rejects any submission that has it set.
  • Show submit state visually. Disable the button and label it 'Sending…' while the request is in flight — users hammer submit on slow networks otherwise.
Production-ready Cloudflare Pages contact form best practices

How SplitForms works

What happens after someone submits your form?

splitforms receives the submission, filters spam, saves it to your dashboard and emails you — then, on paid plans, sends it on to your webhooks and integrations. No backend infrastructure to build.

A SplitForms contact form submission launching straight to your inbox

Add your endpoint

Point your form to your unique SplitForms endpoint. That's it.

HTML form pointing at a SplitForms submit endpoint

Receive submissions

We instantly capture and organize every submission in your inbox.

Submissions inbox with searchable leads and status pills

Route anywhere

Send data to email, spreadsheets, CRMs, webhooks, and 7,000+ apps.

Generic integration tiles for email, sheets, chat, CRM, automate, and webhook

No credit card required. Set up in under 60 seconds.

Connect & automate

Where can submissions go besides email?

On paid plans, submissions can also go to Slack, Discord, Google Sheets, Notion, Airtable, Zapier or any signed webhook — and splitforms works on the platforms you build on, from WordPress and Shopify to Next.js. With Stripe connected, your forms can take payments too.

Connect your SplitForms form to Slack, Google Sheets, Mailchimp, Zapier and more
NewTake payments on your formsDeposits, bookings, order forms — submitters check out through Stripe and the money goes straight to your Stripe account. Included on every paid plan.See plans →

Setup guides for the stacks you use

Questions

Cloudflare Pages contact form questions.

View all FAQs
Can I add a contact form to Cloudflare Pages?

Yes. Your HTML form posts directly to a hosted form backend — no Cloudflare Worker, Pages Function, or D1 database required. Deploy the static HTML via Git or Wrangler like any other Pages change and the form works immediately.

Simple pricing

How much does splitforms cost?

Free gives you 500 submissions for $0 — no card, no time limit. Pro is $5/month for 5,000 submissions a month, and Annual is $49/year for 15,000 a month with every Pro feature.

Free

$0— 500 submissions
 

No card, no time limit

Best for testing

For side projects and indie devs.

  • 500 free submissions
  • Unlimited forms
  • Email notifications included
  • Smart spam filtering
  • Submissions dashboard
  • Redirect after submit
  • MCP server included

Annual

$49/ year
About $4.08/mo, billed yearly
Best value

Every Pro feature with triple the volume — $0.27 per 1,000 at full use.

  • 15,000 submissions / mo
  • Unlimited forms
  • Everything in Pro
  • File uploads with 5 GB storage
  • 3 team seats
  • Priority email support

No credit card required on Free • Cancel anytime • Full pricing and FAQ