This is where FileViewPro becomes indispensable. It tackles the dilemma of opening WEBLOC files outside the Mac environment.
Typically, a WEBLOC file, which holds a plain text URL, can be opened without difficulty on a Mac by simply clicking it. https://www.fileviewpro.com/en/file-extension-webloc/