Webloc To Url API
https://api.findutils.com/api/tools/webloc-to-url/execute Convert Mac .webloc website shortcuts into Windows .url Internet Shortcuts. Pass each file as { name, content, encoding }: an XML .webloc as text, or a binary-plist .webloc as base64 with encoding "base64". The URL key of the property list becomes URL= under [InternetShortcut], with CRLF line endings, and the output file keeps the source name with .url instead of .webloc (repeated names get " (2)"). Files that are empty, not a property list, or have no URL key are listed in skipped with the reason, and the rest still convert. Also returns a name,url CSV of the converted set. The URLs are copied as written and never opened; non-web schemes are kept and reported in warnings.
Request body
application/json-
files
array required
The .webloc files, in order, at most 5000. Each item is { name, content, encoding? }: the file name, its text (XML plist) or base64 bytes, and "base64" when content is base64.
-
dedupe
boolean optional
Keep only the first shortcut for each exact URL. Default false. Default
false.
Example arguments
Verified{
"files": [
{
"name": "Docs.webloc",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<plist version=\"1.0\">\n<dict>\n\t<key>URL</key>\n\t<string>https://example.com/docs</string>\n</dict>\n</plist>\n"
}
]
} More Calculators tools
- Bmi Calculate Compute Body Mass Index (BMI) with metric (kg/cm) or imperial (lb/in) units.
- Body Fat Calculator Estimate body fat percentage, fat mass, lean mass, BMI, and a body-composition category.
- Calorie Calculator Work out how many calories to eat per day to lose, maintain, or gain weight.
- Carbon Footprint Calculator Estimate an annual personal carbon footprint in tonnes of CO2 from home energy, transportation, and lifestyle, with a per-category breakdown
- Chmod Calculate Convert between numeric (755) and symbolic (rwxr-xr-x) Unix file permissions.
- Cloudflare Cost Calculate Estimate monthly Cloudflare developer platform costs (Workers, D1, R2, KV, Durable Objects) under free or $5 Workers Paid plans.