Tutorials
Add a contact form to your static site, whatever tool generates it. Each tutorial stands on its own.
HTML
HTML contact form without PHP or a server (2026 tutorial)
Add a working contact form to a static HTML site in 5 minutes, without PHP or a backend. Emails received directly, data hosted in France.
JavaScript
Contact form without page reload (fetch)
Submit your contact form with JavaScript and fetch: the visitor stays on the page and sees a confirmation message, without PHP or a backend.
Hugo
Add a contact form to a Hugo site (no backend)
A reusable Hugo shortcode to receive your contact form's messages by email. Works with GitHub Pages, Netlify and Cloudflare Pages.
Astro
Astro contact form without an API route or a server
Create an Astro contact form component that sends messages by email, while keeping your site 100% static.