TXT TO TTML

TXT to TTML.

Convert Plain text (.txt) subtitles to TTML (.ttml) in seconds. No upload, no sign-up, nothing leaves your browser.

1

Choose your caption file

We’ll detect the format automatically. Drop several files to convert them all at once.

Don’t have a file handy?
2

Choose an output format

Select what you need on the other side.

100% privateYour files never leave this device.
8 formatsBuilt for the caption formats you use.
No limitsConvert as often as you need.

How to convert TXT to TTML

  1. Drop your .txt file into the converter above, or click to browse. Several files at once become a ZIP.
  2. Check the quality report and fix timing or text in the editor if you need to.
  3. TTML is already selected as the output format. Click Download converted file.

Conversion happens entirely in your browser. Nothing is uploaded, no account is needed, and there is no file count limit.

About Plain text (.txt)

A plain-text transcript is what you want for blog posts, show notes, accessibility documents, or feeding text into a search index or language model. CaptionStack strips all timing and writes each cue as its own paragraph. Importing a .txt file assigns three-second cues so you can add real timing in the editor.

About TTML (.ttml)

Timed Text Markup Language is a W3C XML format for captions and subtitles. It underpins broadcast standards such as EBU-TT and IMSC and is required by many streaming platforms and accessibility regulations. Each <p> element carries begin and end (or dur) attributes and the caption text.

What changes when converting TXT to TTML

Text, timing, and xml:id identifiers are converted. Styles, regions, and layout metadata are not preserved, and inline <span> formatting is flattened to plain text with <br/> becoming line breaks.

Frequently asked questions

Is this TXT to TTML converter free?
Yes. CaptionStack is free and open source, with no limits on file count or conversions.
Are my caption files uploaded anywhere?
No. Parsing and conversion run in your browser using a local Web Worker. Your files never leave your device.
Can I edit the captions before exporting to TTML?
Yes. After import, open the editor to adjust start and end times, fix text, split, merge, or reorder cues. The quality report flags overlaps, short cues, and fast reading speeds with one-click fixes.
Can I convert many .txt files to .ttml at once?
Yes. Drop multiple files and download all of the results as a single ZIP archive.

Other TXT conversions

Other ways to get TTML

All caption formats