Static Hosting

Form Backend for Cloudflare Pages & GitHub Pages

Static hosts like GitHub Pages and Cloudflare Pages serve fast HTML without a built-in form inbox. Connect your static forms to Formgrid endpoints instead of maintaining custom Workers, mail APIs, and spreadsheets.

Quick answer: Host anywhere without platform lock-in

Unlike Netlify Forms (which requires Netlify hosting), Formgrid works on GitHub Pages, Cloudflare Pages, Vercel, AWS S3, or any static host via POST https://formgrid.dev/api/f/{endpointSlug}. Free includes 3 forms, 50 submissions/month, honeypot + rate limiting (10/min) + Cloudflare Turnstile/hCaptcha, and a built-in Lead CRM.

Static HTML form ready for GitHub Pages or Cloudflare Pages

<form action="https://formgrid.dev/api/f/your-form-slug" method="POST">
  <input name="name" type="text" required placeholder="Jordan Lee" />
  <input name="email" type="email" required placeholder="alex@example.com" />
  <textarea name="message" required placeholder="Project details"></textarea>
  <input type="text" name="honeypot" tabindex="-1" autocomplete="off" aria-hidden="true" hidden />
  <button type="submit">Send enquiry</button>
</form>

Zero Workers or serverless maintenance

Keep pure static builds in Astro, Hugo, Jekyll, Eleventy, or plain HTML without debugging Resend/SES keys inside Cloudflare Workers.

Native Cloudflare Turnstile support

Enable Cloudflare Turnstile or hCaptcha right on the Free plan to stop automated spam alongside default honeypot and IP rate limits.

Portable across hosts

Move freely between GitHub Pages, Cloudflare Pages, Vercel, or Netlify without changing your form backend, CRM history, or notification rules.

Custom Cloudflare Workers vs. Formgrid.dev

Write a custom Worker when...

  • You need bespoke server business logic, private database joins, or Edge KV mutations before accepting a form.
  • You prefer maintaining your own transactional email API keys, spam rules, and submission database.

Choose Formgrid.dev when...

  • You want reliable static-site form collection on GitHub Pages or Cloudflare Pages in under 5 minutes.
  • You want stored searchable leads, Google Sheets / Notion sync, 1 GB uploads (Premium+), and spam protection without writing backend code.
  • You want the option to self-host the MIT core via Docker later if needed.

Static deployment checklist

  1. 1 Point your static HTML form action (or fetch FormData handler) at https://formgrid.dev/api/f/{endpointSlug}.
  2. 2 Include the hidden name="honeypot" field and optional Turnstile widget.
  3. 3 Add your custom domain and preview subdomain (e.g. *.pages.dev) in Form Settings → Allowed Domains.
  4. 4 Set a custom thank-you redirect URL (Premium+) or handle the 201 JSON confirmation inline.

Frequently asked questions

No. GitHub Pages only serves static files. Pointing your <form action> or JavaScript fetch() at Formgrid handles form storage, email notifications, spam filtering, and lead tracking without a server.

No. Static HTML files on Cloudflare Pages submit directly to https://formgrid.dev/api/f/{endpointSlug} over HTTPS with CORS handled by Formgrid.

Yes. Honeypot filtering, rate limiting (10/min default), Cloudflare Turnstile, and hCaptcha are supported on Free, Premium, and Business.

Related guides & resources

Your form builder, lead pipeline, and form backend in one place.

Whether you are sharing a form link on WhatsApp, pointing your HTML form to a Formgrid endpoint, or tracking leads through a built-in pipeline, get it done in 2 minutes.

Start Free. No Credit Card Required