Convert SRT to TTML/DFXP
Convert SRT subtitles to TTML timed text for broadcast and OTT delivery. Valid XML, clock timing, line breaks preserved. Runs entirely in your browser.
Broadcasters, OTT platforms and caption QC systems generally want TTML rather than SRT, and an ingest that rejects your file rarely explains why. This converter writes a minimal, valid TTML document: the standard namespace, clock-form timecodes, one paragraph per cue and hard line breaks preserved as br elements. It deliberately invents nothing else — no regions, no styles, no profile-specific attributes that a particular platform might reject.
Worth knowing
- Timecodes are written in clock form (00:00:01.000), which every TTML profile accepts, rather than as offsets or frame counts that depend on a declared framerate.
- A line break inside a cue becomes a br element, because a literal newline inside a TTML paragraph is collapsed to a space by conforming renderers.
- Ampersands and angle brackets in your dialogue are escaped, so a line like "Tom & Jerry <fast>" produces valid XML rather than a parser error at ingest.
- No region or style elements are written. Some platforms require their own; adding invented ones would be more likely to fail validation than to help.
FAQ
Is DFXP the same thing as TTML?
Effectively yes. DFXP (Distribution Format Exchange Profile) was the working name for what became TTML 1.0, and many systems still call the file and its extension DFXP. A file produced here can be renamed .dfxp and delivered as such.
Will a broadcaster accept this file as-is?
Often, but house specifications vary: some require a specific profile attribute, a frame rate declaration, or particular region definitions. Use this as a valid starting point and check it against the spec you were given, rather than assuming any TTML file is interchangeable.