Why convert WEBLOC to URL?
Windows has no built-in handler for .webloc files; converting to .url makes Mac internet shortcuts work as double-clickable bookmarks on Windows without any special software.
How to convert WEBLOC to URL
Notepad / Notepad++ FREE
Open the .webloc in Notepad or Notepad++, copy the URL from between the <string> tags, then save a new file with two lines - [InternetShortcut] and URL=<address> - using a .url extension.
PowerShell FREE
Use a PowerShell script to read each .webloc as XML, extract the URL, and write matching .url files; efficient for converting an entire folder at once.
About these formats
A .webloc file is a macOS internet shortcut that stores one website address. On a Mac, double-click it and the URL opens in your default browser. On Windows there is no built-in handler,…
Open .WEBLOC details →A .url file is a Windows Internet Shortcut - a tiny text file that stores a web address and opens it in your default browser when double-clicked. It contains no page content, only the link.…
Open .URL details →Quality & what to watch
- No data is lost - both formats store exactly one URL.
- Some
.weblocfiles created by dragging links in Chrome or Firefox are binary plists (starting withbplist00), not readable XML; a text editor shows garbled content for these. - Very old
.weblocfiles stored the URL in the HFS+ resource fork, which is stripped when copied off a Mac; if the file is 0 bytes, the URL cannot be recovered.
Frequently asked questions
Can I just rename `.webloc` to `.url`?
Does the converted `.url` work on Windows?
.url file opens the link in the default Windows browser.What if my `.webloc` shows garbled characters in Notepad?
plutil -convert xml1 file.webloc to convert it to readable XML first.