Contact form without a backend
Static sites, single-page apps and sites made by AI builders have no server to receive a form. You do not need to add one. A form backend is a hosted address that accepts the form for you, stores each submission, filters spam and sends you an email.
- 1
Create a free FormTango account and add a form. Copy its endpoint, which looks like https://formtango.com/f/YOUR_FORM_ID.
- 2
Paste the form below into your site, replacing YOUR_FORM_ID.
- 3
Deploy as usual. Nothing runs on your side.
- 4
Submit the form once. The submission appears in your FormTango inbox and you get an email.
html
<form action="https://formtango.com/f/YOUR_FORM_ID" method="POST">
<label>Name <input type="text" name="name" required></label>
<label>Email <input type="email" name="email" required></label>
<label>Message <textarea name="message" required></textarea></label>
<!-- Spam trap: leave this hidden and empty -->
<input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">
<button type="submit">Send</button>
</form>Good to know
- Compared with a serverless function plus an email service, there is no code to maintain and no API key to protect.
- Compared with a client-side email library, no key is exposed in your page.
- The endpoint is safe to put in front-end code. Spam is handled on our side.
What you get
- Every submission saved in an inbox you can search and export.
- An email for each one, with the visitor's address as the reply-to.
- Spam filtering without making visitors solve a puzzle.
- Problems? See troubleshooting.
Related guides
HTML form to emailSubmit a form without redirectingHTML file upload formStop contact form spamA form backend for AI coding agents
Last reviewed November 19, 2026.