SonaFactEvidence from audio
SonaFactEvidence from audio

Convert SRT to TTML (DFXP)

Some video platforms, streaming services and broadcasters want subtitles as TTML — an XML format also known by its older name, DFXP. Paste SRT or VTT subtitles, enter the language code and download the XML file.

Runs entirely in your browser. Your subtitles are never uploaded.

For example en, de or pt-BR. You can leave it empty.
File extension

How to convert SRT to TTML

  1. Paste the SRT or VTT subtitles or choose the file.
  2. Enter the language of the subtitles, for example en or pt-BR, and choose the file extension.
  3. Click “Convert to TTML” and download the file.

Questions

Are TTML and DFXP the same?
DFXP was the name of TTML in its early drafts, and many platforms still use both names for the same XML subtitle format. If a platform asks for .dfxp, choose that extension.
Why does the file need a language?
TTML records the language of the text in the xml:lang attribute, and some platforms check it. You can leave the field empty if you don't want to state it.
Is the formatting kept?
Italic, bold and underline become TTML styles, and line breaks are kept. Font colours and positions from the source file are left out.
Are my files uploaded anywhere?
Runs entirely in your browser. Your subtitles are never uploaded.

Related tools

All free tools →

More from the blog