Free tool

AI form generator

Formgong team ·

Type what the form should ask. You get HTML, Tailwind, Bootstrap 5, React and Vue that you can paste into a page.

Short answer: An AI form generator turns a plain description into form code you can paste into a page. This tool uses the same field checker as the Formgong form builder. It returns HTML, Tailwind, Bootstrap 5, React and Vue. The form posts to Formgong after you replace the placeholder access key. Until then, the code does not send anything.

Describe your form

Write a sentence about the form, or pick an example. The result is checked against a fixed list of field types before any code is shown. Your description is not printed as HTML.

Live preview

Preview only. Nothing is sent from this page.

Contact form

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:#fff;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 form</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.

How the AI form generator works

  1. Describe the form in a sentence, or choose contact, quote request, booking, job application or feedback.
  2. The description goes to the same model the Formgong form builder uses. It is told to treat your text as a description, not as instructions.
  3. The answer must match a fixed JSON schema. Field names are created here from the labels. The result has to pass the same check as a form built by hand.
  4. You get a live preview and five copies: HTML, HTML with Tailwind classes, HTML with Bootstrap 5 classes, React and Vue. Each one includes the honeypot botcheck.
  5. Replace fk_your_access_key, paste the code into your page, and publish.

If AI is off, or the daily limit is used up, use “Build it yourself, without AI”. You still get the same five copies.

A few searches want one form already filled in. Open the Tailwind form generator, the Bootstrap form generator, the booking form generator, the order form generator or the registration form generator.

HTML form code, contact forms and the other copies

The HTML tab is a classic form. The browser posts it to /submit. Use it when you want an HTML form with no JavaScript. The Tailwind tab is the same form with utility classes, for a site that already loads Tailwind. The Bootstrap 5 tab uses form-control, form-select and btn, for a site that already loads Bootstrap 5.

The React and Vue tabs are components. They send FormData, read the JSON response, and write success or failure into a status line. They do not invent a backend. A contact form is the sample that loads with the page, so you can copy one before you type anything.

Labels sit on the fields. Required fields use the required attribute. The honeypot is off-screen and hidden from assistive tech. Do not give botcheck a visible label on your site.

Free limits, email and where data is stored

Copying 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, the page says so and the manual field builder still works.

On the free plan, Telegram alerts are instant and email is sent for every submission. The free plan allows 300 submissions a month. Auto-reply is not on the free plan. Submission data is stored in the EU.

Your description is sent to the AI model so it can choose fields. It is not stored as a submission. Do not paste passwords, card numbers or other secrets. The form checker can read the published page later and list problems such as a missing action or the placeholder key still in place.

What this generator does not do

This page does not host the form, take payments, or branch questions. A hosted form builder is a better fit for that. Some generators keep the description in the browser and never call a model. This one does call a model, which is why the limits above exist.

The code will not deliver mail until the placeholder key is a real Formgong key. Support is Formgong at support@formgong.com.

Questions

What is an AI form generator?

It builds a form from a short description. This page returns HTML, Tailwind, Bootstrap 5, React and Vue you can paste into a site. It does not keep the form on Formgong until you create a free key.

Is there a free HTML form generator?

Yes. The HTML tab is free and needs no account. It is a normal form with labels, required fields and a honeypot. You only need an account when you want the submissions delivered.

How do I get contact form HTML code?

Use the contact example, or describe the fields you want. Copy the HTML tab. Put your access key in the hidden access_key field. The HTML guide shows the same kind of form with every hidden field Formgong understands.

Will the form send email?

After you replace the placeholder key, yes. On the free plan, Telegram is instant and email is sent for every submission. Data is stored in the EU. The free plan is 300 submissions a month.

Can I build the form without AI?

Yes. Choose “Build it yourself, without AI”, add labels and types, and update the preview. That path does not call the model. It is also what the page offers when AI is unavailable or the site limit is used up.

Sources

Checked on 11.10.2026 against these public pages: MDN: <form>, Formgong HTML guide, splitforms AI form generator, Grigora AI form builder, FormSubmit form generator, gizza HTML form generator.

← Formgong