Convert TXT to M3U

Making new M3U playlists and available conversion tools.

How to convert txt to m3u file

M3U files are playlists, i.e., plain text files that list media files, often with either relative or absolute paths to the files. To create a new M3U playlist file, you have to just rename the extension from txt to m3u, but this will only work if the file's structure is in proper syntax.

In case your text file contains entries in proper format, a simple change of the suffix will be sufficient. Otherwise, you will have to format the contents appropriately.

Making new M3U playlist files

Here's how you can make new playlists from text files on various platforms:

Windows PC

  1. Manually editing and renaming:

    • Open the TXT file in a text editor like Notepad, NotePad++ or similar.
    • Ensure the file content is in the correct M3U format (file paths or URLs, one per line).
    • Click FileSave As, and change the extension from .txt to .m3u.
  2. Using Software:

    • Playlist Creator: This software can create M3U playlists. Load your media files, and it will generate an M3U file.

Mac

  1. TextEdit:
    • Similar to Windows, use TextEdit to modify the TXT file.
    • Save with the .m3u extension by selecting Format ► Make Plain Text and then saving with the .m3u extension.

iOS

  1. Files App:
    • Use the Files app to rename the file from .txt to .m3u.
    • Manual editing can be done in any text editor app.
  2. Install additional app:
    • Find appropriate app in iOS store and use it to make new playlist.

Android

  1. File Manager Apps:
    • Most file manager apps on Android allow you to rename files.
    • Edit the TXT file in a text editor app, then rename it to .m3u.
  2. Install additional app:
    • Find an appropriate app in the Google store and use it to make a new playlist.

Linux

  1. Terminal:

    • Use a command like mv filename.txt filename.m3u to rename the file.
    • Edit the file with text editors like Nano or Vim to ensure correct formatting.
  2. Graphical File Managers:

    • Right-click on the file and choose 'Rename' to change the extension to .m3u.

General Tips

  • Ensure each line in the M3U file points to a valid media file.
  • If using file paths, they must be correct relative to the M3U file’s location or absolute paths.
  • For online streaming, URLs should be listed one per line.
NotePad++ icon

NotePad++

A free source code and text editor for Windows

Playlist Creator

Tool from Music Gateway for making playlists

TextEdit icon

TextEdit

The default text editor in Mac OS X

Additional formats for
txt file conversion