TTML to SRT Converter
Convert TTML/DFXP timed text into a clean SRT file in your browser, with every timing decision shown before download.
TTML/DFXP .ttml/.dfxp/.xml file or pasted TTML, up to 2 MB, browser-local. Files may be UTF-8, UTF-16 LE/BE, EUC-KR, Shift_JIS, GB18030, or Windows-1252.
Only timed text survives: styling, regions, and animation are not recreated. A missing end time falls back to the next timed element, and the last one gets a disclosed 2-second duration.
Add your source
TTML/DFXP .ttml/.dfxp/.xml file or pasted TTML, up to 2 MB, browser-local. Files may be UTF-8, UTF-16 LE/BE, EUC-KR, Shift_JIS, GB18030, or Windows-1252.
Conversion result
Only timed text survives: styling, regions, and animation are not recreated. A missing end time falls back to the next timed element, and the last one gets a disclosed 2-second duration.
Your current result and download will appear here.
Related free subtitle tools
How it works
- 1Add a TTML file, paste TTML, or load the example.
- 2Review the detected subtitle count and time range.
- 3Convert, read the notices beside the action, then download or copy the SRT.
Example result
The example holds two subtitles, one with an explicit end and one using dur, so you can see both timing paths.
The example above uses this exact fixture and can be reset like any selected file.
What is preserved
- Subtitle order and visible wording
- Line breaks written as <br>
- Start times exactly as the TTML file records them
What changes
- end wins when present; otherwise begin + dur; otherwise the next element's begin, and the last element gets a disclosed 2-second duration.
- Elements out of time order are sorted by start time before fallbacks, and overlaps are clamped to the next start.
- Inline styling tags are removed and XML entities are decoded to plain text.
Limits
- Styling, regions, and animation are not recreated
- Overlapping elements are clamped to the next start; non-positive durations are dropped with a notice
- No audio sync, timing repair, translation, upload, or login
Frequently asked questions
What happens when a subtitle has no end?
TTML often leaves the duration to the container. The converter takes the next timed element's begin as the end, and the last element gets a disclosed two-second duration. Every fallback is listed in the result.
Are styles, fonts, or positions kept?
No. SRT carries plain timed text, so TTML styling and regions are not recreated.
Are my files uploaded?
No. Reading, conversion, preview, copy, and download all happen in your browser.
Script + voiceover in. Timed subtitle files out.
Create precisely timed subtitles from Script + AudioTry TimedSubs with 15 free minutes. No credit card.