How make Safari always download CSV files instead of opening them in-page? [duplicate]

When you click on a link containing to a CSV file, Safari renders it by default. Most other browsers will download them in this circumstance and I'd like to make Safari do the same.

What's the setting to make that happen?


Solution 1:

Let Safari open the CSV, then press Command/Control + S to save it.

Solution 2:

I have the same issue and have done some web searching and have not found a good answer. This does work consistently for me in Chrome so when I need to export a CSV, I just do it in Chrome. I have been able to cut/paste the Safari text into TextEdit, switch it to "text only" formatting and then save the file as a CSV, but this is so clicky -- if I'm going to do it more than once or twice, I just switch to Chrome for that browser session.