We Value Your Privacy

We and our partners use technology such as cookies on our site to personalise content and ads, provide social media features, and analyse our traffic. Click below to consent to the use of this technology across the web. You can change your mind and change your consent choices at anytime by returning to this site.

Update Consent
Loading ...

How to Convert Text to M3U

Updated July 20, 2017

An M3U is essentially a text file that contains a list of URLs and file paths. It stands for MPEG version 3.0 URL, and it was originally intended for the Winamp Player. Today, many popular media players support it. Among these are iTunes, Windows Media Players, VLC, Real Player and Foobar2000. A typical M3U playlist contains the EXTM3U tag, a list of URLs or paths as well as a few details about each included file. Many converters exist online, but you can easily convert any text file to M3U using a plain text editor such as Notepad.

Loading ...
  1. Start Notepad. Press "CTRL+O," select your text file and then click on "Open."

  2. Type or insert "#EXTM3U" at the beginning of the file (exclude the quotes).

  3. Make sure that each URL or path in your text file is complete and properly formatted. For local files, don't forget to include the drive letter. For online sources, make sure that the URLs start with "http://" or "ftp:." Ensure proper use of slashes, and that there is only one URL or path per line. Note the examples below.

  4. C:\Music\song.mp3 (contains backslashes)

  5. http://www.sample-domain-name.com/song.mp3 (contains forward slashes)

  6. Insert the following code above each URL or path in your text file. Replace "Artist" with the name of the author or artist. Replace "Song" with the title of the file.

  7. EXTINF:0,Artist - Song

  8. Click "File" and then select "Save As." Choose an appropriate location for your file and enter your preferred file name. Don't forget to include the ".m3u" file extension.

  9. Click the drop-down menu beside "Save as file type" and then choose "All Files." Click on "Save."

Loading ...

Things You'll Need

  • Plain text editor (Notepad, Notepad++ or Crimson Editor)

About the Author

Brian Valle is a technical writer based in South Carolina. Freelancing since 2008, he has written for various blogs and small-business websites, sharing his knowledge about Windows, new applications, life-hacks and computer games. Valle is studying information technology at York Tech College.

Loading ...