html.elements.input.webkitdirectory

Spec

MDN URL

Status

On the standards track: No

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 7 on 2010-10-19

In Chrome Android version 132 on 2025-01-14 Note: In Chrome for Android 131, choosing a directory crashes the browser (see bug 376834374). Before version 131, users cannot choose a directory, only individual files (see bug 40248532.

In Edge version 13 on 2015-11-12

In Firefox version 50 on 2016-11-15

In Firefox for Android version 141 on 2025-07-22

Not in Internet Explorer

Not in Quest Browser

In Opera version 15 on 2013-07-02

In Opera Android version 87 on 2025-01-22

In Safari version 11.1 on 2018-04-12

In Safari on iOS version 18.4 on 2025-03-31 Note: Before version 18.4, the attribute can be set but users cannot choose a directory, only individual files (see bug 271705).

In Samsung Internet version 29.0 on undefined

In WebView Android version 132 on 2025-01-14 Note: In Chrome for Android 131, choosing a directory crashes the browser (see bug 376834374). Before version 131, users cannot choose a directory, only individual files (see bug 40248532.

In WebView on iOS version 18.4 on 2025-03-31 Note: Before version 18.4, the attribute can be set but users cannot choose a directory, only individual files (see bug 271705).