Txtloom

SRT to ASS converter styled subtitles from SubRip

Paste SRT or open .srt and .vtt files. You get an ASS script with one style in the font and size you choose, line breaks as \N and italics as override tags, ready to restyle in Aegisub. Nothing is uploaded.

SRT or VTT

Paste or open .srt or .vtt files

ASS

Waiting for input

    Converted in this browser tab; files are not uploaded.

    How do I convert SRT to ASS?

    An ASS script needs a [Script Info] header, at least one style under [V4+ Styles] and a Dialogue: line per subtitle under [Events], with times in hundredths of a second (format description). The converter writes one style, “Default”, at 1920 × 1080 with the font and size you choose, white text with a black outline, bottom centre. Line breaks become \N and <i>, <b>, <u> become override tags.

    1. Paste the SRT, or open or drop one or more .srt or .vtt files.
    2. Set the font and size for the Default style.
    3. Shift all times if needed.
    4. Download the .ass and change the look in Aegisub or another ASS editor.

    Example: before and after

    SRT or VTT input
    1
    00:00:01,000 --> 00:00:03,500
    Welcome back to Field Notes,
    the show about small projects.
    
    2
    00:00:03,500 --> 00:00:07,900
    <i>Today</i> I’m talking with Maya & friends.
    
    3
    00:00:08,200 --> 00:00:10,000
    {\an8}<font color="#ffff00">[Birdsong]</font>
    ASS output
    [Script Info]
    ; Converted by Txtloom
    ScriptType: v4.00+
    WrapStyle: 0
    ScaledBorderAndShadow: yes
    PlayResX: 1920
    PlayResY: 1080
    
    [V4+ Styles]
    Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
    Style: Default,Arial,64,&H00FFFFFF,&H000000FF,&H00000000,&H64000000,0,0,0,0,100,100,0,0,1,3,1,2,60,60,50,1
    
    [Events]
    Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
    Dialogue: 0,0:00:01.00,0:00:03.50,Default,,0,0,0,,Welcome back to Field Notes,\Nthe show about small projects.
    Dialogue: 0,0:00:03.50,0:00:07.90,Default,,0,0,0,,{\i1}Today{\i0} I’m talking with Maya & friends.
    Dialogue: 0,0:00:08.20,0:00:10.00,Default,,0,0,0,,{\an8}[Birdsong]

    Times are rounded to hundredths. The two lines of the first subtitle are joined with \N, <i> becomes {\i1}…{\i0}, the {\an8} code is kept as a top position, and the <font> tag is dropped. & needs no escaping in ASS.

    What the converter changes

    In the inputResultDetails
    HeaderAddedScriptType: v4.00+, PlayResX: 1920, PlayResY: 1080, WrapStyle: 0.
    StyleAddedDefault: your font and size, white text (&H00FFFFFF), black outline 3, shadow 1, alignment 2 (bottom centre), margins 60, 60 and 50.
    TimesChanged00:00:01,000 becomes 0:00:01.00; milliseconds are rounded to hundredths.
    Cue numbersRemovedDialogue lines have no number.
    Line breaks inside a subtitleChangedBecome \N.
    <i>, <b>, <u>ChangedBecome {\i1}…{\i0}, {\b1}…{\b0}, {\u1}…{\u0}.
    {\an8} and other {\anN} codesKeptAs a position override at the start of the line.
    <font> and other tagsRemovedSet colours in the style or with \c override tags afterwards.
    { and } in the textChangedBecome ( and ), because a brace would start an override block.
    WebVTT inputReadVoice tags <v Name> become “Name: ”; cue settings are dropped.

    The check under the result counts the subtitles and lists damaged blocks, missing blank lines, overlapping subtitles and subtitles that end before they start.

    Common problems and fixes

    The text is tiny or huge
    ASS sizes and margins are measured against the script resolution, PlayResX × PlayResY (Aegisub: Styles), which is 1920 × 1080 here. The default size is 64; change it before converting, or edit the style afterwards.
    Subtitles should sit at the top
    Add {\an8} in front of those lines in the SRT before converting, or change the style’s alignment to 8 afterwards. Alignments 1–3 are bottom, 4–6 middle and 7–9 top.
    The font is not used
    The font has to be installed on the computer that plays the video, or attached to the video file. Arial is the default because it is widely installed.
    Times moved by a few milliseconds
    ASS stores hundredths of a second, so 00:00:01,456 becomes 0:00:01.46. A difference of up to 5 ms is not visible.

    Where to use the result

    • Aegisub. Open the .ass to change the style, add signs or karaoke. The override tags work on any line.
    • VLC. .ass and .ssa are on VLC’s list of subtitle formats.
    • Txtloom editor. Fix words and times first: open the SRT in the editor, then convert the corrected file.

    Questions

    Why convert SRT to ASS?

    To style subtitles: choose a font, size, colour, outline and position for all lines at once, or style single lines, which SRT cannot do.

    What does the Default style look like?

    Your font at your size on a 1920 × 1080 canvas, white with a black outline of 3 and a shadow of 1, centred at the bottom, 50 pixels from the edge.

    Are italics kept?

    Yes, as {\i1} and {\i0}. Bold and underline too.

    Can I convert VTT to ASS?

    Yes. Paste or open a WebVTT file; voice tags become speaker names in the text.

    Can I convert several files at once?

    Yes, up to 100, downloaded as one ZIP.

    Is my file uploaded?

    No. The conversion runs in this browser tab.

    Sources