TTML
Also known as: .ttml file, Timed Text Markup Language, DFXP, timed text
TTML (Timed Text Markup Language) is an XML-based format for captions and subtitles, used in broadcast and streaming. It pairs timed text with styling and layout, and underlies profiles like SMPTE-TT and the IMSC captions used by streaming services.
- XML-based caption and subtitle format
- Used in broadcast and streaming (DFXP, SMPTE-TT, IMSC)
- More capable but more verbose than SRT/VTT
What TTML is for
TTML is a W3C standard that stores captions as XML: each subtitle is an element with timing, text, and optional styling and positioning. It is designed for professional broadcast and streaming workflows rather than casual file sharing.
You will see it behind the scenes in streaming captions and broadcast subtitling, sometimes under names like DFXP, SMPTE-TT, or IMSC, which are TTML profiles tuned for specific industries.
TTML vs SRT and VTT
Compared with SRT or WebVTT, TTML is more verbose and more capable: it carries layout and styling that simpler formats lack, at the cost of being harder to read and edit by hand.
It is a small plain-text (XML) file, so storage is never a concern. For everyday video and web captions, VTT is more common; TTML shows up mainly in professional and broadcast pipelines.