CodeMash

JSON to M3U Playlist Converter Online — Free

Convert JSON data to M3U/M3U8 playlist format. Supports music playlists and IPTV streams with extended attributes.

Ad Space

Frequently Asked Questions

What is an M3U/M3U8 file?

M3U (Moving Picture Experts Group Audio Layer 3 URL) is a playlist file format that stores a list of media file locations. M3U8 is the UTF-8 encoded version. Both are widely used by music players (VLC, Winamp) and IPTV applications.

What JSON fields are supported?

The converter supports: "url" (required), "title"/"name" (display name), "duration" (in seconds, use -1 for streams), "group" (maps to group-title for IPTV), "logo" (tvg-logo), "tvgId" (tvg-id), "tvgName" (tvg-name), and "artist" (adds EXTVLCOPT metadata for music).

How do I use the generated M3U file?

Copy the output and save it as a .m3u or .m3u8 file. Open it in VLC, Kodi, MPV, or any IPTV player. For IPTV, use it as a playlist URL in your IPTV application.

What duration value should I use for live streams?

For live streams and radio stations, set "duration" to -1. This tells media players that the stream has no fixed end time. For music files, provide the actual duration in seconds.

Can I use this for IPTV playlists?

Yes! Add "group", "logo", "tvgId", and "tvgName" fields to your JSON objects to generate IPTV-compatible M3U playlists with all extended attributes that IPTV players like TiviMate, IPTV Smarters, and Kodi recognize.

Privacy First: All processing happens directly in your browser. Your data never leaves your device.