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.
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 .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 Conversion tools
- Merge Vcf Combine several .vcf vCard files into one importable file.
- Percentage Calculator Calculate percentages: X% of Y, percent change, increase, or decrease.
- Roman Numeral Convert between Roman numerals and Arabic integers (1-3999).
- Template To Liquid Convert a Handlebars, Mustache or Knap template into Shopify Liquid.
- Url To Webloc Convert Windows .url Internet Shortcuts into Mac .webloc website location files.