TTML
Timed Text Markup Language
An XML-based subtitle format used by streaming services and broadcast workflows. Powerful styling and positioning, but verbose.
In depth
TTML (Timed Text Markup Language) is a W3C XML standard for timed text. Each cue is a <p> element with begin and end attributes inside a <body><div> structure. TTML supports inline styling, positioning, regions, and timing expressions far beyond SRT or VTT. The IMSC profile (TTML 1.1 / IMSC 1.2) is the format Netflix, Hulu, Disney+, and most modern streamers ingest internally; .dfxp and .xml files are usually TTML.
When to use it
Use TTML when delivering subtitles to a streaming platform, OTT service, or broadcast workflow that requires it. Don't pick it for personal projects — SRT or VTT covers the same job in 1/10 the file size.
Example
<tt xmlns="http://www.w3.org/ns/ttml">
<body>
<div>
<p begin="00:00:01.000" end="00:00:03.500">Hello world.</p>
</div>
</body>
</tt>Frequently asked
What's the difference between TTML, IMSC, and DFXP?+
TTML is the W3C standard. IMSC is a constrained profile of TTML built for the broadcast / streaming use case. DFXP (Distribution Format Exchange Profile) is an older Netflix-era profile of TTML; .dfxp files are TTML XML.
Can a video editor open TTML directly?+
DaVinci Resolve, Premiere Pro, and Final Cut Pro all import TTML/IMSC. CapCut and most consumer tools don't — convert to SRT first.
Does TTML support karaoke timing?+
Yes — TTML defines <span> with timing attributes, which is how IMSC encodes word-level highlights. SRT and VTT can't do this natively at the file-format level.
An older subtitle profile of TTML used by Netflix and Adobe Flash. Internally just TTML XML with a .dfxp extension.
A VTT file (.vtt, WebVTT) is a plain-text caption file for web video. It starts with the line WEBVTT, followed by cues with HH:MM:SS.mmm timestamps (a dot, not a comma) and the caption text. Browsers use it for HTML5 <video> captions, and Zoom and Teams use it for meeting transcripts.
An SRT file (.srt) is a plain-text subtitle file: numbered cues, each with a start and end time in HH:MM:SS,mmm format and the caption text, separated by blank lines. It is the most widely supported subtitle format, read by YouTube, VLC, Premiere, CapCut and almost every other player and editor.