Creating m3u playlist radio stations files is one of the easiest ways to let listeners tune in to your stream from almost any media player. Whether you run a small online station, manage a community radio or build a radio directory, an M3U file gives people a single link that just works. In this guide, you will learn what an M3U playlist is, how to create one, how to test it and how to share it safely.
What Is an M3U Playlist?
An M3U file is a plain text file that contains a list of media locations. For radio, those locations are stream URLs instead of music files stored on a computer.
When a listener opens the file in a player such as VLC, the player reads the list and connects to the live stream. Nothing is downloaded except the tiny text file itself.
Why radio stations use M3U files
- Easy listening: one click opens the stream in a familiar player.
- Multiple streams: you can list backup links or different quality options.
- Wide support: many desktop players, mobile apps and smart devices understand M3U.
- Simple to edit: any text editor can change it in seconds.
How to Create M3U Playlist Radio Stations Files
You do not need special software. A basic text editor such as Notepad on Windows or TextEdit (in plain text mode) on Mac is enough. Follow these steps:
- Find your stream URL. This comes from your streaming server or control panel. It often looks like http://yourserver:8000/stream or an HTTPS address.
- Open a new plain text file.
- Add the header. Type #EXTM3U on the very first line.
- Add station info. On the next line, write #EXTINF:-1,My Station Name. The -1 tells players the length is unlimited, which suits live radio.
- Paste the stream URL on the line below.
- Save the file as mystation.m3u. Make sure it does not end in .txt.
A simple example
Your finished file might contain these lines:
#EXTM3U #EXTINF:-1,Sunrise FM - Main Stream https://stream.example.com/sunrise #EXTINF:-1,Sunrise FM - Backup https://backup.example.com/sunrise
Adding a backup entry is a smart habit. If the first stream is down, some players will try the next line.
M3U or M3U8?
M3U8 is the same idea but saved with UTF-8 encoding. If your station name uses accents or non-English characters, saving as M3U8 helps those names display correctly. The .m3u8 extension is also used by HLS streams, so check which format your server provides.
How to Test Your Radio Playlist
Never share a playlist before testing it. A broken link frustrates listeners and they may not come back.
Quick testing checklist
- Open it in VLC or another desktop player and confirm the audio starts.
- Test on a phone, both on Wi-Fi and mobile data.
- Check the station name appears correctly in the player.
- Try the backup URL on its own to make sure it also works.
- Test from another network, because some firewalls block unusual ports.
Common problems and fixes
No sound at all: paste the stream URL directly into your browser or player. If it fails there, the problem is the stream, not the playlist.
Works on desktop, not in a browser: many websites run on HTTPS, and browsers may block plain HTTP streams on secure pages. Ask your streaming provider for an HTTPS stream link.
File opens as text: the file was probably saved as .txt, or your server is sending the wrong file type. Rename it and check your hosting settings.
How to Share Your M3U Playlist
Once your playlist works, it is time to get it in front of listeners. The most reliable approach is to upload the file to your own website so it lives at a stable address, such as yourdomain.com/listen.m3u.
A link under your own name looks more trustworthy and is easier to remember. If you do not have one yet, you can search and register a domain name for your station.
Good places to share it
- A "Listen Now" button on your website
- Your social media profiles and posts
- Email newsletters to regular listeners
- Online radio directories that accept M3U or direct stream links
Tip: keep the file name the same when you update your stream URL. That way, every link you already shared keeps working.
Hosting Your Stream and Playlist
The playlist file is tiny, but the stream behind it needs a reliable home. Many station owners use a dedicated radio streaming plan for the audio and standard web hosting for the website and playlist file.
Anow Hosting offers SonicPanel radio hosting plans (Radio Lite, Radio Pro and Radio Max) alongside regular shared hosting plans. You can compare them on our hosting plans page and pick what fits your station's size.
Going Beyond a Playlist: Radio Apps and Directories
M3U files are great, but some listeners prefer a dedicated app or website. If you want to grow, consider giving them more ways to tune in.
- Single station apps: the Single Radio app with PHP admin panel provides Android, iOS and web radio for one station.
- Radio directories: if you want to list many m3u playlist radio stations in one place, the WorldRadios directory scripts let you launch your own live radio website.
Browse all of these options on our products page.
Final Tips for M3U Playlist Radio Stations
Keep things simple and reliable. Here is a short recap:
- Always start the file with #EXTM3U.
- Use clear station names in the #EXTINF line.
- Add a backup stream when you can.
- Prefer HTTPS stream links for website players.
- Test on several devices before sharing.
- Host the file on your own domain with a fixed file name.
With these steps, your m3u playlist radio stations setup will be easy for listeners to use and easy for you to maintain.
Ready to give your station a reliable home? Explore our radio and web hosting plans and start streaming to listeners everywhere today.
Frequently asked questions
What is an M3U playlist for radio?
It is a plain text file that lists one or more stream URLs. Media players read the file and connect to the radio stream instead of downloading a song.
How do I create an M3U file?
Open a plain text editor, add #EXTM3U on the first line, add an #EXTINF line with the station name, then paste the stream URL. Save the file with the .m3u extension.
Why does my M3U radio playlist not play?
The usual reasons are a broken or offline stream URL, a typo, an HTTP stream blocked on an HTTPS page, or a file saved as .txt instead of .m3u.
What is the difference between M3U and M3U8?
Both are playlist formats. M3U8 uses UTF-8 encoding, which handles special characters in station names better, and the extension is also used for HLS streams.
Where should I host my M3U playlist?
You can upload it to your own website hosting so it has a stable, shareable link under your own domain.


