Convert M3U Playlists to JSON Format

JSON is the standard format for web developers. Converting your M3U playlist to JSON allows you to easily parse stream metadata into web applications.

Bidirectional M3U and JSON Conversion

M3U Studio supports converting M3U to JSON, and also parsing a JSON array of channel objects back into a standard M3U format.

Metadata Preserved in JSON

The generated JSON includes: name, url, duration, and an attributes object mapping tvg-id, group-title, and tvg-logo properties, providing a structured object tree.

Why JSON is Useful for Custom Players

With JSON, you can quickly build search indexes, group channels dynamically using JavaScript filters, or plug the stream list into custom HTML5 players like Hls.js.

JSON Formatting Standards

The converter outputs standard array schemas where each channel is represented as an object with sanitized keys, ensuring compatibility with general JSON parsers.

The JSON contract used by M3U Studio

Export produces an array. Each object contains name, url, duration, id, and an attributes object. Import also accepts an object with a channels array. Items without a url are skipped, and missing names become Unknown Channel.

The internal id exists for interface rendering and is not a stable media identifier. Use tvg-id when you need an external programme-guide key, and remove internal ids in downstream systems if they have no purpose there.

Frequently Asked Questions

Is there a file size limit for JSON conversion?

We support files up to 50MB directly in the browser.

Is the JSON format compatible with web APIs?

Yes, it produces standard RFC-compliant JSON.

Interactive Tool Workspace