This is where FileViewPro becomes crucial. It solves 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/