Add a Contact Form Backend to Webflow
Collect Webflow form submissions outside Webflow's plan limits. Point your form at W3Forms for email notifications, spam protection and a dashboard.
- Create a free W3Forms account and a form. Copy the access key shown once.
- Optional: in Form → Settings, list your site under Allowed domains, so posts from other sites are marked as spam. Include the port when testing locally (for example
localhost:5500). - Paste the markup below. Replace
YOUR_ACCESS_KEYwith your key. - Submit a test. Check the dashboard inbox and your notification email.
In the Webflow Designer
- Add an Embed element where the form should appear.
- Paste the HTML below (with your access key).
- Style with custom CSS or classes that already target
form,input, andbutton. - Add your Webflow domain (e.g.
yoursite.webflow.ioand the custom domain) under Allowed Domains in W3Forms.
This replaces Webflow's native form handler so submissions are not capped by your Webflow plan. You get a dashboard, spam protection, and email notifications from W3Forms.
webflow-embed.html
<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>
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off"
aria-hidden="true" style="position:absolute;left:-9999px" />
<button type="submit">Send</button>
</form>Next steps
- Generate a correct honeypot
- Validate your form HTML
- Configure redirects and spam settings
- Add a signed webhook
- Compare W3Forms to Formspree & others