# Url To Webloc — REST API endpoint `url-to-webloc`

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.

- Category: calculators
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/url-to-webloc/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/url-to-webloc/
- Same tool on the other surface: https://findutils.com/mcp/url-to-webloc/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/url-to-webloc/execute \
  -H "Content-Type: application/json" \
  -d '{
    "files": [
      {
        "name": "Docs.url",
        "content": "[InternetShortcut]\r\nURL=https://example.com/docs\r\n"
      }
    ]
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/url-to-webloc
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `files` | array | yes | 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):

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

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:url_to_webloc`. Full MCP reference: https://findutils.com/mcp/url-to-webloc/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
