Free tool

Contact form generator

Formgong team ·

The form below has the three fields most contact pages need: name, email and message. Copy it as it is, or describe the form you want and the generator rewrites it.

Short answer: A contact form generator writes the code for a name, email and message form. This page loads exactly that. Copy the HTML, React or Vue tab, replace fk_your_access_key with a Formgong key, and messages arrive in your inbox and in Telegram. You need no account to copy the code.

Contact form you can copy

The sample is the short version on purpose. Every extra field is one more reason to close the tab. Add a phone or a subject list only if you will use the answer. Type it into the description box, or open “Build it yourself, without AI” and add the row.

The HTML tab is selected. Tailwind, Bootstrap 5, React and Vue are the same three fields in other clothes.

Live preview

Preview only. Nothing is sent from this page.

Contact us

Copy the code

Replace fk_your_access_key with your own Formgong access key. The placeholder does not accept submissions. The honeypot field is named botcheck. Leave it empty.

The HTML form posts in the browser. React and Vue show an error on the page if the request fails. These class names need Tailwind on your site. This page does not load Tailwind. Bootstrap 5 class names need Bootstrap on your site. This page does not load Bootstrap.

HTML
<style>
#fg-fk_your_access_key{box-sizing:border-box;max-width:520px;width:100%;padding:28px;border:1px solid #dbe2ea;border-radius:8px;background:#fff;color:#0f172a;font:16px/1.5 system-ui,sans-serif;display:grid;gap:16px}#fg-fk_your_access_key *{box-sizing:border-box}#fg-fk_your_access_key h2{font-size:24px;line-height:1.3;margin:0 0 4px;color:#0f172a}#fg-fk_your_access_key label{display:grid;gap:6px;font-weight:500}#fg-fk_your_access_key input,#fg-fk_your_access_key textarea,#fg-fk_your_access_key select{width:100%;font:inherit;min-height:44px;border:1px solid #94a3b8;border-radius:8px;padding:10px 12px;background:#fff;color:#0f172a}#fg-fk_your_access_key textarea{min-height:96px;resize:vertical}#fg-fk_your_access_key .fg-reminder-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400}#fg-fk_your_access_key input[type=checkbox]{width:20px;min-height:20px;flex-shrink:0;margin:2px 0}#fg-fk_your_access_key button{font:inherit;font-weight:600;min-height:48px;padding:12px 20px;border:0;border-radius:8px;background:#4338ca;color:#ffffff;cursor:pointer}#fg-fk_your_access_key :focus-visible{outline:3px solid #4338ca;outline-offset:3px}#fg-fk_your_access_key button:disabled{cursor:wait;opacity:.7}#fg-fk_your_access_key p{margin:0}#fg-fk_your_access_key fieldset{border:0;padding:0;margin:0;display:grid;gap:8px;min-width:0}#fg-fk_your_access_key legend{font-weight:500;padding:0;margin-bottom:6px}#fg-fk_your_access_key .fg-choice{display:flex;align-items:center;gap:10px;font-weight:400}#fg-fk_your_access_key input[type=radio]{width:20px;min-height:20px;flex-shrink:0;margin:0}#fg-fk_your_access_key .fg-trap{position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
</style>
<form id="fg-fk_your_access_key" action="https://formgong.com/submit" method="POST">
  <h2>Contact us</h2>
  <input type="hidden" name="access_key" value="fk_your_access_key">
  <input type="hidden" name="_lang" value="en">
  <label>Name * <input type="text" name="name" required autocomplete="name"></label>
  <label>Email * <input type="email" name="email" required autocomplete="email"></label>
  <label>Message * <textarea name="message" required></textarea></label>
  
  <div class="fg-trap" aria-hidden="true"><label>Leave this field empty<input name="botcheck" tabindex="-1" autocomplete="off"></label></div>
  
  
  <button type="submit">Send message</button>
</form>

Make it live free

Create a free form, then open Connect on that form in this browser. If it still has the default name, email and message fields, they are replaced with this form.

Contact form generators, checked 16 October 2026
This pageFormcarry contact form generator
FieldsName, email, message. Change them by description or by handName, email, message
CodeHTML, Tailwind, Bootstrap 5, React, VueHTML, React or Vue, with CSS or Tailwind
Where it postsFormgong, after you add a keyFormcarry, after you add a form ID
Telegram alertInstant on the free planNot mentioned on the generator page

What happens when someone presses Send

The HTML version is a normal form. The browser posts it to /submit on Formgong. Formgong checks the key and the honeypot, stores the message, and only then sends the visitor to a thank-you page. If something fails, such as a wrong key, the visitor sees an error page with the reason instead of a fake “Thanks”. You can send people back to your own thank-you page with a hidden _redirect field. It must point to a domain you added to the form.

The React and Vue versions stay on the page. They send the fields with fetch, read the JSON answer, and write “sent” only when the answer says success: true. A network error or a refused submission is written into the status line, so nobody walks away thinking the message went through when it did not.

Why name, email and message

  • Name. One field, not first and last. People write their name the way they want to be addressed.
  • Email. type="email" with autocomplete="email", so phones offer the address and the browser rejects a missing @.
  • Message. A textarea, required. A contact form with an empty message is noise.

The email Formgong sends you uses the visitor's address as the reply address, so Reply in your mail app answers them. That is why the email field is required here. If you want calls, add a phone field and leave it optional. The HTML form generator sample shows a phone and a subject list already wired.

Spam without a CAPTCHA puzzle

Every copy has a hidden field named botcheck. People never see it. Simple bots fill every input, and Formgong sends the submission to spam when that field has text. Leave the field in the code and keep it hidden.

If a bot gets past it, turn on Cloudflare Turnstile in the form settings. Visitors usually see no puzzle at all. The form checker can read your published page and tell you if the honeypot or the key went missing on the way.

Free limits, email and storage

The contact form code is free to copy. Messages are delivered only after you replace the placeholder key.

Copying the code needs no account. AI generations are limited to 5 an hour and 10 a day for each network, plus 100 a day for the whole site. When a limit is hit, use “Build it yourself, without AI”. That path does not call the model.

On the free plan, Telegram is instant and email is sent for every submission. The free plan is 300 submissions a month. Auto-reply is not on the free plan. Submission data is stored in the EU. Support is Formgong at support@formgong.com.

Your description is sent to the model so it can choose fields. It is not stored. Do not paste passwords, card numbers or other secrets.

Questions

What is a contact form generator?

A tool that writes contact form code for you. This one starts with name, email and message, and gives you HTML, Tailwind, Bootstrap 5, React and Vue versions of the same form.

How do I add a contact form to my website?

Copy the HTML tab, replace fk_your_access_key with your Formgong key, and paste it where the form should appear. Publish the page and send yourself a test message.

Does the form show a success message even if sending fails?

No. The HTML form shows Formgong's thank-you page only after the message is stored. The React and Vue versions say sent only when the server answers success: true.

Will I get the messages by email?

Yes, after you add a real key. On the free plan, Telegram is instant and email is sent for every submission. The free plan is 300 submissions a month.

Can I change the fields?

Yes. Describe the form in the box, or build it yourself without AI. You can add a phone, a subject list, a checkbox or a date.

Sources

Checked on 16.10.2026 against these public pages: MDN: <form>, MDN: input type=email, Formcarry contact form generator, Formgong HTML guide.

← Formgong