WEBLOC TXT
File conversion

Convert WEBLOC to TXT

QUICK ANSWER
Is it possible to convert WEBLOC to TXT?
Yes - WEBLOC converts to TXT.

Rename the .webloc to .txt and open it, or simply open it in Notepad, TextEdit, or any editor; the URL appears between <string> tags in the XML. No dedicated converter is needed.

Also to TXT: RTF · KKSRC · HVE

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert WEBLOC to 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.

How to convert WEBLOC to 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.

About these formats

Quality & what to watch

  • A .webloc holds only a URL - not the web page itself; the .txt output contains the link address, not any page content.
  • Binary plist .webloc files (created by dragging links in Chrome or Firefox) start with bplist00; a text editor shows garbled content for these - on a Mac, run plutil -convert xml1 file.webloc first.
  • Very old .webloc files 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.

Frequently asked questions

Can I just rename `.webloc` to `.txt`?
Yes for modern XML-plist .webloc files - the content is already readable text, so renaming works fine.
Is any data lost?
No - the only data in a .webloc is the URL, and that URL is preserved as-is in the .txt file.
What if the file opens as garbled characters?
The file is a binary plist; on a Mac, run plutil -convert xml1 file.webloc to convert it to readable XML first.