Зачем конвертировать WEBLOC в TXT?
Windows and Linux have no native handler for .webloc files; reading the raw text is the practical way to extract the URL for pasting into documents or sharing cross-platform as a .txt file.
Способы конвертации WEBLOC в TXT
Rename to .txt FREE
Locate the .webloc file in File Explorer or Finder, rename the extension to .txt, then open in any text editor and read the URL from the <string> tag.
Notepad / Notepad++ FREE
Right-click the .webloc and choose Open with Notepad or Notepad++; the XML content appears immediately and the URL is visible between the <string> tags.
TextEdit FREE
Right-click the .webloc, choose Open With > TextEdit, then go to Format > Make Plain Text; the stored URL is visible between the <string> tags.
Об этих форматах
Файл .webloc - это интернет-ярлык macOS, в котором хранится один адрес веб-сайта. На Mac дважды щелкните по нему, и URL откроется в браузере по умолчанию. В Windows нет встроенного…
Открыть детали .WEBLOC →Файл TXT - это простой неформатированный текст, самый элементарный формат документов на любом компьютере. Дважды щелкните по нему: Windows откроет его в Notepad, macOS - в TextEdit, Linux -…
Открыть детали .TXT →Качество и на что обратить внимание
- A
.weblocholds only a URL - not the web page itself; the.txtoutput contains the link address, not any page content. - Binary plist
.weblocfiles (created by dragging links in Chrome or Firefox) start withbplist00; a text editor shows garbled content for these - on a Mac, runplutil -convert xml1 file.weblocfirst. - Very old
.weblocfiles stored the URL in the HFS+ resource fork; when copied to Windows or Linux, the resource fork is stripped and the file may appear as 0 bytes with no recoverable URL.
Часто задаваемые вопросы
Can I just rename `.webloc` to `.txt`?
.webloc files - the content is already readable text, so renaming works fine.Is any data lost?
.webloc is the URL, and that URL is preserved as-is in the .txt file.What if the file opens as garbled characters?
plutil -convert xml1 file.webloc to convert it to readable XML first.