SubToolbox

TTML to SRT Converter — DFXP Made Universal

Convert TTML/DFXP XML subtitles to SRT — clock, frames and offset times supported, in-browser and free.

Quick answer: Drop a .ttml or .dfxp file and download an .srt. Each <p> element becomes a numbered cue with the same begin/end times — clock, frame-based (frameRate) and offset (“1.5s”, “100ms”, “12t”) time expressions all read correctly.

Drop a subtitle file here, or browse — it stays on your device

Output: SRT (.srt)

Core facts
InputTTML / DFXP (.ttml, .dfxp, .xml)
OutputSRT with sequential numbering
Time formsHH:MM:SS.mmm · HH:MM:SS:ff frames · 12s / 100ms / 45t ticks
Flattened<span> markup; <br/> becomes a line break
Used byBroadcast delivery, Netflix profiles, Adobe Premiere export

What this tool does

TTML (Timed Text Markup Language) — of which DFXP is the distribution profile — is the XML format the broadcast and streaming industry exchanges subtitles in: Adobe Premiere exports it, Netflix specifications build on TTML profiles, and several OTT platforms accept nothing else. Its cues are <p begin="..." end="..."> elements inside <body>/<div>, its times may be clock values, frame counts or plain durations, and its text may be wrapped in <span>s. Converting to SRT flattens all of that into the plain numbered form every other tool accepts — text kept, line breaks from <br/> preserved, timings decoded and written unchanged.

Common uses

  • A Premiere/Adobe DFXP export must open in a tool that only reads SRT
  • Broadcast orOTT deliverables need a plain-text working copy
  • A web app receives TTML captions but renders SRT

Frequently Asked Questions

What is the difference between TTML and DFXP?
DFXP (Distribution Format Exchange Profile) is a TTML profile defined for carrying timed text between systems; the files are the same XML language with different constraint sets. One converter handles both, plus IMSC-style documents in practice.
My TTML uses begin + dur instead of end. Is that supported?
Yes — when a cue has no end attribute, its dur (duration) is added to begin to compute the end time, exactly as the specification says.
Are region and style attributes converted?
No positioning or styling survives the trip to SRT — it is a plain-text format. Text content and timings are what convert.

More subtitle converters