A WEBLOC file is a website shortcut generated by web browsers in macOS, such as Apple Safari or Google Chrome. It contains the URL of a webpage and is created by dragging the website URL in the address field of the web browser to the desktop or another folder on the hard drive. WEBLOC files are similar to .URL files created by other programs.
WEBLOC file open in Apple Safari 12
WEBLOC files are generally used by the Safari browser but they may be created and opened by other web browsers such as Chrome, Firefox, and Opera in macOS. In most browsers, you can simply drag and drop the file into an open browser window. You may also double-click the file and the website will open in your default web browser.
WEBLOC files are not supported by the Windows version of Safari, which was discontinued in 2012. However, you can open WEBLOC files in Windows with WeblocOpener. When a WEBLOC file is copied to a Windows computer, it may show two files: [filename].webloc and [filename]._webloc. Both files can be opened in a text editor, which will reveal the URL contained in the file.