Convert SRT to TTML or DFXP

Turn a SubRip .srt file into a TTML timed-text document — saved as .ttml, or as .dfxp for pipelines that ask for that name. Drop it below and it converts instantly in your browser.

Drop your .srt file here
or click to choose a file · or paste the text below

SRT and TTML, briefly

SubRip (.srt) is the most widely shared subtitle format, but many broadcast and streaming systems expect timed text as XML instead. TTML (Timed Text Markup Language) is that XML standard, with each caption written as a <p> element carrying begin and end attributes.

This converter takes each SRT cue and writes it into a clean TTML document, keeping the timing and line breaks. The result is valid timed text you can feed to a player or pipeline that needs TTML rather than SRT.

You may also be asked for a DFXP file. DFXP (Distribution Format Exchange Profile) is a profile of TTML — the same XML under an older name, still requested by some captioning and delivery systems, including Flash-era and older streaming specs. The document this tool writes is identical either way; choose .dfxp under “Save as” when a system wants that extension.

FAQ

Is DFXP different from TTML?

Only in name and extension for most purposes. DFXP (Distribution Format Exchange Profile) is a profile of TTML, so the XML this tool writes is valid for both. If a pipeline specifically asks for a .dfxp file, pick .dfxp under “Save as” and you get the same document with the expected extension.

Why would I need TTML instead of SRT?

Broadcast and streaming workflows often standardise on TTML or one of its profiles (SMPTE-TT, EBU-TT, IMSC) rather than SubRip. If a system rejects your .srt, a TTML version is usually what it wants.

What does the output look like?

A standard TTML document: a <tt> root, a <body> and <div>, and one <p> per cue with begin and end times and the text, using <br/> for line breaks.

Is my file uploaded anywhere?

No. Everything runs in your browser and your file never leaves your device.

Can I batch convert multiple files at once?

Yes. Drop several .srt files together and they'll each be converted and returned in a single ZIP, all in your browser. It's the same conversion as single files, just in bulk.

You might also need