TTML to SRT converter
Convert TTML, DFXP or timed-text .xml captions — the kind used by streaming services and broadcasters — into a clean SubRip .srt any player can read.
100% private. Your files are processed locally in your browser and never uploaded to a server.
Drop your .ttml file
or click to browse · converts to .srt instantly
Where TTML and DFXP files come from
TTML (Timed Text Markup Language) is the XML caption format used in professional workflows: Netflix deliveries, broadcast archives, and the caption downloads from various streaming and TV catch-up services. DFXP is its older name — same format — and both often arrive with a plain .xml extension. Almost no consumer player reads them directly.
What the converter reads
Every <p> element with begin and end (or dur) attributes becomes an SRT cue. Clock times, offset times like 4s or 1500ms, and frame-based times (using the file's declared frame rate) are all understood. Layout regions, styling attributes and <span> wrappers are stripped down to their text — the tool notes when that happens.
After the conversion
You get a sequentially numbered SRT with millisecond timing that works in VLC, Plex, TVs and every editor. If the captions came from a different cut of the programme and sit slightly off, correct them with the sync tool or align them to a working track with auto-sync.
How to convert TTML to SRT
- Drag your
.ttmlfile into the box above, or click to browse. - The file is converted to SubRip (.srt) instantly, in your browser.
- Check the preview and any warnings, then click Download.
Is my file uploaded anywhere?
No. The conversion runs entirely in your browser using JavaScript. Your subtitle file is never sent to a server, there is no sign-up, and there is no limit on how many files you convert.
Other subtitle conversions
Frequently asked questions
How do I convert TTML or DFXP to SRT?
Drop the .ttml, .dfxp or .xml file into the converter above. Each timed paragraph becomes an SRT cue with exact timing, and you download the .srt instantly. Everything runs in your browser.
My caption file is .xml — is that TTML?
Very often, yes. TTML and DFXP are XML formats and frequently saved with a plain .xml extension. Drop the file in; the converter detects timed-text XML by its content, not its extension.
Are styles and positions from the TTML kept?
No — SRT cannot represent them, so styling, layout regions and span wrappers are reduced to plain text. Cue text and timing are preserved exactly, and the tool tells you when styling was dropped.
Is the TTML to SRT converter free, and are my files uploaded?
It is completely free with no sign-up and no file limit. The conversion runs in JavaScript in your browser, so your subtitle file never leaves your device and nothing is stored on a server.