Convert TTML to SRT

TTML — shipped variously as .ttml, .dfxp and plain .xml — is what broadcasters and streaming platforms hand out, and almost nothing outside that world will play it. This pulls the cues out of the XML, reads both time styles the spec allows, flattens the inline spans, and hands back a SubRip file. It runs in your browser, so the captions are never uploaded.

Runs entirely in your browser — your file is never uploaded.

Nothing loaded yet.

Need subtitles generated from the video itself? Upload it and get a transcript in ~98 languages.

Try it free

Why ScribeToAny

  • Upload MP3, MP4, M4A, MOV, AAC, WAV, OGG, OPUS, MPEG, WMA, WMV — audio is extracted from video automatically.
  • About 98 languages with automatic detection, powered by a Whisper-class engine on dedicated GPUs.
  • Eight export formats: TXT, SRT, VTT, TSV, CSV, JSON, PDF and DOCX — plus batch ZIP export.
  • Speaker recognition labels every segment. Click any sentence to replay the matching audio.

Frequently asked questions

My file is .dfxp or .xml — is that the same thing?

Yes. DFXP was the old name for the same W3C specification, and plenty of tools simply write it out with an .xml extension. All three are accepted here, and the format is detected from the contents rather than the extension.

What gets dropped in the conversion?

Regions, styling and positioning — everything TTML expresses through its head section and style attributes, none of which SubRip has a field for. The cue text and its start and end times are what survive, which is all a player needs.

My cues use frame-based times and came out missing.

That is deliberate. Frame and tick offsets only mean something alongside the frame rate declared in the document, which this converter does not read, so those cues are skipped rather than given a plausible but wrong timeline. Re-export with clock times and they will come through.

Why can't I just use the TTML file directly?

TTML is what broadcasters and streaming platforms produce, and almost nothing outside that pipeline plays it — desktop players, editors and upload forms expect SRT. The captions inside are complete; it is the XML format that is the barrier. Converting pulls the cues out of the XML and hands back a SubRip file the rest of your tools actually accept.

What happens to the regions and styling in the TTML?

They are flattened away. TTML can describe colours, positions and styled spans; SubRip holds only plain timed lines, so the converter keeps each cue text and timing and drops the presentation. For most uses — getting readable, editable, widely-playable subtitles out of a broadcast file — that is exactly the trade you want.

Related tools

Start transcribing free

Free plan: 2 files per day, 100 minutes per month. No credit card required.

Start transcribing free