The autocapitalizeglobal attribute is an enumerated attribute that controls whether inputted text is automatically capitalized — and in what manner. It mainly affects <input>, <textarea>, and any element with contenteditable.
It does not change typing on a physical keyboard. Virtual keyboards (phones, tablets) and voice input use it as a capitalization hint so users type names, sentences, and codes with less shifting.
Limited availability · Not Baseline.
Not deprecated and not experimental. Supported well on modern mobile browsers; missing or weak on some desktop browsers (notably Safari). Prefer progressive enhancement.
Hint only — not validation.
Users can still type any case. Never rely on autocapitalize to enforce uppercase or title case in stored data.
Syntax
HTML Syntax
syntax.html
<element autocapitalize="keyword">
You can also set it on a <form>; that value applies to contained text fields and overrides per-field values.
Values
Attribute Values
Enumerated keywords (aliases shown where the HTML living standard allows them):
Put autocapitalize on the form when every text field should share one mode.
Children inherit that mode for capitalization behavior.
Form value wins. Per MDN, a form setting overrides autocapitalize on contained inputs and textareas.
Need a mixed form? Prefer setting values on each field instead of on the form.
Edge Cases & Pitfalls
Most surprises come from testing only on desktop or putting it on the wrong input type.
keyboard
Physical keyboards ignore it
Desktop typing usually looks unchanged. Verify on iOS/Android (or voice input) when you care about the UX.
types
No effect on email, url, password
Those type values never enable autocapitalization. Use none on type="text" fields instead when you need the hint.
form
Form value overrides children
Setting autocapitalize on <form> overrides values on nested inputs and textareas — easy to miss when debugging.
defaults
Omitted attribute ≠ same everywhere
Chrome/Safari often default toward sentences; Firefox toward none. Set an explicit value when consistency matters.
data
Not a substitute for validation
If case matters in your database, normalize or validate on the server. This attribute only hints the keyboard.
Compatibility
Browser Support
autocapitalize is an HTML global attribute for browser text entry. It is not a Node.js, Deno, or Bun API.
✓ Limited availability · Not Baseline
autocapitalize
Strong on modern mobile browsers and Chromium/Firefox. Desktop Safari support is weak or absent; IE has no support. Effects matter most with virtual keyboards.
94%Global support (approx.)
Google Chrome43+
Full support
Mozilla Firefox111+
Full support
Apple SafariiOS 10.3+ · Desktop limited
Partial
Microsoft Edge79+
Full support
Opera30+
Full support
Samsung Internet4+
Full support
Internet ExplorerNo support
Not supported
autocapitalizeLimited · mobile-strong
Bottom line: Safe as progressive enhancement for mobile forms. Do not depend on it for desktop Safari or for enforcing case in stored data.
Remember
Key Takeaways
Role: hint virtual keyboards with none, sentences, words, or characters.
Scope:input, textarea, contenteditable, and optionally form.
Mobile-first: physical keyboards generally ignore it.
Limits: ignored on email / url / password; not Baseline everywhere.
One line:autocapitalize eases mobile typing — it does not change physical keyboards or validate case.
Frequently Asked Questions
It is an enumerated global attribute that hints whether virtual keyboards or voice input should capitalize text automatically, and how: none, sentences, words, or characters.
It applies to input and textarea, any contenteditable element, and can also be set on a form to control contained fields.
No. MDN notes it does not change typing on a physical keyboard. Effects show mainly on mobile virtual keyboards and similar input methods.
For those input types, autocapitalization is never enabled. The attribute is ignored there.
none and off mean the same (no auto caps). sentences and on both capitalize the first letter of each sentence.
No. MDN marks it Limited availability — not Baseline — because support is missing or weak in some widely used browsers (notably desktop Safari). Mobile browsers support it well.