How to Edit an M3U Playlist in Your Browser (No Install)

How to Edit an M3U Playlist in Your Browser (No Install)

You can edit an M3U playlist in your browser by opening it in a browser-based playlist editor, reordering or removing tracks, fixing broken file paths, and exporting a clean file. No software to install, and if the tool is local-first, nothing leaves your machine.

Here's how to do it, plus what's actually going on inside the file so the edits make sense.

What an M3U file actually is

An M3U file is just a plain text file. Open one in any text editor and you'll see a list, one entry per line, where each line points to a track. The pointer is either a file path on your disk or, less commonly for local libraries, a URL.

A basic M3U looks like this:

Music/Artist/Album/01 Track.flac
Music/Artist/Album/02 Track.flac
Music/Artist/Album/03 Track.flac

Some playlists add an #EXTM3U header and #EXTINF lines that carry track duration and title, but the core of the file is the list of paths. That simplicity is why M3U is everywhere, and it's also why it breaks: move or rename the files and the paths no longer match, so your player can't find the tracks.

M3U8 is the same format saved as UTF-8, which matters if your track names use accents or non-Latin characters. Everything below applies to both.

Option one: edit it by hand in a text editor

Because it's plain text, you can edit an M3U in Notepad, TextEdit, or VS Code. Open the file, change the lines, save it.

This works, but it's slow and easy to get wrong. You're typing file paths by hand, with no way to check whether a path is correct until you load the playlist into a player and find a track missing. Reordering means cutting and pasting whole lines. Fixing a folder that moved means find-and-replace across dozens or hundreds of paths, and one wrong slash breaks the entry silently. For a handful of changes it's fine. For anything larger it's a chore.

Option two: edit it in your browser

A browser-based playlist editor removes the manual part. You load your music library and the playlist, then work visually: see the tracks, drag to reorder, remove what you don't want, add tracks by browsing your library rather than typing paths. When you're done, you export a fresh M3U file.

The advantages over a text editor are straightforward. You see real track names instead of raw paths, so you know what you're editing. Reordering is drag and drop. Adding tracks pulls from your actual library, so the paths are correct by construction. And because it runs in the browser, there's nothing to install and no app to keep updated.

The steps are roughly the same whichever tool you use:

  1. Open the editor in your browser.
  2. Point it at your music folder so it can read your library.
  3. Open or build your playlist.
  4. Reorder, add, or remove tracks.
  5. Export the playlist as an M3U file and save it where your player or server expects it.

The edits people actually make

Most M3U editing comes down to four jobs:

Reordering tracks. In a text editor this is cut and paste. In a browser editor it's drag and drop.

Adding or removing tracks. Removing is deleting a line. Adding by hand means writing a correct path, which is where mistakes creep in. Browsing your library and picking the track avoids that.

Fixing broken paths. This is the most common reason a playlist stops working. The files moved, or the playlist was made on a different machine, so the paths point nowhere. The durable fix is relative paths.

Switching between relative and absolute paths. An absolute path like /home/you/Music/track.flac only works on the machine that wrote it. A relative path like Music/track.flac works anywhere the playlist sits in the same place relative to the music. If you move playlists between devices, or feed them to a self-hosted server, relative paths save you a lot of grief.

Where Emthree fits

Emthree is a browser-based M3U editor built for exactly this. It runs entirely in the browser, with no install and no account needed to start. You scan your music folder, build or edit playlists by browsing and dragging, and export a full-length M3U with no track cap. It writes relative paths, which is what keeps a playlist working after you move it or hand it to a streamer like Jellyfin, Navidrome, or Plex.

It's local-first, so for anonymous use your library and playlists stay in your own browser and nothing is uploaded. You can save up to three playlists locally for free. If you want them synced across devices and backed up, plus unlimited saved playlists and auto-updating smart playlists, that's the Pro tier at £15 a year.

It's built for the desktop, where your music library and your streamer usually live, so that's where it works best.

In short

An M3U file is a plain-text list of track paths, which is why it's both easy to edit and easy to break. You can edit one by hand in any text editor, but a browser-based editor makes the common jobs, reordering, adding, removing, and fixing paths, far quicker, and exports a clean file with paths that actually work. If you self-host your music, getting those paths right is usually the whole game.