M3U Playlist Converter

Convert a local M3U file to JSON, CSV, XML, or TXT, and import those supported shapes back into the editor.

Why convert M3U to CSV or JSON?

M3U files are the universal standard for media players, but they are difficult to edit or audit manually. Converting your playlist to a CSV allows you to open it in Microsoft Excel, Google Sheets, or LibreOffice to easily inspect links. Developers often prefer JSON or XML to programmatically interface playlist metadata into databases or custom APIs.

Preserving EPG Tag Parameters

JSON and the custom XML output retain the parsed attribute object. CSV uses nine defined columns: name, URL, duration, tvg-id, tvg-name, tvg-logo, group-title, tvg-country, and tvg-language. TXT contains only a name and URL per line, so it is intentionally lossy. Vendor comments and unsupported directives are not preserved by round trips.

Interactive Tool Workspace

Exact output shapes

The JSON export is an array of channel objects with name, url, duration, and attributes. The XML export is M3U Studio's own <playlist>/<channel> structure; it is not XMLTV programme-guide data. CSV quotes fields containing commas, quotation marks, or line breaks. The on-page preview shows only the first 30 entries, while the downloaded export uses the full loaded playlist.

Round-trip checklist

Keep a source copy, export to the working format, make a small controlled edit, import it, and inspect names, URLs, groups, and tvg-id values before producing the final M3U. Spreadsheet software can reinterpret long identifiers, dates, or leading zeroes, so import sensitive columns as text.

See the concrete CSV, JSON, and XML guides for examples.