<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Myles Friedman</title>
    <description>The latest articles on DEV Community by Myles Friedman (@myles_formtango).</description>
    <link>https://dev.to/myles_formtango</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4258915%2Fe3a967da-6c25-4046-bb22-493521651547.png</url>
      <title>DEV Community: Myles Friedman</title>
      <link>https://dev.to/myles_formtango</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/myles_formtango"/>
    <language>en</language>
    <item>
      <title>The best form backend for static sites in 2026</title>
      <dc:creator>Myles Friedman</dc:creator>
      <pubDate>Sun, 22 Nov 2026 16:41:55 +0000</pubDate>
      <link>https://dev.to/myles_formtango/the-best-form-backend-for-static-sites-in-2026-1m82</link>
      <guid>https://dev.to/myles_formtango/the-best-form-backend-for-static-sites-in-2026-1m82</guid>
      <description>&lt;p&gt;A static site is only files: HTML, CSS and JavaScript served from a host such as GitHub Pages, Cloudflare Pages, Netlify or Vercel. There is no program running that could receive a contact form. A form backend fills that gap. You set the form's action to an address the service gives you and it does the receiving.&lt;/p&gt;

&lt;h2&gt;
  
  
  What matters for a static site
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;It must work with a plain HTML form and no JavaScript, so the form still sends if a script fails to load.&lt;/li&gt;
&lt;li&gt;It should not tie you to one host. A backend that only works on one hosting company stops working the day you move.&lt;/li&gt;
&lt;li&gt;It should stop spam without a CAPTCHA you have to wire up, since you have no server to verify one.&lt;/li&gt;
&lt;li&gt;It should answer JavaScript requests with JSON too, for when you want to submit without leaving the page.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Prices at a glance
&lt;/h2&gt;

&lt;p&gt;Prices and limits change often. Check each pricing page on the day you decide.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Free plan&lt;/th&gt;
&lt;th&gt;First paid plan&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;FormTango&lt;/td&gt;
&lt;td&gt;1,000 submissions a month, unlimited forms&lt;/td&gt;
&lt;td&gt;$9 a month for 2,000 submissions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Formspree&lt;/td&gt;
&lt;td&gt;50 submissions a month&lt;/td&gt;
&lt;td&gt;$15 a month for 200 submissions; $30 for 2,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Web3Forms&lt;/td&gt;
&lt;td&gt;250 submissions a month, according to its own comparison page&lt;/td&gt;
&lt;td&gt;See its pricing page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Forminit (formerly Getform)&lt;/td&gt;
&lt;td&gt;100 submissions a month, 1 form, 100 MB of uploads&lt;/td&gt;
&lt;td&gt;$16 a month for 5,000 submissions and 10 forms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Splitforms&lt;/td&gt;
&lt;td&gt;500 submissions in total, once (it does not refill)&lt;/td&gt;
&lt;td&gt;$5 a month for 5,000 submissions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Formspark&lt;/td&gt;
&lt;td&gt;250 submissions, once&lt;/td&gt;
&lt;td&gt;$25 once for 50,000 submissions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;FormSubmit&lt;/td&gt;
&lt;td&gt;Free, no account&lt;/td&gt;
&lt;td&gt;No paid plans described on its site&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Netlify Forms&lt;/td&gt;
&lt;td&gt;See Netlify pricing (its pricing page did not state a forms allowance when I checked)&lt;/td&gt;
&lt;td&gt;See Netlify pricing&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Which one for which site
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;My pick for most static sites: FormTango. It works with a plain HTML form on any host, the free plan covers 1,000 submissions a month with no limit on forms, and messages past the limit are kept.&lt;/li&gt;
&lt;li&gt;A personal site or portfolio that gets a handful of messages: any free plan works. FormSubmit needs no account; FormTango, Forminit and Web3Forms give you an inbox as well as email.&lt;/li&gt;
&lt;li&gt;A site on Netlify that will stay on Netlify: Netlify Forms is the least setup.&lt;/li&gt;
&lt;li&gt;A client site: pick a service whose free or cheap plan allows more than one form, and check what happens past the limit so a busy month does not lose leads.&lt;/li&gt;
&lt;li&gt;A site an AI tool is building for you: FormTango, because the tool can create the form itself. See &lt;a href="https://formtango.com/blog/form-backend-with-mcp-server" rel="noopener noreferrer"&gt;form backends with an MCP server&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The form itself
&lt;/h2&gt;

&lt;p&gt;Whichever you choose, the form is the same few lines. Every input needs a name, the method is POST, and the action is the address from the service. There are guides with the exact code for &lt;a href="https://formtango.com/guides/html" rel="noopener noreferrer"&gt;plain HTML&lt;/a&gt;, &lt;a href="https://formtango.com/guides/astro" rel="noopener noreferrer"&gt;Astro&lt;/a&gt;, &lt;a href="https://formtango.com/guides/hugo" rel="noopener noreferrer"&gt;Hugo&lt;/a&gt;, &lt;a href="https://formtango.com/guides/jekyll" rel="noopener noreferrer"&gt;Jekyll&lt;/a&gt; and &lt;a href="https://formtango.com/guides/eleventy" rel="noopener noreferrer"&gt;Eleventy&lt;/a&gt;, and a free &lt;a href="https://formtango.com/tools/form-checker" rel="noopener noreferrer"&gt;form checker&lt;/a&gt; that finds mistakes in a form you already have.&lt;/p&gt;

