{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/download",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "download",
    "name": "download",
    "description": "The download attribute for <a> elements loads the target URL as a file to be saved, instead of navigating to it. An optional attribute value sets a default file name.",
    "group": "other",
    "groupName": "other",
    "spec": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-download",
    "baseline": "high",
    "baselineLowDate": "2019-09-19",
    "baselineLowDay": 18158,
    "baselineHighDate": "2022-03-19",
    "compatCount": 6,
    "cats": [
      "api",
      "html"
    ],
    "compatKeysSample": [
      "api.HTMLAnchorElement.download",
      "api.HTMLAreaElement.download",
      "api.SVGAElement.download",
      "html.elements.a.download",
      "html.elements.area.download",
      "svg.elements.a.download"
    ],
    "s": {
      "chrome": {
        "v": "14",
        "d": 15233
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "edge": {
        "v": "18",
        "d": 17806
      },
      "firefox": {
        "v": "20",
        "d": 15797
      },
      "firefox_android": {
        "v": "20",
        "d": 15797
      },
      "safari": {
        "v": "10.1",
        "d": 17252
      },
      "safari_ios": {
        "v": "13",
        "d": 18158
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "api.HTMLAnchorElement.download",
      "cat": "api",
      "mdn": "API/HTMLAnchorElement/download",
      "spec": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#dom-a-download",
      "st": 1,
      "wf": "download",
      "bl": "high",
      "bld": 18158,
      "s": {
        "chrome": {
          "v": "15",
          "d": 15272
        },
        "firefox": {
          "v": "20",
          "d": 15797
        },
        "safari": {
          "v": "10.1",
          "d": 17252
        },
        "edge": {
          "v": "13",
          "d": 16751
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "20",
          "d": 15797
        },
        "safari_ios": {
          "v": "10.3",
          "d": 17252
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "10.3",
          "d": 17252
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      }
    },
    {
      "id": "api.HTMLAreaElement.download",
      "cat": "api",
      "mdn": "API/HTMLAreaElement/download",
      "spec": "https://html.spec.whatwg.org/multipage/image-maps.html#dom-area-download",
      "st": 1,
      "wf": "download",
      "bl": "high",
      "bld": 18158,
      "s": {
        "chrome": {
          "v": "54",
          "d": 17086
        },
        "firefox": {
          "v": "20",
          "d": 15797
        },
        "safari": {
          "v": "10.1",
          "d": 17252
        },
        "edge": {
          "v": "13",
          "d": 16751
        },
        "chrome_android": {
          "v": "54",
          "d": 17093
        },
        "firefox_android": {
          "v": "20",
          "d": 15797
        },
        "safari_ios": {
          "v": "10.3",
          "d": 17252
        },
        "webview_android": {
          "v": "54",
          "d": 17093
        },
        "webview_ios": {
          "v": "10.3",
          "d": 17252
        },
        "samsunginternet_android": {
          "v": "6.0",
          "d": 17401
        },
        "opera": {
          "v": "41",
          "d": 17099
        },
        "opera_android": {
          "v": "41",
          "d": 17099
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      }
    },
    {
      "id": "api.SVGAElement.download",
      "cat": "api",
      "mdn": "API/SVGAElement/download",
      "spec": "https://w3c.github.io/svgwg/svg2-draft/linking.html#InterfaceSVGAElement",
      "st": 1,
      "wf": "download",
      "bl": "high",
      "bld": 18158,
      "s": {
        "chrome": {
          "v": "142",
          "d": 20389
        },
        "firefox": {
          "v": "20",
          "d": 15797
        },
        "edge": {
          "v": "142",
          "d": 20392
        },
        "chrome_android": {
          "v": "142",
          "d": 20389
        },
        "firefox_android": {
          "v": "20",
          "d": 15797
        },
        "webview_android": {
          "v": "142",
          "d": 20389
        },
        "samsunginternet_android": {
          "v": "30.0",
          "d": 20584
        },
        "opera": {
          "v": "126",
          "d": 20461
        },
        "opera_android": {
          "v": "93",
          "d": 20417
        },
        "oculus": {
          "v": "42.0",
          "d": 20479
        }
      }
    },
    {
      "id": "html.elements.a.download",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-download",
      "st": 1,
      "wf": "download",
      "bl": "high",
      "bld": 18158,
      "s": {
        "chrome": {
          "v": "14",
          "d": 15233
        },
        "firefox": {
          "v": "20",
          "d": 15797
        },
        "safari": {
          "v": "10.1",
          "d": 17252
        },
        "edge": {
          "v": "18",
          "d": 17806
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "20",
          "d": 15797
        },
        "safari_ios": {
          "v": "13",
          "d": 18158
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "13",
          "d": 18158
        },
        "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": "Starting in Chrome 65, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
          "b": [
            "chrome"
          ]
        },
        {
          "t": "Starting in Edge 79, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
          "b": [
            "edge"
          ]
        },
        {
          "t": "Until Edge 14 (build 14357), attempting to download data URIs caused Edge to crash (<a href=\"https://developer.microsoft.com/microsoft-edge/platform/issues/7160092/\">bug 7160092</a>).",
          "b": [
            "edge"
          ]
        },
        {
          "t": "Edge 17 or older didn't follow the attributes' value to determine filename (<a href=\"https://developer.microsoft.com/microsoft-edge/platform/issues/7260192/\">bug 7260192</a>).",
          "b": [
            "edge"
          ]
        },
        {
          "t": "Starting in Chrome Android 65, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
          "b": [
            "chrome_android"
          ]
        },
        {
          "t": "The attribute's filename value only affects the suggested file name for the <code>blob:</code> and <code>data:</code> URI schemes. Other schemes ignore the suggested filename. See <a href=\"https://bugzil.la/1845642\">bug 1845642</a>.",
          "b": [
            "firefox_android"
          ]
        },
        {
          "t": "Starting in WebView Android 65, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
          "b": [
            "webview_android"
          ]
        },
        {
          "t": "Starting in Samsung Browser 9.0, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
          "b": [
            "samsunginternet_android"
          ]
        },
        {
          "t": "Starting in Opera 52, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
          "b": [
            "opera"
          ]
        },
        {
          "t": "Starting in Opera Android 47, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
          "b": [
            "opera_android"
          ]
        },
        {
          "t": "Starting in Quest Browser 5.0, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
          "b": [
            "oculus"
          ]
        }
      ]
    },
    {
      "id": "html.elements.area.download",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-download",
      "st": 1,
      "wf": "download",
      "bl": "high",
      "bld": 18158,
      "s": {
        "chrome": {
          "v": "54",
          "d": 17086
        },
        "firefox": {
          "v": "20",
          "d": 15797
        },
        "safari": {
          "v": "10.1",
          "d": 17252
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "54",
          "d": 17093
        },
        "firefox_android": {
          "v": "20",
          "d": 15797
        },
        "safari_ios": {
          "v": "10.3",
          "d": 17252
        },
        "webview_android": {
          "v": "54",
          "d": 17093
        },
        "webview_ios": {
          "v": "10.3",
          "d": 17252
        },
        "samsunginternet_android": {
          "v": "6.0",
          "d": 17401
        },
        "opera": {
          "v": "41",
          "d": 17099
        },
        "opera_android": {
          "v": "41",
          "d": 17099
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "11",
          "d": 15995,
          "le": 1
        }
      }
    }
  ]
}