Skip to content

TTML Subtitle Viewer

View TTML subtitle files online and inspect timed text, captions, timestamps, and subtitle structure directly in your browser.

Updated

What is the TTML Subtitle Viewer?

How it works

Examples

Basic TTML Subtitle File

<tt xmlns="http://www.w3.org/ns/ttml">
  <body>
    <div>
      <p begin="00:00:01.500" end="00:00:04.000">Hello and welcome to the video stream!</p>
      <p begin="00:00:04.500" end="00:00:07.200">This subtitle track is encoded using TTML XML formatting.</p>
    </div>
  </body>
</tt>
Timecode: 00:00:01.500 --> 00:00:04.000
Text: Hello and welcome to the video stream!

Timecode: 00:00:04.500 --> 00:00:07.200
Text: This subtitle track is encoded using TTML XML formatting.

TTML with Styling and Colors

<tt xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling">
  <body>
    <div>
      <p begin="00:00:10.000" end="00:00:13.500" tts:color="yellow" tts:textAlign="center">[Narrator] Welcome back to the episode.</p>
    </div>
  </body>
</tt>
Timecode: 00:00:10.000 --> 00:00:13.500
Styling: Color #FFFF00 (Yellow), Align Center
Text: [Narrator] Welcome back to the episode.

Frequently asked questions