{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/input-file-webkitdirectory",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "input-file-webkitdirectory",
    "name": "<input type=\"file\" webkitdirectory>",
    "description": "The <input type=\"file\" webkitdirectory> HTML element shows a file picker from which users can choose a folder to upload with the form.",
    "group": "forms",
    "groupName": "Forms",
    "spec": "https://wicg.github.io/entries-api/#html-forms",
    "baseline": "low",
    "baselineLowDate": "2025-08-19",
    "baselineLowDay": 20319,
    "compatCount": 3,
    "cats": [
      "api",
      "html"
    ],
    "compatKeysSample": [
      "api.File.webkitRelativePath",
      "api.HTMLInputElement.webkitdirectory",
      "html.elements.input.webkitdirectory"
    ],
    "s": {
      "chrome": {
        "v": "13",
        "d": 15188
      },
      "chrome_android": {
        "v": "132",
        "d": 20102
      },
      "edge": {
        "v": "13",
        "d": 16751
      },
      "firefox": {
        "v": "50",
        "d": 17120
      },
      "firefox_android": {
        "v": "142",
        "d": 20319
      },
      "safari": {
        "v": "11.1",
        "d": 17633
      },
      "safari_ios": {
        "v": "18.4",
        "d": 20178
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "api.File.webkitRelativePath",
      "cat": "api",
      "mdn": "API/File/webkitRelativePath",
      "spec": "https://wicg.github.io/entries-api/#dom-file-webkitrelativepath",
      "st": 1,
      "wf": "input-file-webkitdirectory",
      "bl": "low",
      "bld": 20319,
      "s": {
        "chrome": {
          "v": "13",
          "d": 15188
        },
        "firefox": {
          "v": "50",
          "d": 17120
        },
        "safari": {
          "v": "11.1",
          "d": 17633
        },
        "edge": {
          "v": "13",
          "d": 16751
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "142",
          "d": 20319
        },
        "safari_ios": {
          "v": "11.3",
          "d": 17619
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "11.3",
          "d": 17619
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      },
      "notes": [
        {
          "t": "Always an empty string (<a href=\"https://bugzil.la/1973726\">bug 1973726</a>).",
          "b": [
            "firefox_android"
          ]
        }
      ]
    },
    {
      "id": "api.HTMLInputElement.webkitdirectory",
      "cat": "api",
      "mdn": "API/HTMLInputElement/webkitdirectory",
      "spec": "https://wicg.github.io/entries-api/#dom-htmlinputelement-webkitdirectory",
      "st": 1,
      "wf": "input-file-webkitdirectory",
      "bl": "low",
      "bld": 20319,
      "s": {
        "chrome": {
          "v": "7",
          "d": 14901
        },
        "firefox": {
          "v": "50",
          "d": 17120
        },
        "safari": {
          "v": "11.1",
          "d": 17633
        },
        "edge": {
          "v": "13",
          "d": 16751
        },
        "chrome_android": {
          "v": "132",
          "d": 20102
        },
        "firefox_android": {
          "v": "142",
          "d": 20319
        },
        "safari_ios": {
          "v": "18.4",
          "d": 20178
        },
        "webview_android": {
          "v": "132",
          "d": 20102
        },
        "webview_ios": {
          "v": "18.4",
          "d": 20178
        },
        "samsunginternet_android": {
          "v": "29.0",
          "d": 20386
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "87",
          "d": 20110
        },
        "oculus": {
          "v": "37",
          "d": 20133
        }
      },
      "notes": [
        {
          "t": "In Chrome for Android 131, if a user selects a directory, the browser crashes (see <a href=\"https://crbug.com/376834374\">bug 376834374</a>).",
          "b": [
            "chrome_android",
            "webview_android"
          ]
        },
        {
          "t": "The property reflects the attribute, but users cannot choose a directory, only individual files (see <a href=\"https://crbug.com/40248532\">bug 40248532</a>.",
          "b": [
            "chrome_android",
            "webview_android",
            "samsunginternet_android",
            "opera_android",
            "oculus"
          ]
        },
        {
          "t": "<code>File</code> entries returned for a selected directory have an empty string for <code>webkitRelativePath</code> (<a href=\"https://bugzil.la/1973726\">bug 1973726</a>).",
          "b": [
            "firefox_android"
          ]
        },
        {
          "t": "The property can be set, but has no effect (see <a href=\"https://webkit.org/b/271705\">bug 271705</a>).",
          "b": [
            "safari_ios",
            "webview_ios"
          ]
        }
      ]
    },
    {
      "id": "html.elements.input.webkitdirectory",
      "cat": "html",
      "spec": "https://wicg.github.io/entries-api/#dom-htmlinputelement-webkitdirectory",
      "st": 1,
      "wf": "input-file-webkitdirectory",
      "bl": "low",
      "bld": 20319,
      "s": {
        "chrome": {
          "v": "7",
          "d": 14901
        },
        "firefox": {
          "v": "50",
          "d": 17120
        },
        "safari": {
          "v": "11.1",
          "d": 17633
        },
        "edge": {
          "v": "13",
          "d": 16751
        },
        "chrome_android": {
          "v": "132",
          "d": 20102
        },
        "firefox_android": {
          "v": "141",
          "d": 20291
        },
        "safari_ios": {
          "v": "18.4",
          "d": 20178
        },
        "webview_android": {
          "v": "132",
          "d": 20102
        },
        "webview_ios": {
          "v": "18.4",
          "d": 20178
        },
        "samsunginternet_android": {
          "v": "29.0",
          "d": 20386
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "87",
          "d": 20110
        },
        "oculus": {
          "v": "37",
          "d": 20133
        }
      },
      "notes": [
        {
          "t": "In Chrome for Android 131, choosing a directory crashes the browser (see <a href=\"https://crbug.com/376834374\">bug 376834374</a>).",
          "b": [
            "chrome_android",
            "webview_android"
          ]
        },
        {
          "t": "Before version 131, users cannot choose a directory, only individual files (see <a href=\"https://crbug.com/40248532\">bug 40248532</a>.",
          "b": [
            "chrome_android",
            "webview_android"
          ]
        },
        {
          "t": "Before version 18.4, the attribute can be set but users cannot choose a directory, only individual files (see <a href=\"https://webkit.org/b/271705\">bug 271705</a>).",
          "b": [
            "safari_ios",
            "webview_ios"
          ]
        }
      ]
    }
  ]
}