Txtloom

Subtitle converter SRT, VTT, ASS, SSA, LRC, SBV and TTML

Paste or drop a subtitle file in any of these formats. The format is detected from the content, and you choose SRT, WebVTT, plain text or ASS as the result. Batches download as a ZIP; nothing is uploaded.

Subtitles

SRT, VTT, ASS, LRC, SBV or TTML

SRT

Waiting for input

    Converted in this browser tab; files are not uploaded.

    How do I convert a subtitle file to another format?

    Open or paste the file and pick the format you need. Txtloom does not ask what the file is: it reads the content, recognises SRT, WebVTT, ASS or SSA, LRC, SBV and TTML or DFXP, and tells you which one it found. Every format is first read into the same list of timed subtitles, so any of the six can become SRT, WebVTT, plain text or ASS.

    1. Paste the subtitles, or open or drop up to 100 files; they can be in different formats.
    2. Read the first line under the result: it counts the subtitles and names the format they were read as.
    3. Choose SRT, WebVTT, plain text or ASS under “Convert to”.
    4. Download the file, or a ZIP when you opened several.

    Example: before and after

    Subtitles input
    [Script Info]
    ScriptType: v4.00+
    WrapStyle: 0
    
    [Events]
    Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
    Comment: 0,0:00:00.00,0:00:01.00,Default,,0,0,0,,Check timing before release
    Dialogue: 0,0:00:01.00,0:00:03.50,Default,Host,0,0,0,,Welcome back to {\i1}Field Notes{\i0},\Nthe show about small projects.
    Dialogue: 1,0:00:01.00,0:00:03.50,Default,Host,0,0,0,,{\blur3}Welcome back to {\i1}Field Notes{\i0},\Nthe show about small projects.
    Dialogue: 0,0:00:03.50,0:00:07.90,Default,Guest,0,0,0,,Thanks for having me & my team.
    Dialogue: 0,0:00:08.20,0:00:10.00,Sign,,0,0,0,,{\an8\fs48\c&H00FFFF&}[Birdsong]
    SRT output
    1
    00:00:01,000 --> 00:00:03,500
    Welcome back to <i>Field Notes</i>,
    the show about small projects.
    
    2
    00:00:03,500 --> 00:00:07,900
    Thanks for having me & my team.
    
    3
    00:00:08,200 --> 00:00:10,000
    {\an8}[Birdsong]

    An ASS script converted to SRT. The Comment line and the copy of the first line on layer 1 are left out; {\i1}…{\i0} becomes <i>…</i>, \N becomes a line break, and the sign keeps its top position as {\an8} while its size and colour are dropped.

    How each format is recognised, and what is kept

    What the file containsRead asWhat happens to it
    “WEBVTT” on the first lineWebVTTThe header, NOTE, STYLE and REGION blocks and cue settings such as line:0 are dropped; <v Name> becomes “Name: ” in front of the text.
    Lines like 00:00:01,000 --> 00:00:03,500SRTSubtitles are renumbered 1, 2, 3. A missing blank line between two subtitles is repaired and counted.
    [Script Info], or [Events] with Dialogue linesASS / SSAItalic, bold and underline and a top or middle position are kept; fonts, colours, drawings, Comment lines and copies of a line on another layer are dropped.
    Lines like 0:00:01.000,0:00:03.500SBVStart and end move to an SRT-style timing line; the text is unchanged.
    Lines that start with [00:12.00]LRCA line ends when the next one starts, after 8 seconds at most; the last line gets 4 seconds. [offset:] is applied and ID tags such as [ti:] are left out.
    Lines that start with [00:01:05], every one of themLRC, hours firstThis is the shape SRT to TXT writes with timestamps on, so the three numbers are read as hours, minutes and seconds, and the check says so. A real LRC file with [mm:ss:xx] tags belongs on the LRC to SRT page.
    XML with a <tt> elementTTML / DFXPClock, frame, tick and offset times are read; italic, bold and underline styles become <i>, <b> and <u>.
    Result: WebVTTA bare & or < is escaped, and <font> tags and {\an8} codes are removed, because WebVTT has no form for them.
    Result: plain textTags and codes are removed and the lines of each subtitle are joined; each subtitle is one paragraph, or one line that starts with its time.
    Result: ASSOne Default style, Arial 64 on a 1920 × 1080 script. For another font or size use the SRT to ASS page.

    A file with the wrong extension still converts. The check under the result also lists damaged blocks, overlaps and subtitles that end before they start.

    Common problems and fixes

    “No subtitles found”
    The content matches none of the six formats. The usual causes: the file is a transcript with no times (use TXT to SRT to add them), or it is one of the formats this page does not read, such as MicroDVD .sub, SAMI .smi, EBU STL or SCC.
    The format was detected wrongly
    A file with --> timing lines but no WEBVTT first line is read as SRT. If a WebVTT file lost its header, add WEBVTT and a blank line at the top.
    Letters look garbled, like “Café”
    SRT has no fixed character encoding; the Library of Congress notes SubRip’s default output was Windows-1252. When a file is not valid UTF-8, choose its encoding under “Read as”.
    Colours and fonts are gone after ASS to SRT
    SRT can carry italic, bold, underline and, in some players, a position code. Everything else in an ASS style has no SRT form. To keep the styling, keep the ASS file and convert a copy.
    Subtitles overlap after LRC to SRT
    They should not: each lyric line ends when the next begins. If two lines carry the same time tag, both are written with that time and the check lists the overlap.
    All times need to move as well
    Enter the seconds under “Shift all times” (the box is hidden for plain text without timestamps, which has no times). To fix a gap that grows through the video, use the subtitle shifter, which also keeps the file in its own format.

    Where to use the result

    Questions

    Which subtitle formats can it read?

    SRT, WebVTT, ASS and SSA, LRC lyrics, SBV (YouTube’s SubViewer captions) and TTML or DFXP.

    Which formats can it write?

    SRT, WebVTT, plain text and ASS. SRT is selected when the page opens.

    Can I convert files of different formats in one go?

    Yes. Open or drop up to 100 files; each is detected on its own, converted to the format you chose, and listed with its subtitle count. Download them one by one or as a ZIP.

    Does it convert .sub files?

    No. A <a href="https://en.wikipedia.org/wiki/MicroDVD" rel="noopener">MicroDVD .sub file</a> gives each line a start and stop frame instead of a time, so converting it needs the video’s frame rate, which this page does not ask for. Other .sub and .idx subtitles, SAMI, EBU STL and SCC are not read either.

    Is anything uploaded?

    No. The file is read and converted by JavaScript in this browser tab. You can load the page, turn off your connection and convert a file.

    Can I set the font, the reading speed or speaker names?

    Not here; this page uses the defaults. The single-format pages have those options: reading speed on TXT to SRT, font and size on SRT to ASS, the longest time a lyric line stays up on LRC to SRT, speaker names on ASS to SRT, and the <track> line on SRT to VTT.

    Sources