Skip to content

Url To Webloc API

POST https://api.findutils.com/api/tools/url-to-webloc/execute

Convert Windows .url Internet Shortcuts into Mac .webloc website location files. Pass each file as { name, content } with its text. The URL= line of the [InternetShortcut] section (case-insensitive, CRLF and byte order mark tolerated) becomes the URL string of an XML property list, which Finder opens; the output keeps the source name with .webloc instead of .url (repeated names get " (2)"). A file without that section or URL line, and any binary .lnk shortcut, is listed in skipped with the reason and the rest still convert. Writes XML plists, not binary ones. The URLs are copied as written and never opened.

Needs an API key. Running a tool needs an API key. Keys are not for sale yet: ask for early access. About API keys

Request body

application/json
  • files

    array required

    The .url files, in order, at most 5000. Each item is { name, content }: the file name (for example "Docs.url") and the file's text.

Example arguments

Verified
{
  "files": [
    {
      "name": "Docs.url",
      "content": "[InternetShortcut]\r\nURL=https://example.com/docs\r\n"
    }
  ]
}