How to Download M3U8 Video as MP4 (4 Easy Ways)
What Is an M3U8 File?
M3U8 is a playlist file format. It is a plain text file, which means you can open it in Notepad and read it. Inside, you will see a list of web addresses. Each address points to a short part of the video, usually a few seconds long.
When you press play on a website, your browser reads this list. It then downloads the first part, plays it, downloads the second part, plays it, and so on. You never notice because it happens very fast.
That is why saving only the .m3u8 link does not give you a video. You only save the list, not the pieces. A proper downloader must visit every address on the list, collect all the pieces, and combine them in the right order.
What Is HLS and Why Do Websites Use It?
M3U8 files are part of a system called HLS, which stands for HTTP Live Streaming. Apple created it, and today almost every big video platform uses it. Here is why websites like it:
- It adapts to your internet speed. If your connection gets slow, the player switches to a lower quality so the video does not stop. When your speed improves, it switches back up.
- It works on all devices. Phones, tablets, computers and smart TVs can all play HLS.
- It supports live streaming. The site can keep adding new pieces to the list while an event is happening.
- It is easy to protect. Sites can lock their links, make them expire, or encrypt the pieces.
Because of these benefits, you will find M3U8 links on news sites, online courses, sports pages, training portals and many other places. Knowing how to handle them is a very useful skill.
Master Playlist vs Media Playlist
There are two types of M3U8 files, and the difference matters when you download.
A master playlist does not list video pieces. It lists other playlists, one for each quality, such as 360p, 720p and 1080p. Sometimes it also lists separate playlists for audio and subtitles.
A media playlist lists the actual video pieces for one quality.
If you copy a media playlist that contains only video, your final file may have no sound. So when you can, copy the master playlist. A good downloader will then let you choose the quality, and it will include the audio too.
How to Find the M3U8 Link on a Website
Most people do not see the M3U8 link on the page. It is hidden in the background. You can find it with your browser in a few steps:
- Open the web page and start playing the video.
- Press F12 on your keyboard. On a Mac, press Cmd + Option + I. This opens Developer Tools.
- Click the Network tab.
- In the filter box, type m3u8. If the list is empty, reload the page and play the video again.
- Right-click the request you see, choose Copy, then Copy link address.
Helpful tips:
- If you see more than one link, the shortest or the first one is often the master playlist.
- If the link has a long code after a question mark, it is a signed link. It will stop working after some time, so use it quickly.
- If you see a file ending in .mpd instead, the site uses DASH, which is a similar system. We explain this in the FAQ below.
Method 1: Use an Online Video Downloader (Easiest)
This is the best option if you do not want to install anything. It works in any browser, on a computer or on a phone.
Steps:
- Copy the M3U8 link using the steps above.
- Open our online video downloader.
- Paste the link into the box.
- Click the download button and wait while the tool prepares your file.
- Choose your quality and save the MP4 to your device.
Good for: short, public videos, quick downloads, and people who do not like technical tools.
Not so good for: private videos, very long videos, and links that are locked, signed or expired. Because the link is sent to a server, any link that only works inside your own browser may fail. If an online tool does not work, move on to Method 2, 3 or 4.
Need a tool for one platform? Try our YouTube video downloader, TikTok video downloader, Twitter (X) video downloader, Vimeo video downloader or Reddit video downloader. They are made for those sites, so you do not need an M3U8 link.
Method 2: Use VLC Media Player
VLC is a free and popular media player for Windows, Mac and Linux. Many people already have it installed, and it can convert streams to MP4.
Steps:
- Open VLC.
- Click Media, then Open Network Stream. On a Mac, click File, then Open Network.
- Paste your M3U8 link and click the arrow next to the Play button.
- Choose Convert.
- Under Profile, pick Video - H.264 + MP3 (MP4).
- Click Browse, choose where to save the file, and type a name that ends in .mp4.
- Click Start. The conversion runs while the stream plays, so wait until it finishes.
Good for: beginners who want a simple app with buttons.
Not so good for: protected links. VLC fails more often than the command-line tools when a link is signed or locked to a website. Also, the default profile re-encodes the video, which takes longer and can lower quality a little.
Method 3: Use ffmpeg (Fast, No Quality Loss)
ffmpeg is a free command-line tool that many experts use. It looks hard at first, but you only need one line.
Steps:
- Download and install ffmpeg from its official website. On a Mac, you can use the command brew install ffmpeg.
- Open Command Prompt (Windows) or Terminal (Mac and Linux).
- Type this command, and replace the link with your own:
ffmpeg -i "YOUR_M3U8_LINK" -c copy video.mp4
- Press Enter. When it finishes, you will find video.mp4 in the same folder.
The part that says -c copy is important. It tells ffmpeg to join the pieces without re-encoding. That makes the process very fast and keeps the original quality.
If you get a 403 error, the website may want to see where the request comes from. Try this version:
ffmpeg -headers "Referer: https://example.com/" -user_agent "Mozilla/5.0" -i "YOUR_M3U8_LINK" -c copy video.mp4
Replace example.com with the website where the video plays.
Good for: speed, full quality, and long videos.
Not so good for: people who do not like typing commands.
Method 4: Use yt-dlp
yt-dlp is another free command-line tool. It is powerful because it can pick the best quality for you, retry parts that fail, and work with hundreds of websites. It needs ffmpeg installed to join the files.
Steps:
- Install yt-dlp and ffmpeg.
- Open Command Prompt or Terminal.
- Run this command:
yt-dlp "YOUR_M3U8_LINK" -o video.mp4
If the site needs a referer, add --referer "https://example.com/" to the command.
You can also give yt-dlp the page address instead of the M3U8 link. For many sites, it will find the stream by itself.
Good for: the best quality, difficult streams, and downloading many videos.
Not so good for: complete beginners.
Which Method Should You Choose?
|
Method |
Install needed? |
Speed |
Best for |
|
Online downloader |
No |
Medium |
Quick, short, public videos |
|
VLC |
Yes |
Slow |
Beginners who like a simple app |
|
ffmpeg |
Yes |
Very fast |
Full quality and long videos |
|
yt-dlp |
Yes |
Fast |
Hard streams and many sites |
A simple rule: start with the online tool because it is the easiest. If it fails, try ffmpeg or yt-dlp. They handle most difficult cases.
Tips to Get the Best Quality
- Pick the master playlist. It gives you all quality options and the audio track.
- Use stream copy. In ffmpeg, -c copy avoids quality loss.
- Do not re-encode without a reason. Every re-encode can make the picture a little worse.
- Check your free space. HD videos can be large, and a one-hour video may need several gigabytes.
- Use a stable connection. If your internet drops in the middle, the download may stop and leave a broken file.
- Test the file. Play the first and last minutes in VLC to make sure the video and sound are complete.
Want a smaller file? If your MP4 is too big for email or WhatsApp, read our guide on how to compress a video without losing quality.
Common Problems and How to Fix Them
1. I got a 403 Forbidden error. This means the server refused your request. The link may have expired, or the site may check where the request comes from. Copy a fresh link and try again quickly. With ffmpeg or yt-dlp, add the Referer header as shown above.
2. My video has no sound. You probably copied a video-only playlist. Go back and copy the master playlist so the tool can get both video and audio.
3. I downloaded a small text file. That file is the playlist itself. It starts with the words #EXTM3U. Use one of the four methods above to convert it into a real video.
4. The M3U8 file will not play on my computer. The playlist has links that point to the website's server. When you open a saved copy from your disk, the player cannot find the pieces. Download the full video instead.
5. The video is a live stream. A live stream has no end, so there is nothing complete to download. You can record it from now on with ffmpeg and stop it after some time, or wait until the site posts a replay.
6. The download stops in the middle. This usually happens when the link expires or your connection drops. Try again with a fresh link. yt-dlp is good at retrying failed parts.
7. The site uses DRM. Services such as Netflix, Prime Video and Disney+ protect their videos with DRM. These tools cannot save them, and you should not try to bypass DRM. Plain encryption used by some normal sites is different, but protected streaming services are off limits.
Is It Legal to Download M3U8 Videos?
The tools in this guide are legal to use, but what you download matters. Only save videos that:
- belong to you,
- have a Creative Commons or similar open licence, or
- the owner has given you permission to save.
Most websites allow viewing only through their own player. Saving someone else's copyrighted video without permission can break copyright law and the site's terms of service. Some countries have strict rules, and some sites may suspend your account. Always read the terms of the site first. We are not lawyers, and this is not legal advice.
Also, remember that the best way to get a video you own is to download the original file from your hosting dashboard. It is almost always better than a rebuilt copy.
Related Guides on Our Site
- How to Download Vimeo Videos in MP4
- How to Download Facebook Videos on Android and iPhone
- How to Download TED Talks Videos in HD or as MP3
- How to Compress a Video Without Losing Quality
- YouTube Video Downloader
- All video downloading guides
Frequently Asked Questions
How do I open an M3U8 file?
Use VLC and choose Media, then Open Network
Stream. Safari and QuickTime on Mac can also play HLS directly. Chrome, Edge
and Firefox usually cannot play M3U8 files by themselves.
What is the difference between M3U8
and MP4?
M3U8 is a playlist that points to many small
video pieces. MP4 is one complete video file that you can save, share and play
anywhere.
Can I download an M3U8 video on my
phone?
Yes. An online downloader works in a mobile browser, which makes it the easiest
choice on a phone. For long or protected videos, it is better to use a
computer.
Can I convert M3U8 to MP4 without
losing quality?
Yes. With ffmpeg and the -c
copy option, the pieces are joined
without re-encoding, so the quality stays the same.
What if I see an .mpd file instead
of .m3u8?
That is a DASH stream. It works in a similar
way, and ffmpeg and yt-dlp can usually save it as MP4 too.
Why does my M3U8 link stop working
after some time?
Many sites add a secret code to the link so it
expires after a short time. This is a way to stop people from sharing links.
Copy a new link when this happens.
Is an online M3U8 downloader safe?
It can be, but be careful. Use a trusted site,
avoid tools that ask you to install strange software, and never enter personal
passwords.
Final Words
An M3U8 link may look confusing, but now you know the secret. It is only a playlist, and a good tool can turn it into a normal MP4 file. For most people, an online downloader is the fastest way to start. If you want full control and the best quality, ffmpeg and yt-dlp are excellent choices. VLC is a nice middle option when you want an app with simple buttons.
Remember to download only videos you have the right to save. Ready to try it? Copy your M3U8 link and use our online video downloader to save it in a few clicks.
Try it now — paste a link and download.
Open downloader