A .webloc file is a proprietary file format used primarily by Apple's macOS operating system to store a shortcut or link to a specific Uniform Resource Locator (URL). These files are created when a user drags a URL from a web browser's address bar onto the desktop or into a folder. The internal structure of a .webloc file is typically a small XML Property List (plist) that contains the key information, specifically the target URL. When a user double-clicks a .webloc file, the macOS Finder automatically reads the stored URL and instructs the default web browser (such as Safari, Chrome, or Firefox) to open that address. This format is highly convenient for saving persistent links to frequently visited websites. While its native handling is strongest on macOS, the underlying XML structure means that the URL can be extracted and used on other operating systems, although Windows and Linux typically rely on their own shortcut formats (.url and .desktop, respectively).