This is where FileViewPro becomes indispensable.
It tackles the dilemma 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/