E EasyFormAPI Docs Pricing Templates Integrations Get Started Free

HTML Contact Form to Email — No Backend Required

Add a working contact form to any HTML website without PHP, Node.js or a backend server. EasyFormAPI receives the form POST and emails you every submission instantly.

<!-- EasyFormAPI HTML Contact Form — receives submissions by email -->
<form action="https://api.easyformapi.com/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY" />
  <input type="hidden" name="subject" value="New Contact Form Submission" />
  <!-- Honeypot spam protection — leave empty -->
  <input type="checkbox" name="botcheck" style="display:none" />

  <label>Name
    <input type="text" name="name" required placeholder="Your name" />
  </label>
  <label>Email
    <input type="email" name="email" required placeholder="[email protected]" />
  </label>
  <label>Message
    <textarea name="message" required rows="5" placeholder="How can we help?"></textarea>
  </label>
  <button type="submit">Send Message</button>
</form>

How It Works

  • Create a free EasyFormAPI account and generate an access key
  • Replace YOUR_ACCESS_KEY in the form above
  • Deploy your HTML page — no server-side code needed
  • Every submission is emailed to your registered inbox instantly

Optional Fields

  • _subject or subject — custom email subject line
  • _redirect — URL to redirect to after successful submission
  • _replyto — set reply-to address to the submitter's email
  • botcheck — honeypot field for spam protection (keep hidden)

Static Hosting Compatible

This HTML contact form pattern works on any static host: Netlify, Vercel, GitHub Pages, Cloudflare Pages, AWS S3, Render, Surge and more. No server-side runtime required.

Ready to receive form submissions by email?

Free plan: 250 submissions/month, spam protection, email notifications. No backend server required.

Get Started Free — No Credit Card Required    Read the docs →

Frequently Asked Questions

How do I receive HTML form submissions by email without a backend?
Point your form's action attribute to https://api.easyformapi.com/submit, add a hidden access_key input, and every submission is delivered to your inbox instantly — no server, no PHP, no backend code required.
Is EasyFormAPI really free?
Yes. The free plan includes 250 form submissions per month with spam protection and email notifications. No credit card required. See all plans.
Does it work with React, Next.js and Vue?
Yes. Call the API endpoint from any onSubmit handler using fetch(). See guides for React, Next.js and Vue.
Do I need to configure an email server or SMTP?
No. EasyFormAPI handles email delivery on your behalf. You only need your EasyFormAPI access key.
What spam protection is included?
All plans include a honeypot filter. Pro plans additionally support hCaptcha and Google reCAPTCHA v3 verification. Spam protection docs.
Can I use this on a WordPress site without a plugin?
Yes. Paste the HTML form into a Custom HTML block in the WordPress editor. See the WordPress Contact Form API guide.