All frameworks
HTMLHTML

Use NBForms with HTML

Adding a contact form to a static HTML site takes two lines. Point your form action at NBForms, drop in a hidden token field, and every submission lands in your dashboard with email alerts and spam filtering — no backend required.

Official HTML docs
HTML
<form action="https://api.nbforms.com" method="POST">
  <input type="hidden" name="_token" value="YOUR_TOKEN" />
  <label>Name</label>
  <input type="text" name="name" required />
  <label>Email</label>
  <input type="email" name="email" required />
  <label>Message</label>
  <textarea name="message" required></textarea>
  <button type="submit">Send</button>
</form>

Why NBForms?

  • Zero JavaScript required
  • Works in any static HTML page or website builder
  • Compatible with Webflow, Framer, and any platform that supports custom form actions
  • Copy-paste ready in under a minute

Add to your HTML app in minutes

Free tier included. No credit card. No backend setup — just copy the snippet above and go.

Get started free