All Tools View Categories About Contact Privacy

SRT to TTML Converter

Convert SubRip (SRT) subtitles to TTML (Timed Text Markup Language) — the XML format used by streaming platforms and broadcast workflows. Period-based timecodes, XML-escaped text and <br/> line breaks.

Runs entirely in your browser — no data is uploaded or stored.

About SRT to TTML Converter

You finished your subtitles in friendly SRT, but the delivery spec wants TTML — the XML format streaming platforms and broadcasters rely on. TTML wraps every line in a timed <p> element inside a structured document, which is exactly what professional encoding and QC tools expect.

The SRT to TTML Converter builds that document for you. It maps each SRT cue into a <p begin="..." end="..."> element, switches the comma in the timestamp to a period (00:00:01,000 to 00:00:01.000), XML-escapes special characters so the file is valid, keeps your <i>/<b> emphasis as real tags, and turns line breaks into <br/>. The result drops straight into a TTML-aware pipeline.

Features

  • Valid XML output: proper declaration and namespace.
  • Timestamp remap: SRT HH:MM:SS,mmm becomes TTML HH:MM:SS.mmm.
  • XML-safe text: &, <, > are escaped so the document parses.
  • Emphasis preserved: <i>/<b> survive as TTML tags.
  • Line breaks: multi-line cues become <br/>.
  • One-click copy/download: grab the .ttml or save it directly.
  • Private: runs entirely in your browser, no uploads.

How to Use

  1. Paste your SRT into the box (sample data is preloaded so you can test instantly).
  2. Click Convert to TTML — the XML appears on the right.
  3. Copy or download the .ttml and hand it to your encoder or delivery platform.

Examples

Example 1 — Streaming delivery. A platform requires TTML; convert the timed SRT and upload the XML.

Example 2 — Broadcast QC. Your QC tool ingests TTML; this produces a clean, valid base file.

Example 3 — Structured archive. You want subtitles stored as structured XML rather than plain text.

Benefits

  • Spec-ready: produces valid TTML with correct namespaces.
  • Lossless content: wording, timing and emphasis preserved.
  • No manual XML: no hand-writing angled brackets.
  • Fast: convert a full file in one click.
  • Private: subtitle text never leaves the browser.

Frequently Asked Questions

What is TTML?
TTML (Timed Text Markup Language) is an XML-based subtitle format. It is the format behind many streaming and broadcast workflows (including Netflix delivery specs), where subtitles are described as timed <p> elements inside an XML document.
How are timestamps written in TTML?
TTML uses clock time with periods, like 00:00:01.000, which is the same style as WebVTT. The converter maps SRT commas to periods automatically.
Are special characters handled?
Yes. Text is XML-escaped (&, <, >) so the file is valid XML. Known emphasis tags such as <i> and <b> are preserved as real TTML tags, and line breaks become <br/>.
Why would I need TTML instead of SRT?
Many professional delivery pipelines and encoding tools consume TTML because it carries structure and styling hints that plain SRT cannot. If a platform asks for .ttml or .xml subtitles, this converter produces a valid base file.
Will my text and timing stay intact?
Yes. Only the wrapper and timestamp delimiter change; the wording, line breaks and timing are preserved exactly.