全球免费使用

字幕编辑与转换

编辑粘贴的 SRT/VTT 文本并整体平移时间轴。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

Subtitles that are a second early or late are distracting, and different players and websites want different formats. Paste an SRT or WebVTT subtitle file, enter how many seconds to shift every caption (positive to delay, negative to show earlier), choose SRT or VTT output, and this tool rewrites all the timestamps consistently. You can also correct the text of the captions before copying the result.

It runs in your browser, so the subtitles are not uploaded.

使用方法

  1. Paste the subtitle text (SRT or VTT).
  2. Enter the time shift in seconds, such as 2.5 or −1.2.
  3. Choose SRT or VTT output and run it.
  4. Copy or download the corrected subtitles.

计算原理

Each cue’s start and end times (hh:mm:ss,mmm or mm:ss.mmm) are parsed to milliseconds, the offset is added and the times are written back with a comma (SRT) or dot (VTT) separator. NOTE, STYLE and REGION blocks are skipped; cues that would start before zero are rejected.

计算示例

A video editor’s captions appear 2.5 seconds too early after an intro was added. Shifting by 2.5 and choosing VTT turns 00:00:01,200 --> 00:00:03,500 into 00:00:03.700 --> 00:00:06.000 and adds the WEBVTT header for the website player.

局限性

  • Constant shift only; no stretch for frame-rate drift.
  • VTT styling and positioning are not preserved.
  • Up to 100,000 characters.

最后更新:

常见问题

What is the difference between SRT and VTT?

They are almost the same; VTT starts with a WEBVTT header and uses a dot before milliseconds, and is the format HTML5 video players use.

Can I shift only part of the file?

No, the shift applies to every cue.

My subtitles drift over time.

Drift comes from a frame-rate mismatch; a fixed shift fixes only a constant offset.

故障排除

It reports an error.

A timestamp is malformed or the shift would make a cue start before 00:00:00.

Line numbers are missing in VTT.

Cue numbers are optional in VTT; players ignore them.

Accents look wrong.

Save the source file as UTF-8 before pasting.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步