Netlify Forms Netlify Forms collects HTML form submissions without server-side code. Form detection must be enabled in the Netlify UI (Forms section). Basic Setup Add data-netlify="true" and a unique name to the form: < form name = " contact " method = " POST " data-netlify = " true "
< label
Name: < input type = " text " name = " name " /> </ label
< label
Email: < input type = " email " name = " email " /> </ label
< label
Message: < textarea name = " message "
</ textarea
</ label
< button type = " submit "
Send </ button
</ form
Netlify's build system detects the form and injects a hidden form-name input automatically. For a custom success page, add action="/thank-you" to the form tag. Use paths without .html extension — Netlify serves thank-you.html at /thank-you by default, and the .html path returns 404. Show more Installs 556 Repository netlify/context…nd-tools GitHub Stars 19 First Seen Feb 27, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass