Free HTML form generator: the markup written as you type
- Form controls the markup will hold
- 8
- Computed on this page from the inputs below
- Label elements, one bound to each control
- 8
- Computed on this page from the inputs below
- Fieldset and legend pairs around the choice groups
- 1
- Computed on this page from the inputs below
- HTML elements the generator writes in total
- 20
- Computed on this page from the inputs below
The counts these tools work out come from the structure the HTML standard defines for a form: one labelled control per field, a fieldset and a legend around a group of radios or checkboxes, and a name attribute on every control that is meant to be submitted. The sources under each tool link the part of the specification each rule comes from.
Email me this result
We will send you these figures and a link back to them. One email, nothing else unless you tick the box.
The markup above is written from a worked example (8), and the counts beside it follow the structure the HTML standard defines for a form. Rename a field or add one and the HTML rewrites itself as you type.
Download the HTML form generator worked example (CSV)
Tell the generator which fields your form needs and it writes the HTML for them: a form element with a method and an action, a label bound to every control, the right input type for each one, a fieldset and legend around any group of radios or checkboxes, and a submit button at the end. It also counts what it wrote, following the structure the HTML standard defines for a form, because the size of a form is the thing people misjudge: eight fields is not eight elements, it is eight controls, eight labels, their wrappers and whatever a group of choices adds on top.
Endpointo Pro
Where the submission goes next
The markup is only half a working form. Point its action at Endpointo and every post lands in your workspace, with its uploads, in one place you can search and export, and an email tells you something arrived.
- Download the files somebody uploaded with the form
- Notification emails that say a submission came in and never carry the answers
- Come back to a form and its submissions tomorrow
- Your own name on the form page people fill in
- Export every submission a form has ever received
- Send the new-submission email to the address you choose
$19per month, whole team
Start Endpointo Pro Free for 14 days. No card needed. PricingThe first 14 days are free and no card is asked for. Add a card during the trial and the first charge is on the day it ends; do not, and your workspace becomes read-only with nothing deleted. Endpointo Pro is $19.00 per month. It renews automatically each month at the same price until you cancel, and the price and the renewal date are shown on the checkout page before you pay.
Writing the HTML form generator: what developers ask
Is this HTML form builder free, and does it need an account? It is free and it needs no account. The markup is written in your browser from the field list you give it, so there is nothing to sign up for before you copy it. The paid part of Endpointo is the endpoint the form posts to, never the HTML.
Is it an HTML web form generator for any form, or only a contact form? Any form you can describe as a list of fields: single line text, email addresses, messages, file uploads and groups of radios or checkboxes. A contact form is the common case, and the same generator writes a registration form or an upload form when you change the counts.
Why does the count say more elements than I have fields? Because a field is not one element. Each control needs its own label, and a group of radios or checkboxes needs a fieldset and a legend around it so the group has an accessible name. The generator counts what it actually writes, which is why the number is higher than the field list you typed.
Is the markup it writes accessible? It is a reasonable starting point: every control has a real label bound by for and id, groups are wrapped in a fieldset with a legend, and no label is faked with a placeholder. It is not an accessibility audit of your page, and it cannot know what your CSS does to focus styles or contrast.
Can I change the markup afterwards? It is yours. Rename the classes, drop the wrappers, move it into a component: nothing here phones home and nothing depends on the markup staying as it was written. The only part that has to stay correct is the action attribute and the name on each control, because those are what the submission is made of.
Where the constants in this tool come from
MDN: the form element and its method, action and enctype attributes.
MDN: the fieldset element and grouping controls with a legend.
WHATWG HTML: form control infrastructure, names and submission.