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.
How to convert SRT to TTML
- Paste the SRT or VTT subtitles or choose the file.
- Enter the language of the subtitles, for example en or pt-BR, and choose the file extension.
- 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
- SRT to CSV (subtitles to a spreadsheet)Convert SRT or VTT subtitles into a CSV table with number, start, end and text columns — ready for Excel or Google Sheets. Free, in your browser.
- Transcript to SRT/VTTPaste a transcript with timestamps and get SRT or WebVTT subtitles. Works with lines like “00:01:23 Anna: text”. Free, nothing is uploaded.
- Subtitle time shiftSubtitles out of sync? Move every SRT or VTT cue earlier or later by the same amount. Free, in your browser, no sign-up.
- Subtitle frame rate converterSubtitles drift further out of sync as the video goes on? Recalculate SRT or VTT times for another frame rate: 23.976, 24, 25, 29.97, 30 fps and more. Free, nothing is uploaded.