A laptop, a phone and a hand writing in a notebook on a wooden desk, banner image on the Form Builder page

Tools / Build suite

Form Builder

Describe fields and get a working HTML form - labels, types, required marks, validation attributes - exported as one file.

One line per field - label, type, required or not - and get a clean, accessible HTML form with the right input types and validation attributes, exported as a single file you can wire to any backend.

Open the tool
Screenshot of the Form Builder tool

What it does

The right input for every answer.

Real input types

email, number, date, url, tel, select, textarea - not twelve text boxes.

Required marks and keyboard hints

required attributes and sensible inputmodes come along automatically.

Accessible by default

Every control gets a label tied to it with a for attribute.

Share a link

Publish the form to its own page. People fill it in, you read the responses on a private page and download them as CSV. Up to 300 responses per form.

Or export the HTML

The exported form posts nowhere until you point action= at your own endpoint.

One line per field

Label, type, required, options - separated by pipes. The grammar fits on an index card.

Keyboards that match

Phone, email, URL and number fields carry input modes, so phones show the right keys.

A real HTML document out

The export is a complete page - title, labels, required marks, submit button - not a fragment.

Publish a hosted link

One click puts the form on a shareable URL that keeps up to 300 responses.

Passwords stay private

A published form refuses password fields; ask for secrets nowhere, collect them never.

Typos cannot break it

An unknown type on a line falls back to text, so the form always builds.

Live preview as you type

Every line you edit re-renders the preview instantly, mistakes and all.

How it works

Fields in, form out.

Step 1

Paste one field per line: label | type | required.

Step 2

Review the live preview.

Step 3

Copy the HTML and set your action URL.

FAQ

Supported types?

text, email, number, tel, url, date, password, textarea, select and checkbox.

Select options?

Add them after a third pipe: Plan | select | required | Free, Pro, Team.

Styling?

Inline, dark-first; edit freely after export.

What does the pipe syntax look like?

Email | email | required - label first, type second, required third, comma-separated options last for selects.

Where do submissions go?

The exported file posts to an action you set. Published links collect responses for you, capped at 300.

Required fields?

Add the word required as the third part of the line; the field shows a star and the browser enforces it.

Can I style the result?

The export is plain HTML with inline styles - open it in any editor and make it yours.

Open Form Builder

Worked example

Real output, from the tool itself.

This is what Form Builder returned for its built-in example input, captured from the tool - not a mockup.

You enter

Input

Full name | text | required
Email | email | required
Company size | select | required | 1-10, 11-50, 51-200, 200+
Start date | date
Notes | textarea

Form title

Request access

Input

1-10

The tool returns

Full name * (text)
Email * (email)
Company size * (select)
1-10
11-50
51-200
200+
Start date (date)
Notes (textarea)
Try it with your own input

More in the Build suite

Font Pairing LabWebhook TesterPricing Page BuilderLanding Page MakerStatus Page Starter
A laptop, headphones, a camera, a phone and a plant on a white desk, seen from above, banner image on the Form Builder page

Try it now.

Form Builder runs in your browser. No account needed.

Authored Tiles

The line grammar

LabelTypeRequired flag, optionalOptions, select only
LabelTypeRequired flag, optionalOptions, select only
Each line has up to four parts, split on the pipe character.

Pipeline

Reading one line

Trim the lineSkip it if blankSplit on pipesSkip it if undertwo partsMake a fieldrecord
Trim the lineSkip it if blankSplit on pipesSkip it if under two partsMake a field record
Blank lines and one-part lines never become fields.

Authored Tiles

The ten accepted types

textemailnumbertelurldatepasswordtextareaselectcheckbox
textemailnumbertelurldatepasswordtextarea
Anything else falls back to text.

Pipeline

An unknown type becomes text

Read the secondpartLowercase itLook in the tentypesNot foundUse text
Read the second partLowercase itLook in the ten typesNot foundUse text
The type word is lowercased before the lookup.

Pipeline

How required is read

Read the thirdpartTest for a leadingreqSet the field flagStar on the labelRequired attributeon the control
Read the third partTest for a leading reqSet the field flagStar on the labelRequired attribute on the control
Any word starting with req counts, in any case.

Pipeline

Select options

Read the fourthpartSplit on commasTrim each optionDrop empty onesOne option elementeach
Read the fourth partSplit on commasTrim each optionDrop empty onesOne option element each
Options come from the fourth part only.

Support Matrix

Keyboard hint by type

emailtelurldecimalemailtelurlnumbertextdate
emailemailteltelurlurlnumberdecimaltextnone of thesedatenone of these
Only four types get an inputmode attribute.

Input To Output

What the export builds

Field linesForm titleDoctype andheadLabelledcontrolsSubmit buttonExportInOut
InField linesForm titleExportDoctype and headLabelled controlsSubmit buttonOut
The export is one HTML document.

Before After

Five lines, five controls

