HTML Select Generator
Build a fully configured HTML <select> dropdown — with options, placeholder, and attributes — and copy the ready-to-use HTML.
Last updated: May 21, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is HTML Select Generator?
The HTML `<select>` element creates a dropdown list from which users pick one (or more) values. Each choice is an `<option>` child with a `value` attribute and display text.
Key attributes: `multiple` lets users select several options (renders as a list box); `size` sets visible rows in a list box; `required` forces the user to pick before submitting; `disabled` grays out the entire control. Individual `<option>` elements can also carry `selected` (pre-selected) and `disabled` (un-selectable) flags.
How to Use HTML Select Generator
Enter a name attribute for the select element
Add options with their display text and value
Mark an option as selected or disabled if needed
Toggle multiple selection, required, or disabled on the element
Optionally add a placeholder option at the top
Copy the generated HTML
Common Use Cases
- Building form dropdowns for country, state, or category selection.
- Creating multi-select list boxes for tag or filter inputs.
- Generating accessible form controls with pre-selected defaults.
Example Input and Output
A required country dropdown with a placeholder and three options.
Name: country, Placeholder: Select a country
Options: US (United States), GB (United Kingdom), CA (Canada)
Required: true<select name="country" required>
<option value="" disabled selected>Select a country</option>
<option value="US">United States</option>
<option value="GB">United Kingdom</option>
<option value="CA">Canada</option>
</select>Privacy
All HTML generation runs in your browser. No data is sent to any server.

