Free contact form generator
Build your form
Pick your fields and copy the HTML. To receive messages, enter your email next and confirm it with a link we send. There is no password. Until you confirm, messages are stored but not emailed.
How it works
- Choose your fields and copy the code.
- Paste the code into a page on your site.
- Confirm your email with a link we send; messages are emailed to you and kept for 30 days.
Preview of your form code
Tick fields to update the code. Your first copy per page view sends one empty counting request, with no cookies and none of the code you copied.
<form action="https://lamofel.com/f/CLAIM_YOUR_ENDPOINT" method="POST">
<label for="field-name">Name</label>
<input id="field-name" type="text" name="name" required>
<label for="field-email">Email</label>
<input id="field-email" type="email" name="email" required>
<label for="field-message">Message</label>
<textarea id="field-message" name="message" rows="5" required></textarea>
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off" hidden>
<button type="submit">Send</button>
</form>
In this preview, CLAIM_YOUR_ENDPOINT is a placeholder. You enter your email next, then confirm it with a link we send. Do not publish the form while the placeholder is still in the action.
The preview shows a placeholder address. To continue, go to the email step.
A contact form is the front door of a small website: it lets a visitor ask a question, request a quote or report a problem without you having to publish a mailto link that spammers harvest. This generator builds a plain HTML form you can paste into any page, from a hand-coded site to a WordPress template.
You keep the form on your own site. It posts to a hosted endpoint that spam-checks the submission, stores it and emails it to you.
Fields to include
Keep it short: name, email and message carry almost every conversation. Add a subject or phone only if you actually act on them -- every extra field lowers the chance a visitor finishes the form.
| Field name | Label | Include? |
|---|---|---|
name | Name | Recommended |
email | Recommended | |
subject | Subject | Optional |
phone | Phone | Optional |
message | Message | Recommended |
Spam tips
- Keep the hidden _gotcha field exactly as generated. Spam bots fill every input they find; humans never see this one, so a filled honeypot marks the post as spam.
- Give the email field type="email" (the generator does this) so browsers catch typos before the form is even submitted.
- After you claim your endpoint, set an allowed domain: posts whose browser Origin or Referer names another site are refused. It is a filter, not proof of the sender -- a script can send any header.