---
title: "What are HLS tags?"
url: https://ireplay.tv/video-streaming-definitions/what-are-hls-tags-http-live-streaming-tag/
markdown_url: https://ireplay.tv/video-streaming-definitions/what-are-hls-tags-http-live-streaming-tag.md
description: "HLS tags are the directives inside an .m3u8 playlist: EXTM3U, EXT-X-VERSION, EXT-X-TARGETDURATION, EXT-X-MEDIA-SEQUENCE, EXT-X-STREAM-INF for variant details, EXT-X-ENDLIST and others, each carrying metadata the player needs."
type: glossary-definition
site: iReplay.tv
author: "Sylvain Corvaisier"
date_published: 2025-01-13T07:04:01+01:00
date_modified: 2025-01-13T07:04:01+01:00
language: en
keywords:
  - "HLS tag manifest variant playlist multivariant master playlists"
---

# What are HLS tags?

HTTP Live Streaming (HLS) tags are part of the protocol developed by Apple for use in their streaming services. They appear in HLS playlist files (also known as manifest files) to specify streaming metadata for a particular stream. These files have an .m3u8 extension and contain a sequence of tags and URIs. The tags provide important instructions or metadata for the stream. Here are some examples: #EXTM3U: This is the file header and should be the first line of every .m3u8 file. #EXT-X-VERSION: This specifies the compatibility version of the playlist file. #EXT-X-TARGETDURATION: This specifies the maximum duration of any media segment in the playlist. #EXT-X-MEDIA-SEQUENCE: This specifies the sequence number of the first segment in the playlist. #EXT-X-STREAM-INF: This is used in master playlists to give details about a variant stream, including bandwidth, resolution, and codecs. #EXT-X-ENDLIST: This indicates that no more media segments will be added to the playlist. And many others. The exact usage and requirement of these tags can be found in the [HLS specification documentation](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis). Please note that the implementation of new tags and deprecation of old ones may occur over time as the protocol evolves.

---

Source: [What are HLS tags?](https://ireplay.tv/video-streaming-definitions/what-are-hls-tags-http-live-streaming-tag/) on iReplay.tv. Free to quote and cite with attribution and a link to the source URL.
Full index of iReplay.tv content in Markdown: https://ireplay.tv/blog/llms.txt
