Marketing

Free Email Signup Form Generator

Create a customizable email signup form for your website in minutes.

No account or credit card needed.

Content
Optional fields
Design
Form style
Button style
Alignment
Form width

Live preview

Preview only. The form isn't connected to anything, so submitting does nothing here.

Your HTML + CSS

<style>
.mm-signup{box-sizing:border-box;max-width:480px;width:100%;margin:0 auto;padding:28px;background:#fff;color:#0f172a;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:left;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 6px 24px rgba(15,23,42,.08);}
.mm-signup *{box-sizing:border-box}
.mm-signup h2{margin:0 0 8px;font-size:22px;line-height:1.25}
.mm-signup p{margin:0 0 18px;color:#475569;font-size:15px;line-height:1.5}
.mm-signup label{display:block;margin:0 0 6px;font-size:14px;font-weight:600;text-align:left}
.mm-signup input[type=email],.mm-signup input[type=text]{display:block;width:100%;margin:0 0 14px;padding:12px 14px;font-size:16px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a}
.mm-signup input:focus{outline:2px solid #3478F6;outline-offset:1px}
.mm-signup .mm-consent{display:flex;gap:8px;align-items:flex-start;margin:0 0 14px;font-size:13px;font-weight:400;color:#475569}
.mm-signup .mm-consent a{color:#3478F6}
.mm-signup button{display:block;width:100%;padding:12px 18px;font-size:16px;font-weight:600;border-radius:10px;cursor:pointer;background:#3478F6;color:#fff;border:2px solid #3478F6;}
.mm-signup .mm-success{margin:14px 0 0;color:#3478F6;font-weight:600}
</style>
<!-- Replace action="#" with the form URL from your email marketing provider. This form does not store subscribers on its own. -->
<form class="mm-signup" action="#" method="post">
  <h2>Get marketing tips in your inbox</h2>
  <p>Practical advice to help you grow your business.</p>
  <label for="mm-email">Email address</label>
  <input id="mm-email" type="email" name="email" placeholder="you@example.com" autocomplete="email" required>
  <button type="submit">Subscribe</button>
  <!-- Show this message after a successful signup (handled by your email provider). -->
  <p class="mm-success" hidden>Thanks! Please check your inbox to confirm your subscription.</p>
</form>

Built in your browser. Nothing you type is sent to or stored on our servers. Your text is escaped, and the code has no external scripts.

How it works

Edit the fields on the left and the preview updates as you type. The generated code is plain, semantic HTML with its own CSS, no external scripts, and all your text is safely escaped.

Important: this is a front-end form only. On its own it doesn't store subscribers or send emails. Connect it to an email marketing platform to collect signups.

Use your form in 4 steps

  1. Fill in your headline, text and button, and pick a style.
  2. Check the live preview on desktop and mobile.
  3. Copy or download the HTML and paste it into your website.
  4. Replace action="#" with the form URL from your email marketing provider so signups are actually saved.

Your privacy

Everything happens in your browser. The text you enter isn't sent to or stored on our servers.

Frequently asked questions

Does this form collect subscribers automatically?

No. A standalone HTML form doesn't save signups or send emails. Point the form's action to your email marketing provider, or use their own embed code.

How do I add the form to my website?

Copy the HTML and paste it into an HTML or custom code block in your website builder, or into your page template.

Is the code safe to use?

Yes. Everything you type is escaped, links only accept http(s) addresses, and the code contains no scripts.

Should I add a consent checkbox?

In many countries, including the EU, you need clear consent to send marketing emails. A checkbox with a link to your privacy policy helps make that explicit.

Can I change the colours later?

Yes. The CSS is included at the top of the code, so you can tweak colours, spacing or fonts afterwards.

Is the Email Signup Form Generator free to use?

Yes. This tool is free to use, with no account or credit card required.

New to email marketing? Start with the MailerLite guide →