How to open files from Safari without having to save them to Mac
That option is located in the Safari Preferences dialog.

in Safari go to the Safari menu and select Preferences.

If it is not already selected click on the General icon in the top left of the Preferences dialog.

At the very bottom there should be a checkbox (likely unchecked) that says "Open "safe" files after downloading." Check that box and you should be good to go.