Round-up · Checked November 22, 2026

The best form backend for GitHub Pages in 2026

GitHub Pages serves your pages, but it has no program running that could receive a contact form. A form backend fills that gap: the form stays in your HTML and posts to an address the service gives you.

Full disclosure: we make FormTango, so it is on this list. All prices come from each service's own pricing page, as of November 22, 2026, and are linked.

What matters for GitHub Pages

  • It must work with no server code, because a GitHub Pages site has none to run.
  • A plain HTML form should work, with a JSON response available for submitting without leaving the page.
  • Spam filtering that does not need a CAPTCHA wired up by hand.
  • No lock-in: one address in the form, so you can switch service by changing a line.

What GitHub Pages runs and what it does not

GitHub Pages serves files. It can build a Jekyll site for you, or publish the output of any generator through GitHub Actions, but once the site is live nothing runs on the server. There is no PHP, no Node, and no serverless functions.

So a form on GitHub Pages must post to another address. You can host a function with a different provider and write the handler yourself, which also means adding email delivery, storage and spam filtering. Or you can use a form backend and write no code. A contact form on GitHub Pages walks through it.

Project sites, base paths and the thank-you page

A project site is served from a subfolder: username.github.io/repository/. Links that start with a slash point at the top of the domain, not at your site, so /thanks leads to a 404.

The form's action is a full address, so it is not affected. A redirect after sending is. With FormTango, the hidden _redirect field (paid plans) needs the full address, including the repository name:

input type="hidden" name="_redirect" value="https://username.github.io/repository/thanks/"

If you later add a custom domain, update that value.

Public repositories and what is safe to commit

Most GitHub Pages sites are published from a public repository, so everything in the form is public too. A form address is fine there. It only accepts submissions and gives no access to them.

An API key is different. Never commit a key for a mail service or a form service, and do not call such a service from browser code, because the key would be readable by anyone. This is the main reason to avoid browser email libraries on a public site.

Testing a GitHub Pages form

Changes take a short while to publish, so wait for the build to finish and reload before testing. Then send the form from the live address. With FormTango you can add a hidden field named _test with the value 1 while you check: the submission shows in the inbox, nobody is emailed and it is not counted. Remove the field when you are done.

Prices at a glance

Prices and limits change often. Check each pricing page on the day you decide.

ServiceFree planFirst paid plan
FormTango1,000 submissions a month, unlimited forms$9 a month for 10,000 submissions
Formspree50 submissions a month$15 a month for 200 submissions; $30 for 2,000
Web3Forms250 submissions a month, according to its own comparison pageSee its pricing page
Forminit (formerly Getform)100 submissions a month, 1 form, 100 MB of uploads$16 a month for 5,000 submissions and 10 forms
Splitforms500 submissions in total, once (it does not refill)$5 a month for 5,000 submissions
Formspark250 submissions, once$25 once for 50,000 submissions

Our pick

FormTango: 1,000 free submissions a month (the most of any service here), unlimited forms, and messages past the limit are kept instead of rejected. If you want the longest-established name, pick Formspree; for the lowest paid price, Splitforms.

Connecting a form in GitHub Pages

The GitHub Pages guide has the steps and the full code. If you already have a form, the form checker finds the mistakes that stop it sending.

FormTango

A form backend with an inbox, spam filtering and email alerts. An AI coding tool can create a working form with one request and no account.

Good for: The largest monthly free plan in this comparison, sites built with AI coding tools, and anyone who wants over-limit submissions kept instead of dropped.

Watch for: New service (launched November 2026). File uploads, webhooks and CSV export are on paid plans.

Free: 1,000 submissions a month, unlimited forms. Paid: $9 a month for 10,000 submissions. Source

Formspree

The best-known form backend, with a large plugin library.

Good for: Teams that want the most established name and its integrations.

Watch for: The free plan has no file uploads, autoresponses or custom redirect. Webhooks and Zapier start on the $30 plan.

Free: 50 submissions a month. Paid: $15 a month for 200 submissions; $30 for 2,000. Source

Forminit (formerly Getform)

A form backend with workflows, validation rules and file uploads.

Good for: Forms that need file uploads on a free plan, or routing rules.

Watch for: One form on the free plan, and its pricing page says forms pause and reject submissions past the limit.

Free: 100 submissions a month, 1 form, 100 MB of uploads. Paid: $16 a month for 5,000 submissions and 10 forms. Source

How hard is it to switch?

Easy, as long as your form is plain HTML. A form backend is one address in the form's action attribute. Moving means creating a form at the new service, replacing that address, and sending one test submission.

Before you leave, export your old submissions if the service allows it. If the form uses a service-specific script or access key field, remove those at the same time.

Common questions

Does a GitHub Pages site need a backend for a contact form?
Yes. GitHub Pages has nothing running that could receive the form, so the form needs an address to send to. A form backend provides one.
What is the best free form backend for GitHub Pages?
For the largest monthly free allowance, FormTango (1,000 submissions a month, unlimited forms). Web3Forms and Formgong list 250. Checked November 2026.

Written by the FormTango team. Facts about other services were read from their own pages on November 22, 2026. Spotted something out of date? Tell us and we will fix it.

Keep reading