Free · No signup
Free HTML Form Generator
This free HTML form generator builds a contact form you can paste into any website. Pick your fields, then copy plain HTML, React, or HTML with fetch for an inline thank-you message. The form posts to W3Forms, which emails every submission to you, and a hidden honeypot field to block spam bots is included.
Fields
<form action="https://api.w3forms.com/submit" method="POST">
<input type="hidden" name="access_key" value="YOUR_ACCESS_KEY" />
<label for="name">Name</label>
<input type="text" id="name" name="name" required />
<label for="email">Email</label>
<input type="email" id="email" name="email" required />
<label for="message">Message</label>
<textarea id="message" name="message" required></textarea>
<!-- Honeypot: invisible to people, tempting to bots. Leave empty. -->
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off"
aria-hidden="true" style="position:absolute;left:-9999px" />
<button type="submit">Send</button>
</form>Questions
- What does this HTML form generator make?
- A working contact form: the fields you choose (name, email, phone, company, subject, message), a hidden access_key input and an optional honeypot. Copy it as plain HTML, as a React component, or as HTML with a small fetch script that shows a thank-you message on the same page.
- Does the generated form actually send email?
- Yes, once you add your free W3Forms access key. The form posts to https://api.w3forms.com/submit, and every submission is emailed to you and saved in your dashboard. No server, PHP or backend code is needed.
- Can I add more fields?
- Yes. Add any input, select or textarea with a name attribute, and it's included in the email and the dashboard. For file inputs, add enctype="multipart/form-data" to the form; files up to 10 MB work on the free plan.
- Which version should I copy: HTML, React or fetch?
- Use HTML for static sites, where the browser posts the form (set a Success redirect URL in W3Forms to show your own thank-you page). Use React for React apps. Use HTML + fetch if you want a thank-you message without leaving the page.
- Is it free?
- Yes. The generator is free with no sign-up, and the W3Forms free plan has unlimited forms and unlimited submissions.
See also
More free tools
JSON → form fields
Paste a JSON object and get matching HTML form inputs with the right types and names, ready to drop into a W3Forms contact form. Free, no sign-up.
Honeypot generator
Generate an accessible anti-spam honeypot that bots fill and humans never see. Includes a visible test-mode snippet.
Spam checker
Paste your form HTML. We audit the honeypot, labels, method, and CAPTCHA markers — then give you a safer version to copy.