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