Free tool

TTML / DFXP to SRT Converter

Upload .ttml, .dfxp or TTML-based .xml subtitles and download SRT. Free, no signup, entirely in your browser.

Source subtitle

TTML

Text and timing are kept; fonts, colours and positioning are not preserved. Unsupported timing is reported instead of silently retimed.

SRT output

Your converted subtitles will appear here

100% in your browser — your files never leave your device.

How to convert TTML to SRT

  1. Step 1

    Add your subtitles

    Paste your TTML content into the box, or upload the .ttml file.

  2. Step 2

    Convert to SRT

    Click Convert to SRT — every timestamp is preserved exactly, only the format changes.

  3. Step 3

    Copy or download

    Copy the result or download your .srt file. Done.

Example: TTML / DFXP → SRT

Here's the same cues before and after conversion, so you know exactly what you'll get.

Input — TTML / DFXP (.ttml)
<tt xmlns="http://www.w3.org/ns/ttml"><body><div>
  <p begin="00:00:01.000" end="00:00:03.500">Hello — welcome to the show.</p>
  <p begin="00:00:04.000" end="00:00:06.200">Today we have a special guest.</p>
</div></body></tt>
Output — SRT (.srt)
1
00:00:01,000 --> 00:00:03,500
Hello — welcome to the show.

2
00:00:04,000 --> 00:00:06,200
Today we have a special guest.

The formats explained

What is TTML / DFXP? (Timed Text Markup Language)

XML-based captions with timing, styles and positioning. Converting to SRT retains text and timing but removes advanced presentation styling.

What is SRT? (SubRip)

The most widely supported subtitle format. Plain text with numbered cues and HH:MM:SS,mmm timecodes — it works in almost every video player, editor, and uploads straight to YouTube.

Why convert TTML to SRT?

  • Turn XML-based TTML captions into SRT for video editors and players.
  • Text, start/end times and explicit line breaks are kept. Fonts, colours, regions and screen positioning are not preserved.

FAQ

Which files can I convert?

Text-based TTML and DFXP files, including .xml files containing TTML.

Which time formats are supported?

Clock time, offsets, frames, ticks, begin/end/dur and relative timing in parallel containers. Times are rounded to SRT millisecond precision.

What about complex subtitles?

Timed words/spans, sequential containers, clock/SMPTE time bases and image captions are not supported yet. Unsupported input produces an error rather than a partial file.

Are my files uploaded?

No. Conversion runs in your browser, free and without signup.

Need to translate your subtitles too?

Converting is free here. When you need to translate subtitles into another language with the timeline kept perfectly aligned, that's what SubtitleFlow does.

Translate SRT files free

Related tools

TTML to SRT Converter - Free TTML / DFXP Conversion | SubtitleFlow