← All guides

Contact form for any HTML site (no backend)

Works on GitHub Pages, Netlify, Cloudflare Pages, Hugo, Jekyll and any static host. No JavaScript needed: the browser posts the form and Formlane redirects back.

  1. Create a form in the Formlane dashboard and copy its access key.
  2. Paste the form below and set your access key.
  3. Optional: set `redirect` to your own thank-you page.
index.html
<form action="https://smallwerk.com/formlane/api/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
  <!-- Optional: where to send visitors afterwards -->
  <input type="hidden" name="redirect" value="https://example.com/thanks">
  <!-- Honeypot: leave hidden and empty -->
  <input type="checkbox" name="botcheck" style="display:none" tabindex="-1" autocomplete="off">

  <input type="text" name="name" placeholder="Name" required>
  <input type="email" name="email" placeholder="Email" required>
  <textarea name="message" placeholder="Message" required></textarea>
  <button type="submit">Send</button>
</form>

Get your access key

Free for 250 submissions a month. Data stored in the EU (Frankfurt).

Get your access key