"download" attribute for DataURL of HTML <a> element doesn't work

Confirmed Issue #14603958 • Assigned to Travis L.


Nov 10, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

May be the same as Issue #7160092, marked as fixed but not, just doesn’t crash.


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

    Changed Assigned To to “travil”

    Changed Status to “Confirmed”

  • Hi,

    We were able to repro this issue.  A sort of workaround is to not use embedded/inline data and provide an external file.  Attached is my repro for this issue.  I say this is a “sort of” workaround because the data embedding inline still is not working.

    Thank you for submitting this issue,


  • I have met this problem too. I want to download an image encoded in base64 and the element will have a very long “href” attribute beginning with "data:image/png;base64". When I use the F12 developer tools to edit this element and manually paste the base64 encoded string to href attribute, the string has been truncated to a limited size. I could only assign the base64 string to the href property of the anchor element object via the javascript code. I’m using a segmentation tool to segment some images of a dataset, and the segmentation result image has to be downloaded via a hidden link created by a button. The image will be encoded in base64 as the href attribute of element. However, I have to use Chrome just because Microsoft Edge has compatibility issue with this tool. The Github URL of this tool is : https://github.com/kyamagu/js-segment-annotator

  • @anonymous, thank you for the information.  I will take a look at the GitHub project, however, I believe just testing with a base64 encoded image and the download attribute should be enough to verify the issue.  Let me know if you disagree.


  • Yes, you are right! Hope this issue can be fixed earlier. Thank you very much!

  • Microsoft Edge Team

    Changed Assigned To from “travil” to “Travis L.”

  • I’m waiting for this issue to be fixed for a long time. Until today I’m very very surprised to hear that Microsoft will give up Edge. Do that mean you have been fired or just transfered to other groups and this issue will no longer be fixed?

You need to sign in to your Microsoft account to add a comment.

Sign in