CapsAI

Caption formatting utility

Subtitle Line Break Optimizer

Rewrap every caption in an SRT file to a line length you choose. The optimizer joins each cue's text into one run of words, then fills lines up to your limit at word boundaries; timestamps stay exactly as they were. Treat the output as a draft and fix awkward breaks by hand.

Browser-basedFree to use

No sign-up needed to try

Need to Create Subtitles First?

Upload your video to CapsAI, generate editable AI subtitles, and start with 3 free minutes.

Tool workspace

No account required · processed locally

Many teams review between 32 and 42 characters per line.

Three steps

How this tool works

  1. 1

    Add the SRT captions you want to format.

  2. 2

    Choose the maximum line length.

  3. 3

    Review and download the rewrapped SRT.

Useful for

Common workflows

  • Vertical-video captions
  • Subtitle style consistency
  • Preparing text for smaller screens

What it checks

Focused, transparent output

  • Word-boundary wrapping
  • Timestamp preservation
  • Configurable line length

Where to break a subtitle

Good line breaks, and what an automatic rewrap misses

Length gets a subtitle onto the screen; the break point decides whether it reads naturally. A length-only wrap gets the first part right and needs help with the second.

How the optimizer wraps

For each cue it removes the existing line breaks, collapses repeated spaces and then adds words to a line until the next word would pass your limit, starting a new line there. This greedy fill makes the top line as long as possible. It does not cap the number of lines, so a cue with more than twice your limit of text comes out on three or more. Words are never split, and tags such as <i> count toward the length.

Breaks that read badly

Netflix's English style guide asks for breaks after punctuation and before conjunctions or prepositions. It says a line should not separate an article or adjective from its noun, a first name from a surname, or a verb from its subject pronoun, auxiliary or negation. A length-only wrap ignores all of this. At 42 characters, "I told you we should have left before the storm hit the coast last night" breaks after "before the", stranding "storm" on the next line. Moving "the" down fixes it.

One line, or a bottom-heavy pyramid

Netflix keeps text on one line unless it exceeds the character limit. When there is a choice of breaks it prefers a bottom-heavy pyramid, a shorter top line over a longer bottom line, but without leaving just one or two words on top. Because the optimizer fills the top line first, its two-line results tend to be top-heavy, and moving one or two words down is often the only edit needed.

Two speakers in one cue

A dialogue cue gives each speaker a line that starts with a hyphen, which Netflix writes without a space: "-Are you coming?" above "-In a minute." The optimizer joins the lines before rewrapping, so if both fit within your limit they end up on one line and the second hyphen lands mid-line. After rewrapping, check every cue that starts with a hyphen and restore the break in the SRT editor.

Choosing a limit for vertical video

Limits such as Netflix's 42 assume a wide frame; its Hindi guide even sets the font size by the ability to fit 42 characters across the screen. A 1080 by 1920 vertical frame is 1080 pixels wide instead of 1920, about 56 percent, so at the same font size a line holds roughly 23 or 24 characters. If your captions use a larger font than that, the limit drops further. Check the result in a safe-zone preview before export.

Questions

Frequently asked questions

Does the optimizer understand sentence meaning?

It wraps at word boundaries by length; an editor should still review phrasing and natural-language breaks.

Will timing change?

No. Cue start and end timestamps remain unchanged.

Can a single long word exceed the limit?

Yes. Words are not split, which avoids introducing unnatural hyphenation.

Does it work for Hindi, Bengali or Kannada captions?

Yes. These scripts put spaces between words, so lines break between words as they do in English. The length counts Unicode code points, and vowel signs and viramas each count, so an Indian-script line holds fewer visible letters than the limit suggests. Judge the result on screen.

Can I try a different limit without losing my original text?

Yes. Your pasted captions stay in the input box and the rewrapped version appears separately, so change the limit and run it again as often as you like before downloading.

Will it rewrap a WebVTT file?

It reads WebVTT timestamps too, but it always writes SRT; turn the result back into WebVTT with the SRT to VTT converter when a player wants it. Cue settings such as position and align are not kept.

Continue your subtitle workflow