Subtitle tools

Convert SRT and VTT subtitles, shift the timing, change the frame rate, clean tags and renumber.

loading Subtitle tools
About this tool

What are subtitle tools?

Subtitle tools fix the small problems that stop a subtitle file from working: it is in the wrong format, it appears too early or too late, it was made for a video with a different frame rate, or it is full of formatting tags and sound descriptions you do not want. This page handles the two most common text formats, SRT (SubRip) and WebVTT (.vtt, the format used by HTML5 video and described by the W3C WebVTT specification), and does five jobs in one place: convert SRT to VTT and back, shift the timing, change the frame rate, clean tags and renumber.

The two formats are almost the same. An SRT cue is a number, a time line such as 00:00:01,000 --> 00:00:03,500 (with a comma before the milliseconds) and one or more lines of text. WebVTT adds a WEBVTT header, uses a dot before the milliseconds and allows styling and notes. Browsers' <track> element needs VTT, while many players and editing programs still use SRT, which is why conversion is the most common request.

Everything is done in your browser: you paste the text or drop a .srt or .vtt file and the file is read locally, never uploaded. The tool detects the format by itself, shows how many subtitles it found and recognises UTF-16 and Windows-1252 files, converting them so the download is UTF-8, which players expect.

How to convert and adjust subtitles

  1. Paste the subtitle text in the input box, or drop a .srt or .vtt file. The tool shows the detected format and the number of subtitles.
  2. Choose the output format: SRT, VTT, or the same as the input.
  3. To fix sync, open "shift the timing", type the amount in milliseconds or seconds (a negative value brings subtitles forward, a positive one delays them) and, if you wish, a start time so that only later subtitles are moved.
  4. To fix a frame-rate mismatch, fill in "subtitle made for (fps)" and "your video is (fps)", for example 23.976 and 25. Both fields are needed.
  5. Tick "remove tags" to strip HTML tags and {\an8} overrides, "remove sound descriptions" to drop text like [door slams], and "renumber" to rebuild the cue numbers.
  6. Read the result, copy it or download it, and use "use result as input" to chain another operation.

Examples

SRT to VTT

Input:

1
00:00:01,000 --> 00:00:03,500
Hello there.

Output as VTT, with the header and dots instead of commas:

WEBVTT

1
00:00:01.000 --> 00:00:03.500
Hello there.

Delay by 2 seconds

Shifting a two-cue file by +2 seconds changes 00:00:01,000 --> 00:00:03,500 to 00:00:03,000 --> 00:00:05,500 and 00:00:04,000 --> 00:00:06,000 to 00:00:06,000 --> 00:00:08,000.

Bring subtitles 1.5 s forward

A shift of -1500 ms turns the second cue into 00:00:02,500 --> 00:00:04,500. The first cue would start before zero, so it is clamped to 00:00:00,000 --> 00:00:02,000 and the tool warns you.

Clean tags and sound descriptions

<i>General Kenobi.</i> followed by [door slams] becomes General Kenobi. with both options on. A cue that ends up empty is removed and counted in a warning.

Frame rate 23.976 to 25

Times are multiplied by 23.976 ÷ 25 = 0.95904. The cue at 00:00:01,000 moves to 00:00:00,959, and 00:00:03,500 to 00:00:03,357. This is the usual fix when subtitles drift further out of sync as the film plays.

Common mistakes

  • A constant delay treated as a frame-rate problem. If the offset is the same all through the film, use the shift. If it grows with time, use the frame-rate change.
  • Filling only one fps field. Both are needed; otherwise nothing changes and the tool says so.
  • Wrong time format. Use hours:minutes:seconds,milliseconds (00:01:02,500) with minutes and seconds up to 59. The error message gives the block and line.
  • A block with no time line. Each block needs a number (optional in VTT), a time line with -->, and text, with a blank line between blocks.
  • Accents showing wrong. The file may not be UTF-8. The tool reads such files as Windows-1252; if the accents still look wrong, re-save the file as UTF-8.
  • Expecting styling to survive conversion. SRT has almost no styling; VTT notes and style blocks are not copied to the result and the tool tells you how many.

Frequently asked questions

How do I convert SRT to VTT?

Paste the SRT, choose VTT as the output format and copy or download the result. It adds the WEBVTT header and changes commas to dots in the times.

How do I sync subtitles that are late or early?

Use the shift: a positive amount delays the subtitles, a negative amount brings them forward. If the error grows through the video, change the frame rate instead.

Are my files uploaded?

No. The conversion happens in your browser.

Which encoding should my subtitle file use?

UTF-8. The tool converts UTF-16 and reads Windows-1252 files and gives you UTF-8 back.

What next?

Count the lines with the word counter, clean lists with the line tools, or compare two versions of a subtitle with text compare.

Report a problem