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