How to convert webloc to url?

Hi there. I just tried to use the following solution to convert .webloc to .url

How to Convert webloc to url - Apple Community


But sadly, the file is not usable. When trying to open the .url format the errormessage occurs, that the file is not readable or in wrong format.


Can you help me out here? I am using Mac OS Sonoma (14.0). Before, I used the tool "webloc Finagler", but since Sonoma update, this tool doesn't work anymore.


Thank you for your help!

MacBook Pro (2017 – 2020)

Posted on Oct 25, 2023 7:46 AM

Reply
5 replies

Oct 25, 2023 9:26 AM in response to thowi84

Windows 11 no longer lists .url files as valid file types. Something to consider if that was your target operating system, since Windows Internet Location files are unsupported on macOS.


The .webloc files only contain a URL string. You need a means to extract that string and append it to the Internet Location File format (further discussed here) and optionally assign the .webloc name string to the Comment field:


Here is a Quick Action Shortcut where you right-click on a .webloc, choose Quick Actions > Webloc to URL and a Microsoft Internet Location File is written to the Desktop as foo.url. The line-endings in this file are CRLF which is what Windows expects.


cat -v foo.url


Shows the CRLF line-endings as ^M.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to convert webloc to url?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.