Sign up free

DFXP to SRT Converter

Turn DFXP or TTML captions into a simple SRT that ordinary players and editors understand, a whole season at a time.

More tools

or drop files here

Accepts DFXP, TTML

Encrypted upload. Files are deleted automatically after 1 hour.

About DFXP to SRT

DFXP to SRT is for the XML caption files used by streaming services, broadcasters and professional captioning tools. They're precise but verbose, and most players, editors and upload forms don't read them. Upload one .dfxp or .ttml file or a whole season's worth, and download plain, numbered SRTs, one per file and all of them in one ZIP. With two languages of the same video converted, Merge Subtitles can combine them into one bilingual subtitle.

All the common ways TTML writes time are understood: clock times, SMPTE frames with the file's frame rate, and tick counts with its tick rate, plus begin offsets set on the body or a div. Line breaks come across, and italic text, set directly or through a style, stays italic. Colours, regions and positions have no SRT equivalent and are left out. Captions made for the hearing impaired become plain subtitles with Remove sound descriptions and speaker labels ([Music], (laughs), ♪, JOHN:), and More options can fix lines that overlap or keep one language of a bilingual file.

How to use DFXP to SRT

  1. 1
    Upload the DFXP files

    Choose or drop .dfxp or .ttml caption files. Up to 20 go in one task, 50 with VIP.

  2. 2
    Click DFXP to SRT

    The XML is parsed and each timed paragraph becomes an SRT cue on our server.

  3. 3
    Download the SRT

    Use each file in your player, editor or upload form, or take the set as one ZIP.

Why use Cubfile for this

  • Every TTML time format

    Clock times, frames, ticks and offsets on parent elements are all converted to milliseconds.

  • Italics and line breaks kept

    Italic spans and italic styles turn into <i> tags, and <br/> inside a caption becomes a real line break.

  • SDH to plain subtitles

    Sound descriptions, music notes and speaker labels can be removed for viewers who just want the dialogue.

  • A season at once, parsed safely

    Every episode converts in one task, and each file is read with external entities and network access disabled.

FAQ

DFXP to SRT: questions and answers

What's the difference between DFXP and TTML?
DFXP is the older name of TTML, the W3C's XML timed-text format. Files with either extension are read the same way here.
How do I turn SDH captions into plain subtitles?
Tick Remove sound descriptions and speaker labels ([Music], (laughs), ♪, JOHN:) before converting. Sound descriptions in brackets, music notes and speaker labels are taken out of every caption, so what's left is the dialogue, and the setting applies to every file in the task.
How do I convert DFXP to SRT for Premiere Pro?
Upload the .dfxp, press DFXP to SRT and import the .srt into Premiere Pro as a caption file. If the captions don't line up with your edit, shift the subtitle timing before importing.
Is DFXP to SRT free?
Yes. Visitors have 2 tasks and free accounts 2 per day, each with up to 20 files of 50 MB, while VIP has no task cap and takes 50 files a task.
Are my caption files safe?
Yes. They're encrypted on upload, processed in an isolated process and deleted automatically one hour later.
Share DFXP to SRT with a friendIt runs in any browser, and they can try it without signing up.

Related tools

SRTTXT SRT to TextTurn subtitles into a readable transcript, with or without timecodes.
ASSSRT ASS to SRTConvert ASS/SSA subtitles to SRT, styling tags cleaned.
LRCSRT LRC to SRTTurn LRC lyrics into SRT subtitles, and back.
SRT Merge SubtitlesCombine two subtitle files into one bilingual subtitle.
SBVSRT SBV to SRTConvert YouTube SBV captions to SRT.
SRT Subtitle EditorWatch your video and type, time and fix subtitles line by line.
SRT Shift SubtitlesMove subtitles earlier or later, or fix drift between two points.
UTFSRT Fix Garbled SubtitlesDetect the encoding of garbled subtitles and save them as UTF-8.