en

SRT to TTML

Convert an SRT subtitle file to the XML-based TTML/DFXP format broadcast and streaming platforms require for captions, locally in your browser. No upload.

Running locally on your device ...

Your files

    Running locally on your device ...

    0%

    Is my file uploaded?

    No. Everything runs in your browser - your file never leaves your device. How this is verifiable

    No upload100% local
    Your content stays with youno third-party access
    Hosted in GermanyGlobal Content Delivery
    Independently auditedTLS A+ · HTTP headers A+

    TTML (Timed Text Markup Language, often called DFXP in broadcast contexts) is a W3C standard and the officially required XML markup language for captions on many streaming platforms, broadcasters and content-delivery systems - unlike the simple SRT format, it is built for professional delivery chains. Anyone needing to prepare an SRT file for such a supplier will find the conversion here.

    Technically, the tool builds a minimal, valid TTML document: an XML declaration, the <tt> root element with the TTML namespace, and one <p begin="..." end="..."> element per subtitle with times in hours:minutes:seconds.milliseconds format. Multi-line text is marked with <br/>, and special characters like & and < are XML-escaped.

    The parser that later reads a TTML file back in deliberately works without a full XML parser (none is available inside this tool's background worker) and specifically covers exactly this <p> element pattern. The whole conversion runs locally in your browser.

    Specifications

    Specifications
    Input formatsSRT
    Auto-conversionMP4
    Output formatTTML
    Batch processingNo
    ProcessingLocally in your browser (JavaScript)
    File uploadNone

    In 3 steps

    1. Drop the .srt file.
    2. A valid TTML document is produced.
    3. Download the .ttml file.

    Limitations: A minimal TTML document is produced with times in the common hours:minutes:seconds.milliseconds format - frame- or tick-based timing, regions, styling or metadata blocks that some TTML profiles additionally support are not produced, since an SRT source does not contain that information anyway.

    FAQ

    Is the file uploaded?

    No, the conversion runs entirely locally in your browser.

    What is TTML needed for?

    Many streaming platforms and broadcasters require TTML/DFXP as the official delivery format for captions instead of the simpler SRT.

    Is the produced TTML compatible with every recipient?

    It is a minimal, valid TTML document with times and text - some suppliers require additional, profile-specific fields not produced here, which vary by recipient.

    Does it also work the other way, TTML to SRT?

    Yes, there is the sibling tool "Convert TTML to SRT" for that.

    Related tools

    TTML to SRT · SRT to ASS · Convert SRT to VTT · Subtitle to text