Starter lineControlFull name | text | requiredEmail | email | requiredCompany size | select |requiredStart date | dateNotes | textareaRequired text inputRequired email inputRequired dropdown, 4 optionsDate inputTextarea, 4 rows
Starter line to ControlFull name | text | requiredRequired text inputEmail | email | requiredRequired email inputCompany size | select | requiredRequired dropdown, 4 optionsStart date | dateDate inputNotes | textareaTextarea, 4 rows
Each starter line turns into one control.

Pipeline

Building a field id

Take the positionLowercase thelabelSwap non lettersfor dashesTrim edge dashesPrefix f and theposition
Take the positionLowercase the labelSwap non letters for dashesTrim edge dashesPrefix f and the position
Ids join the position and a cleaned label.

Authored Tiles

What a label carries

for attribute to thecontrol idBlock display above thefieldStar after required labelsText escaped before output
for attribute to the control idBlock display above the fieldStar after required labelsText escaped before output
Every label is tied to its control.

Pipeline

Escaping in labels and options

Ampersand becomesampLess-than becomesltQuote becomes quot
Ampersand becomes ampLess-than becomes ltQuote becomes quot
Three characters are replaced.

Bar Compare

Exported page geometry

Page max width520 pxTop margin40 pxSide padding20 pxTitle size24 pxButton text15 pxButton padding12 px
Page max width520 pxTop margin40 pxSide padding20 pxTitle size24 pxButton text15 pxButton padding12 px
Fixed sizes in the exported document.

Authored Tiles

What the head holds

DoctypeCharset utf-8Viewport metaTitle from the form title
DoctypeCharset utf-8Viewport metaTitle from the form title
The head is small and fixed.

Pipeline

Building the file

Read the titleParse the fieldsBuild one blockper fieldWrap them in apost formAdd the Submitbutton
Read the titleParse the fieldsBuild one block per fieldWrap them in a post formAdd the Submit button
The default title is Form when the title box is empty.

Input To Output

Where the form posts

Exported HTMLYour endpointMethod postFields namedby idForm actionInOut
InExported HTMLYour endpointForm actionMethod postFields named by idOut
The action is blank by design.

Authored Tiles

Control element by type

Input with the chosen typeTextarea, 4 rowsSelect with optionsCheckbox input, no hint
Input with the chosen typeTextarea, 4 rowsSelect with optionsCheckbox input, no hint
Four element shapes cover all ten types.

Pipeline

Live preview

You edit thefields boxThe input eventfiresLines are parsedPreview rows aredrawnExport HTML isrebuilt
You edit the fields boxThe input event firesLines are parsedPreview rows are drawnExport HTML is rebuilt
The preview and the export rebuild together.

Pipeline

Copy HTML

Press Copy HTMLTake the lastbuilt fileWrite it to theclipboardEmpty text if noneyet
Press Copy HTMLTake the last built fileWrite it to the clipboardEmpty text if none yet
The button copies whatever was built last.

Pipeline

Checks before publishing

At least one fieldNo password fieldDisable the buttonPost JSON to theforms endpointShow the links
At least one fieldNo password fieldDisable the buttonPost JSON to the forms endpointShow the links
Two checks stop the request.

Input To Output

The publish request

Form titleField recordsShare URLPrivateresponses URLError textPublish a linkInOut
InForm titleField recordsPublish a linkShare URLPrivate responses URLError textOut
Title and fields go up as JSON.

Before After

Messages for failed publishes

CauseMessageNo fields typedPassword field presentServer rejects itConnection dropsAdd at least one fieldfirst.A published form cannot askfor passwords.Server error text, or Couldnot publish.Network error. Try again.
Cause to MessageNo fields typedAdd at least one field first.Password field presentA published form cannot ask forpasswords.Server rejects itServer error text, or Could notpublish.Connection dropsNetwork error. Try again.
Each refusal has its own text.

Support Matrix

Type by element

inputtextareaselectinputmodetextemailnumbertelurldatepasswordtextareaselectcheckbox
textinputemailinputinputmodenumberinputinputmodetelinputinputmodeurlinputinputmodedateinputpasswordinputtextareatextarea
Which element each type uses.

Support Matrix

Where required shows

StarRequired attributeFlag valuePreview labelPreview controlExport labelExport controlPublished record
Preview labelStarPreview controlRequired attributeExport labelStarExport controlRequired attributePublished recordFlag value
One flag, five places.

Real Timeline

The starter example in order

Full name1 lineEmail2 lineCompany size3 lineStart date4 lineNotes5 line
1Full name1 line2Email2 line3Company size3 line4Start date4 line5Notes5 line
Five lines, top to bottom.

Bar Compare

Size bands in the starter select

1 to 1010 people11 to 5050 people51 to 200200 people
1 to 1010 people11 to 5050 people51 to 200200 people
Upper end of each closed band.

Pipeline

From typing to a shared link

Type the fieldsCheck the previewPress Publish alinkReceive two URLsShare one, keepthe other
Type the fieldsCheck the previewPress Publish a linkReceive two URLsShare one, keep the other
The whole path in one view.