How to Convert Text to M3U
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.
- An M3U is essentially a text file that contains a list of URLs and file paths.
Start Notepad. Press "CTRL+O," select your text file and then click on "Open."
Type or insert "#EXTM3U" at the beginning of the file (exclude the quotes).
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.
- Type or insert "#EXTM3U" at the beginning of the file (exclude the quotes).
- 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.
C:\Music\song.mp3 (contains backslashes)
http://www.sample-domain-name.com/song.mp3 (contains forward slashes)
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.
EXTINF:0,Artist - Song
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.
Click the drop-down menu beside "Save as file type" and then choose "All Files." Click on "Save."
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.