&lt;h2&gt;
  
  
  FormTango
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; 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.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Watch for:&lt;/strong&gt; new service (launched November 2026). File uploads, webhooks and CSV export are on paid plans.&lt;/p&gt;

&lt;p&gt;Free: 1,000 submissions a month, unlimited forms. Paid: $9 a month for 2,000 submissions. &lt;a href="https://formtango.com/pricing" rel="noopener noreferrer"&gt;Source&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Formspree
&lt;/h2&gt;

&lt;p&gt;The best-known form backend, with a large plugin library.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; teams that want the most established name and its integrations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Watch for:&lt;/strong&gt; the free plan has no file uploads, autoresponses or custom redirect. Webhooks and Zapier start on the $30 plan.&lt;/p&gt;

&lt;p&gt;Free: 50 submissions a month. Paid: $15 a month for 200 submissions; $30 for 2,000. &lt;a href="https://formspree.io/plans" rel="noopener noreferrer"&gt;Source&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Forminit (formerly Getform)
&lt;/h2&gt;

&lt;p&gt;A form backend with workflows, validation rules and file uploads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; forms that need file uploads on a free plan, or routing rules.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Watch for:&lt;/strong&gt; one form on the free plan, and its pricing page says forms pause and reject submissions past the limit.&lt;/p&gt;

&lt;p&gt;Free: 100 submissions a month, 1 form, 100 MB of uploads. Paid: $16 a month for 5,000 submissions and 10 forms. &lt;a href="https://forminit.com/pricing/" rel="noopener noreferrer"&gt;Source&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  FormSubmit
&lt;/h2&gt;

&lt;p&gt;A free service that emails form submissions to you, with no registration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; the quickest possible form-to-email with nothing to sign up for.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Watch for:&lt;/strong&gt; its home page describes emailing submissions, not an inbox where they are stored. You confirm your address after the first submission.&lt;/p&gt;

&lt;p&gt;Free, no account. No paid plans described on its site. &lt;a href="https://formsubmit.co/" rel="noopener noreferrer"&gt;Source&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Netlify Forms
&lt;/h2&gt;

&lt;p&gt;Form handling built into Netlify hosting. You add an attribute to the form and Netlify collects it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; sites that are already on Netlify and will stay there.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Watch for:&lt;/strong&gt; it only works for sites hosted on Netlify, so the form stops working if you move host.&lt;/p&gt;

&lt;p&gt;Its pricing page did not state a forms allowance when I checked. &lt;a href="https://www.netlify.com/pricing/" rel="noopener noreferrer"&gt;Source&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting a form: the whole thing
&lt;/h2&gt;

&lt;p&gt;This is all the code a static site needs. It works the same with any of the services above; only the address changes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;form&lt;/span&gt; &lt;span class="na"&gt;action&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"https://formtango.com/f/YOUR_FORM_ID"&lt;/span&gt; &lt;span class="na"&gt;method&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"POST"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;label&amp;gt;&lt;/span&gt;Name &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"name"&lt;/span&gt; &lt;span class="na"&gt;required&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;label&amp;gt;&lt;/span&gt;Email &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"email"&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"email"&lt;/span&gt; &lt;span class="na"&gt;required&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;label&amp;gt;&lt;/span&gt;Message &lt;span class="nt"&gt;&amp;lt;textarea&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"message"&lt;/span&gt; &lt;span class="na"&gt;required&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/textarea&amp;gt;&amp;lt;/label&amp;gt;&lt;/span&gt;

  &lt;span class="c"&gt;&amp;lt;!-- Spam trap: hidden from people, filled in by bots --&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"_gotcha"&lt;/span&gt; &lt;span class="na"&gt;style&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"display:none"&lt;/span&gt; &lt;span class="na"&gt;tabindex&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"-1"&lt;/span&gt; &lt;span class="na"&gt;autocomplete&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"off"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"submit"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Send&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three things to get right: every input needs a &lt;code&gt;name&lt;/code&gt;, the method is &lt;code&gt;POST&lt;/code&gt;, and the hidden &lt;code&gt;_gotcha&lt;/code&gt; field stays empty. Bots fill it in and get discarded.&lt;/p&gt;

&lt;h2&gt;
  
  
  What about writing it yourself?
&lt;/h2&gt;

&lt;p&gt;You can receive a form with a serverless function on Vercel, Netlify or Cloudflare. The function is ten lines. The work is everything after it: sending email that doesn't land in spam, storing submissions, blocking bots, and keeping an email API key safe. For a contact form that's rarely worth it. For a form that feeds your own database, it can be.&lt;/p&gt;

&lt;h2&gt;
  
  
  How hard is it to switch?
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common questions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Can a static site have a contact form?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes. The form is ordinary HTML. It needs an address to send to, which a form backend provides, because a static host cannot receive it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does GitHub Pages support forms?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GitHub Pages serves files only and cannot process a form. Point the form at a form backend and it works.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
