How to Make a PLS File for a Stream

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

PLS files are audio metafiles that contain information about a playlist of music files or the URL of a streaming server. These text files can be created in a text editor, like Windows Notepad, then uploaded to a server. If you create a link to the PLS file on your website, then click the link from within a web browser, the browser will launch your default MP3 player and connect it to the streaming audio.


Step 1

Open Notepad. Type "[playlist]" and press "Enter."

Video of the Day

Step 2

Type "Number of entries=1" and press "Enter." Type "File1=" with "x" being the IP address of your server and the port number of the stream. For example, if you are creating a PLS file for a Shoutcast server at, type "File1=" if your Shoutcast server is running on the default port. Press "Enter." Note that all commands should be typed without the quotation marks.


Step 3

Type "Title1=A Name For Your Stream." For example, if your stream is called Smooth Jazz Radio, type "Title1=Smooth Jazz Radio." This title appears in the player while playing the stream. Press "Enter."

Step 4

Type "Length1=-1." The Length function tells the MP3 player how long to play before switching to the next entry. A length of "-1" means that the player should ignore the Length function and play till the stream ends. Press "Enter."



Step 5

Type "Version=2" to designate the file as a Version 2 PLS file. Click "File," then "Save" and save the file with a name of your choosing. If you are streaming at multiple bitrates or in multiple formats, you should name the PLS file based on the format and bitrate. For example, a 64K bitrate MP3 stream might be called "64kMP3.pls."


Step 6

Upload the file to your website and create a link to the file. If your host is, for example, and you upload the file to the root directory of the website, the link would be "http://www.smoothjazzradio/64kMP3.pls."




Report an Issue

screenshot of the current page

Screenshot loading...