Skip to content
SubtitleDesk

What is an ASS file? Styled subtitles explained

Last updated · 5 min read

ASS and SSA files carry fonts, colours, positions and karaoke effects that SRT cannot. What is inside them, which players show them properly, and what you lose when you convert to SRT.

An .ass file is an Advanced SubStation Alpha subtitle script. Where an SRT file is just timing and text, an ASS file also describes how every line should look: font, size, colours, outline, position on screen, and effects such as fades and karaoke. If you have downloaded anime subtitles or opened a project from Aegisub, you have almost certainly met one. The older .ssa extension is its predecessor, SubStation Alpha v4.

Where ASS files come from

SubStation Alpha started as a Windows subtitling program in the late 1990s, and ASS (version 4+) extended its format with more styling options. Today the standard editor is Aegisub, a free program built around the format. Anime fansub groups adopted ASS early because it lets them typeset translated signs over the picture, style songs differently from dialogue and time karaoke syllable by syllable. Many subtitles extracted from MKV files are ASS for the same reason.

What is inside

An ASS file is plain text, split into sections:

  • [Script Info] holds general settings, including the script resolution that sizes and positions refer to.
  • [V4+ Styles] ([V4 Styles] in SSA) defines named styles. A style sets the font, size, primary and outline colours, outline and shadow thickness, alignment and margins. A typical file has a style for dialogue, another for signs and others for songs.
  • [Events] contains the lines. Each Dialogue: line has a start and end time, a style name and the text. Comment: lines are kept in the file but never shown.

Override tags

Inside the text, codes in curly braces change the look of a single line or even a single word. A few common ones:

  • {\an8} places the line at the top centre of the screen.
  • {\i1}, {\b1} and {\u1} switch on italic, bold and underline.
  • {\c&H00FFFF&} changes the colour (ASS writes colours as blue-green-red, so this is yellow).
  • {\fad(200,200)} fades the line in and out over 200 ms.
  • {\pos(960,100)} puts the line at an exact point in script coordinates.
  • {\p1} starts a vector drawing, used for masks and typesetting shapes.

Line breaks are written as \N rather than as real new lines, and \h is a space that never breaks.

Karaoke

Karaoke timing uses {\k} tags. {\k25} before a syllable means it lasts 25 hundredths of a second, and karaoke-aware renderers highlight each syllable in turn as the song plays. Combined with styles and other override tags, this produces the animated song lyrics typical of anime openings.

ASS vs SRT

  • Styling. SRT has none beyond basic italic, bold and underline tags; the player chooses the font and position. ASS defines it all.
  • Positioning. SRT has no standard way to move text. ASS can place any line anywhere.
  • Timing precision. SRT uses milliseconds (00:01:02,345). ASS uses hundredths of a second (0:01:02.35).
  • Support. SRT works almost everywhere. ASS needs a player with a proper ASS renderer.
  • Editing. SRT is easy to fix in any text editor. ASS is readable as text too, but Aegisub is the comfortable way to work with it.

How players handle ASS

  • VLC, mpv and MPC-HC render ASS with its styles, positions and effects. On a computer, these are the safest choice.
  • Plex and Jellyfin can serve ASS files, but when the client app cannot render them the server may have to burn the subtitles into the picture, which means transcoding the video. That costs server CPU and can cause buffering on weaker machines.
  • Browsers do not support ASS natively. The HTML5 <video> element only reads WebVTT; web apps that show ASS bundle their own renderer.
  • TVs, set-top boxes and video editors vary widely. Many ignore the styling, some ignore ASS files entirely, and nearly all of them handle SRT.

When to convert

Convert ASS to SRT when the target cannot render ASS: a TV, a media server client that forces transcoding, a video editor, a translation tool or a website. Use the ASS to SRT converter; for the web, convert the result to WebVTT with the SRT to VTT converter.

Convert SRT to ASS when you want styling: a particular font and outline for burned-in subtitles, signs at the top of the screen, or a starting point for a styled release in Aegisub. The SRT to ASS converter writes a valid ASS file with one Default style (Arial, white text, black outline, bottom centre, 1920×1080 script resolution) that you can restyle in Aegisub's Styles Manager.

What is lost when converting to SRT

The text and timing come through; the presentation does not.

  • Kept: the text of every dialogue line, line breaks (\N becomes a real line break, \h a normal space), italic, bold and underline, and timing to the hundredth of a second.
  • Dropped: all styles (fonts, sizes, colours, outlines, margins) and every other override tag, including positioning, colours, fonts, fades and karaoke timing.
  • Not converted: Comment lines and drawing-only events ({\p1} shapes), since they contain no text to show.

The visible consequence is that typeset signs and song lyrics lose their position and look. They become ordinary cues at the bottom of the screen and can overlap the dialogue. If you only want dialogue, delete or comment out the sign and song lines in Aegisub before converting.

The conversion is one-way in practice: converting the SRT back to ASS gives you a clean file with a single default style, not the original styling.

Shifting the timing without losing styles

If the only problem is timing, do not convert at all. The Shift Subtitles and Sync Subtitles tools accept ASS files and rewrite only the timestamps of the original file, so every style, font and override tag stays exactly as it was. Use Shift for a constant delay and Sync when the subtitles drift further out over the course of the video.

Other tools are less suited to styled files. Fix Subtitles and Merge Subtitles can read ASS, but they write their result with a single default style, so use them only when you do not need the original look. Aegisub's own Timing → Shift Times dialog is the other option if you already have it installed.