splitforms.com

Serverless form handling

Serverless form handling without API routes.

Post any HTML form or client-side fetch() call to one hosted endpoint — no API route, no serverless function, no SMTP. splitforms stores the submission, filters spam, and emails you.

  • 500 free / month
  • No API route
  • Any host
A form posting to the splitforms endpoint with no API route or serverless function to write

Key benefits

No API route

No app/api route or serverless function to write and deploy — your form posts to one endpoint.

Spam filtered, no CAPTCHA

A honeypot and form_loaded_at time-trap screen bots server-side — no CAPTCHA to add.

Stored and emailed

Accepted submissions are saved to a searchable dashboard before owner notification email is attempted; delivery time and inbox placement depend on provider and recipient settings.

Quick start

Serverless form handling, ready to paste.

Point the form action at the endpoint, add your access key, and ship — there's no API route or serverless function of your own to write or deploy.

contact.html
<form action="https://splitforms.com/api/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY" />
  <input type="hidden" name="form_loaded_at" value="" />
  <label>Email <input name="email" type="email" autocomplete="email" required /></label>
  <label>Message <textarea name="message" required></textarea></label>
  <input type="checkbox" name="botcheck" style="display:none" tabindex="-1" />
  <button type="submit">Send</button>
</form>
<script>
  // Time-trap: stamp the page-load time (ms). Leave it empty rather than
  // posting placeholder text, which would send every entry to Spam.
  document.querySelector('[name="form_loaded_at"]').value = Date.now();
</script>

Setup

How to handle form submissions without a serverless function.

Five steps, no server code of your own to write or deploy. Point a form at the endpoint, add the honeypot and time-trap fields, and ship to any host.

Step 1 of 5

Create a free splitforms form

Sign up and add a form in the dashboard — no credit card required. Free covers 500 submissions a month on unlimited forms, with email notifications and spam filtering included.

Step 2 of 5

Point the form action or fetch() call at the endpoint

Set a native <form action="https://splitforms.com/api/submit" method="POST">, or POST with fetch and FormData from a client component. Either way, add access_key as a hidden field.

Step 3 of 5

Add the honeypot and time-trap fields

Include a hidden botcheck input that must stay empty and a form_loaded_at hidden field set to a timestamp when the page loads. splitforms uses both to catch bots without a CAPTCHA or a validation function of your own.

Step 4 of 5

Deploy without writing a function

Ship to Vercel, Netlify, Cloudflare Pages, GitHub Pages, or any static host — there is no app/api route or serverless function to write and deploy alongside the form.

Step 5 of 5

Test it, then connect webhooks or integrations

Submit a test entry, confirm it lands in your inbox and dashboard, then wire up Slack, Google Sheets, Notion, Airtable, or a signed webhook to Zapier, Make, or n8n — webhooks and native integrations are on paid plans (Pro at $5/mo and Annual).

You're all set ✓

No API route

How do you post form data without an API route?

There's no app/api/contact/route.ts to write. A client component posts FormData straight to splitforms with fetch() — the same honeypot and time-trap fields apply whether you submit with a native form action or JavaScript. It's the same one-endpoint pattern in a Next.js form, React, or plain HTML.

  • No app/api/contact/route.ts to write or deploy
  • No SMTP provider to configure — owner email on every plan
  • No database or admin dashboard of your own to build
A client-side fetch() posting form data to splitforms with no API route

The shared layer

When can you skip the serverless function?

Most form handlers repeat the same work: validate fields, block spam, store the payload, email the owner, and forward a webhook. splitforms handles that shared layer — no route, SMTP, database, CAPTCHA, or hosting lock-in of your own. Need custom logic first? Put a serverless function in front of the form endpoint and forward the request; most contact, lead, and signup forms don't need one.

  • Receive native form posts, fetch() FormData, or JSON to one endpoint
  • Honeypot, time-trap, content heuristics, and IP rate limiting block bots
  • Owner email on every plan, plus signed webhooks and integrations on paid plans
A submission validated, spam-filtered, stored, emailed, and forwarded to a webhook

Any host

Serverless form handling on any host.

The POST goes to splitforms, not your hosting provider, so there's nothing platform-specific to configure. The same form keeps working when you move from Netlify to Vercel, Cloudflare Pages, GitHub Pages, or S3 — it's true static site form handling with no build-pipeline lock-in.

  • Works on Vercel, Netlify, Cloudflare Pages, GitHub Pages, or S3
  • Host-agnostic — no build-pipeline lock-in like Netlify Forms
  • 500 free submissions a month on unlimited forms, spam filtering included
One serverless form deployed unchanged across Vercel, Netlify, and Cloudflare Pages

Common questions

Serverless form handling questions.

Anything missing? Email us, we read every message.

A person reading answers to common questions
What is serverless form handling?

Serverless form handling means your site does not run its own always-on form server. The browser posts to a hosted endpoint — https://splitforms.com/api/submit — that validates, filters, stores, and routes the submission.

Do I need an API route or serverless function?

No — a plain contact, lead, waitlist, or signup form posts straight to splitforms. Add your own function only when something must run server-side first, such as looking up a coupon code or generating an invoice number before the submission is accepted.

Does this work on Vercel, Netlify, and Cloudflare Pages?

Yes. It works anywhere that can serve HTML or JavaScript because the POST goes to splitforms, not your hosting provider — there is nothing platform-specific to configure.

How is this different from Netlify Forms?

Netlify Forms is tied to Netlify's build and hosting pipeline. splitforms is host-agnostic: the same form keeps working if you move from Netlify to Vercel, Cloudflare Pages, GitHub Pages, or S3.

How much does serverless form handling cost?

splitforms is free for 500 submissions a month on unlimited forms, with email notifications and spam filtering included. Pro is $5/month for 5,000 submissions a month plus webhooks, integrations, CSV/XML/PDF exports, CC/BCC and priority support; Annual is $49/year for 15,000 a month. Higher-volume Business plans are available by emailing hello@splitforms.com.

How do I stop spam without writing my own filter?

splitforms includes a hidden honeypot field (botcheck) and a time-trap field (form_loaded_at) that catch most bots automatically, plus server-side content heuristics. You can layer on optional reCAPTCHA v2 with your own secret for an extra check — none of it requires a validation function of your own.

Show 3 more questions
Can I accept file uploads without a serverless function?

Yes, on paid plans with the Storage integration: up to 5 files per submission at 5 MB each (larger files are skipped), with no upload handler of your own to write. Use enctype="multipart/form-data" on the form.

Is there a rate limit if I don't run my own backend?

Yes — the shared endpoint allows 6 submissions per minute and 20 within a rolling 15 minutes, per IP per form, returning HTTP 429 past that, since there is no server of yours in front of it to add custom throttling.

When do I still need my own serverless function?

splitforms covers the shared work — storage, spam filtering, email, webhooks — but it does not run your business logic. If you need to check a value against your own database, call another API, or transform the payload before it's accepted, put a serverless function or API route in front of splitforms and forward the request from there. Most contact, lead, waitlist, and signup forms have no such logic, which is why the direct POST works without one.

View all FAQs

Ship the form. Skip the function.

Free for 500 submissions a month with no credit card required. The hosted endpoint replaces a custom function, mail handler, and submissions database route.

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