Baseline Newly HTML
html.elements.input.webkitdirectory
Granular MDN Browser Compat Data support history across 13 tracked browsers.
Specification Area
HTML
Standard track
First Core Launch
Chrome 7
2010-10-19
Core-3 Stability
2,732d (7.5y)
Last: Safari (2018-04-12)
Baseline Feature
Newly
<input type="file" webkitdirectory>
Browser Support Timeline
Notes (3)
Chr And, WV And: In Chrome for Android 131, choosing a directory crashes the browser (see bug 376834374).Chr And, WV And: Before version 131, users cannot choose a directory, only individual files (see bug 40248532.Saf iOS, WV iOS: Before version 18.4, the attribute can be set but users cannot choose a directory, only individual files (see bug 271705).Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 7 | 2010-10-19 | Supported |
| Firefox | desktop | 50 | 2016-11-15 | Supported |
| Safari | desktop | 11.1 | 2018-04-12 | Supported |
| Edge | desktop | 13 | 2015-11-12 | Supported |
| Chrome Android | mobile | 132 | 2025-01-14 | Supported |
| Firefox for Android | mobile | 141 | 2025-07-22 | Supported |
| Safari on iOS | mobile | 18.4 | 2025-03-31 | Supported |
| WebView Android | mobile | 132 | 2025-01-14 | Supported |
| WebView on iOS | mobile | 18.4 | 2025-03-31 | Supported |
| Samsung Browser | mobile | 29.0 | 2025-10-25 | Supported |
| Opera | desktop | 15 | 2013-07-02 | Supported |
| Opera Android | mobile | 87 | 2025-01-22 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 37 | 2025-02-14 | Supported |
| Internet Explorer | desktop | — | — | — |