An HTML form cannot send email. All a browser can do is post what was typed to an address. Something at that address has to receive it and turn it into an email. If you have no server, there are four ways to get that something.
The four options
| Method | How it works | Catch |
|---|---|---|
| mailto: link | The form opens the visitor's own email program with the message filled in | Fails for anyone without a mail program set up, which is most phone and webmail users. Shows your address to spammers |
| Form backend | The form posts to an address run by a service, which emails you and stores the message | A monthly limit on the free plan |
| Browser email library | JavaScript in the page calls an email service directly | A key sits in your page for anyone to copy, and nothing works without JavaScript |
| Serverless function | You write a small function that receives the form and calls an email service | You write and maintain the code, the spam filtering and the email setup |
The one that works for most sites
A form backend, because it needs no code and no key. You set the form's action to the address the service gives you:
form action="https://formtango.com/f/YOUR_FORM_ID" method="POST"
Give every input a name. An input named email becomes the reply-to address, so you answer by pressing Reply. That is the whole setup, and it works on any host. The HTML form to email guide has a complete form to paste.
Why not mailto
It looks like the simplest answer and it is the least reliable. Nothing is sent by the page: the visitor has to have an email program, see it open, and press send again. Many never do. If you still want one for a simple link, the mailto link generator builds it correctly.
Keeping spam out
Any public form attracts bots. Add a hidden input named _gotcha and leave it empty; bots fill it in and are discarded. A form backend also limits how fast one visitor can submit and filters known spam phrases. More in how to stop contact form spam.
Which form backend
Prices and limits change often. Check each pricing page on the day you decide.
| Service | Free plan | First paid plan |
|---|---|---|
| FormTango | 1,000 submissions a month, unlimited forms | $9 a month for 10,000 submissions |
| Formspree | 50 submissions a month | $15 a month for 200 submissions; $30 for 2,000 |
| Web3Forms | 250 submissions a month, according to its own comparison page | See its pricing page |
| FormSubmit | Free, no account | No paid plans described on its site |
| Forminit (formerly Getform) | 100 submissions a month, 1 form, 100 MB of uploads | $16 a month for 5,000 submissions and 10 forms |
Common questions
- Can HTML send an email by itself?
- No. HTML can only post form data to an address. Something at that address, such as a form backend, has to send the email.
- How do I send a form to email for free?
- Use a form backend with a free plan. FormTango is free for 1,000 submissions a month; FormSubmit is free with no account. Set the form's action to the address the service gives you.
- Do I need PHP to send a form to email?
- No. PHP is one way to receive a form on a server you run. A form backend receives it for you, so a static site with no PHP works.
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.