New: OptimaClip is now on Google PlayGet the Android app →App Store: coming soon
✓ 1 credit = 1 minute of video✓ Unlimited clips & exports free✓ Captions + virality score included✓ 3-day free trial, 30 creditsFrom $14.25/mo →

· 3 min read · By the OptimaClip team

What Is a VTT File? How to Open, Create and Use WebVTT Captions

A VTT file (WebVTT, short for Web Video Text Tracks) is a plain-text caption or subtitle file used to display timed text on web video. It starts with the line WEBVTT, followed by cues — each with a start and end timestamp (like 00:00:05.000 --> 00:00:08.500) and the text to show. VTT files are used by HTML5 video players, YouTube, Vimeo, many streaming platforms and course platforms. You can open and edit one in any text editor, and it's very similar to the SRT format — the main differences are the WEBVTT header, periods instead of commas in timestamps, and optional styling and positioning.

What a VTT File Looks Like

A simple WebVTT file, line by line:

• Line 1: WEBVTT

• Line 2: (blank)

• Line 3: 00:00:00.500 --> 00:00:03.000

• Line 4: Welcome back to the show.

• Line 5: (blank)

• Line 6: 00:00:03.200 --> 00:00:06.800

• Line 7: Today we're talking about how to grow a podcast with short clips.

• Line 8: (blank)

• Line 9: 00:00:07.000 --> 00:00:09.500 align:center line:85%

• Line 10: Let's get into it.

Structure — 1. WEBVTT header on the first line (required)

2. A blank line

3. Cues: optional identifier, timestamp line, then caption text

4. A blank line between cues

Timestamps use hours:minutes:seconds.milliseconds (hours are optional for short videos).

VTT vs. SRT

Header — VTT (WebVTT): WEBVTT required; SRT (SubRip): None

Timestamp separator — VTT (WebVTT): Period: 00:00:05.000; SRT (SubRip): Comma: 00:00:05,000

Cue numbers — VTT (WebVTT): Optional; SRT (SubRip): Required

Styling and positioning — VTT (WebVTT): Supported (cue settings, CSS); SRT (SubRip): Very limited

Best for — VTT (WebVTT): HTML5 web players, streaming; SRT (SubRip): Editing software, broad compatibility

See our full comparison: SRT vs VTT subtitle formats.

How to Open a VTT File

• Text editor: Notepad (Windows), TextEdit (Mac, in plain-text mode), or any code editor.

• Video players: many desktop players can load a .vtt file alongside a video.

• Subtitle editors: dedicated subtitle editing apps let you adjust timing visually.

How to Create a VTT File

1. Auto-generate: Use an AI transcription or clipping tool that exports captions.

2. Convert from SRT: Change commas to periods in timestamps and add the WEBVTT header — or use the free SRT to VTT converter in OptimaClip tools.

3. Write manually: Type cues in a text editor and save with a .vtt extension and UTF-8 encoding.

Where VTT Files Are Used

• HTML5 video via the <track> element

• YouTube (accepts VTT and SRT uploads)

• Vimeo and many online video platforms

• Online course platforms and LMS systems

• Streaming platforms and HLS video delivery

Do You Need VTT Files for Short-Form Video?

For TikTok, Reels and Shorts, most creators burn captions into the video instead of uploading a separate caption file, because burned-in captions are styled, always visible and consistent across platforms. Sidecar files like VTT and SRT are more useful for YouTube long-form, websites, courses and accessibility compliance. See burned-in captions vs platform auto-captions and caption accuracy and accessibility standards.

Common VTT Problems and Fixes

Captions don't load — Fix: Check the file starts with WEBVTT and uses UTF-8 encoding

Captions out of sync — Fix: Shift all timestamps by the offset in a subtitle editor

Commas in timestamps — Fix: Replace with periods (that's SRT format)

Strange characters — Fix: Re-save as UTF-8

Captions overlap UI — Fix: Use cue settings (line:) to reposition

Try it on your own videos

Get accurate, animated captions burned into your clips — and export SRT for any editor — with OptimaClip. Start your free trial.

Frequently asked questions

What is a .vtt file?

A WebVTT file — a plain-text caption or subtitle file with timestamps and text, used to display captions on web video.

How do I open a VTT file?

Open it in any text editor to read or edit it, or load it in a video player alongside the matching video.

What's the difference between VTT and SRT?

VTT requires a `WEBVTT` header, uses periods in timestamps and supports styling and positioning. SRT uses numbered cues and commas in timestamps.

Can I convert SRT to VTT?

Yes. Add the `WEBVTT` header and change timestamp commas to periods, or use a free converter.

Does YouTube accept VTT files?

Yes. YouTube accepts WebVTT and SRT caption files.

Turn one long video into a week of clips

OptimaClip finds the best moments in your podcast, stream or webinar, captions and reframes them for vertical, and schedules them to 8 platforms. Free 3-day trial with 30 credits — no card needed.