SRT to TTML Converter: Timed Text XML Captions
Turn SRT or VTT subtitles into W3C TTML timed text
Drop your subtitle file here
SRT, VTT · any size
Drop an SRT or VTT file and download a TTML file: W3C Timed Text Markup Language with one paragraph per caption, millisecond timing, line breaks kept and a bottom caption region. Every language and script works. It runs in your browser and is free with no account.
Why convert to TTML here
TTML preselected
Drop an SRT or VTT file and the TTML download is one click away.
Your file stays with you
The conversion runs in your browser. Nothing is uploaded and there is no account to make.
Line length and reading speed
Set characters per line, lines per caption, the longest caption and the reading speed, or keep your captions as they are.
Eight other formats
The same page writes SRT, VTT, TTML, DFXP, SCC, EBU-STL, Spruce STL, QuickTime text and Facebook-named SRT.
How it works
Drop your subtitle file
SRT or VTT, from any tool or editor.
Check the settings
TTML is preselected. Change the line length or frame rate if your platform asks for it.
Download .ttml
The file is written in your browser in under a second.
TTML in detail
What TTML is
TTML (Timed Text Markup Language) is the W3C XML format for captions and subtitles. Streaming services and broadcasters use it, often through its IMSC profiles, because it describes timing, layout and styling in one file.
The converter writes TTML 1 with media timing in hours, minutes, seconds and milliseconds, a centred bottom region and a default white sans-serif style, so a player that reads TTML shows it without extra styling work.
The TTML file you get
| Property | Value |
|---|---|
| Standard | W3C TTML 1 (namespace http://www.w3.org/ns/ttml) |
| Timing | Media time, HH:MM:SS.mmm |
| Layout | One bottom region, centred |
| Line breaks | Kept with <br/> |
| Languages | Every language and script (UTF-8) |
Line settings
Leave the lines as spoken to keep your captions exactly as they are, or set a line length and the converter splits them again.
| Setting | Choices |
|---|---|
| Characters per line | As spoken, or 20 to 80 |
| Lines per caption | 1 to 4 |
| Longest caption | No limit, or 2 to 10 seconds |
| Reading speed | No limit, or 12 to 25 characters a second; a caption that reads too fast stays up longer when the next one allows it |
No subtitles yet?
Make them from the recording first: the subtitle generator transcribes your audio or video and gives you an SRT, and transcripts in your account export straight to this format too.
Generate subtitles from a videoConvert audio to SRTEdit subtitle timingEvery subtitle format
Frequently asked questions
DFXP was the name of the first TTML profile, and many platforms still ask for a .dfxp file. Both are XML timed text. Pick the extension your platform lists; the converter writes both.
Yes. Each line of an SRT caption becomes a line in the TTML paragraph. You can also set a line length and the converter splits the captions again before writing the file.
No. The conversion runs in your browser and the file never leaves your device.
Related tools
Subtitle Converter
Convert SRT and VTT to VTT, SRT, SCC, TTML, DFXP, EBU-STL and more
Subtitle Generator
Generate accurate subtitles for any video automatically
Subtitle Editor
Fix subtitle timing against your own video, in your browser
Translate Subtitles
Translate SRT and VTT subtitle files to any language
Add Subtitles to Video
Add subtitles to a video automatically, or bring your own, then burn them in