Audio Visualizer Online logo Audio Visualizer Online

How to Create an SRT File Free: Exact Syntax, UTF-8 Rules & SRT vs. WebVTT Guide

An .srt file is plain UTF-8 text — no paid caption software required. Master exact SubRip timestamp syntax, build a timed .srt in 2 minutes with browser Tap-Sync, and know when W3C WebVTT (.vtt) is required.

Create & Download a Valid .SRT File Free in Browser

Load any audio file, paste your transcript or lyrics, tap Spacebar at 0.5x/0.75x/1.0x speed, nudge +-0.1s, and click Download .SRT.

Open Free SRT Tap-Sync Tool
Multi-speaker SRT captions cleanly rendered onto a 9:16 Podcast Paper audiogram and 16:9 YouTube card
Create, micro-nudge, and rebase .SRT caption files locally — or burn them directly onto 1080p vertical audiograms and lyric videos with zero watermark.

Exact SubRip (.srt) File Structure (Copy-Paste Valid Template)

An .srt (SubRip Subtitle) file — cataloged in the Library of Congress Digital Preservation Format Description (fdd000569) and explicitly recommended by YouTube Help (Supported subtitle and closed caption files) for creators building captions — is nothing more than a plain UTF-8 text file following four strict syntax rules:

1
00:00:01,200 --> 00:00:03,850
Welcome back to the mastering desk.

2
00:00:04,100 --> 00:00:07,600
- Did the team leave before the last train?
- They stayed until the final passenger was safely home.

3
00:00:08,000 --> 00:00:10,450
Every cue ends with one blank line.

The 4 Non-Negotiable SRT Syntax Rules

  1. Sequential Cue Index: Positive integers starting at 1, incrementing by 1 per block.
  2. Exact Timecode Line (HH:MM:SS,mmm --> HH:MM:SS,mmm): Two digits each for hours, minutes, and seconds, followed by a comma (,) and three digits for milliseconds (000–999), separated by a single space, two hyphens, a greater-than sign, and a single space (-->).
  3. UTF-8 Plain Text Lines: One or two short lines per cue (or explicit speaker hyphens on separate lines for 2-speaker interviews). Per YouTube Help, YouTube only recognizes basic plain-text SRT without inline HTML or CSS styling tags, and requires UTF-8 encoding so accented characters and apostrophes never turn into garbled symbols.
  4. One Blank Line Between Every Block: Missing the blank separator causes strict parsers (and desktop NLEs) to merge cue 2's timestamp directly into cue 1's spoken text.

3 Free Ways to Create an .srt File (Fastest to Most Manual)

Method 1: Tap-Sync Directly in Your Browser (Best for Songs & Short Clips — 2 Minutes)

Typing timestamps by hand for a 60-second podcast clip or 3-minute song is painful and error-prone. Instead, build a guaranteed-valid .srt locally in Audio Visualizer Online:

  1. Open Podcast Audiogram Maker or Suno Music Visualizer and drop your MP3, WAV, or M4A audio (zero upload).
  2. Open the Lyrics / Captions tab and paste your plain-text script or lyrics (one phrase per line).
  3. Select 0.75× (for fast dialogue/rap) or 1.0× playback speed, click Start Tap-Sync, and press Spacebar right as each sentence begins. Every tap stamps the start time and closes the previous cue cleanly with zero overlap.
  4. Fine-tune any line by clicking -0.1 or +0.1 (our parser preserves exact sub-0.5s cues down to 0.05s and keeps explicit end times intact).
  5. Choose Full Track or Active Clip (0:00) (which automatically rebases timestamps to 00:00:00,000 when you trimmed a 30–60s highlight!) and click Download .SRT.

Method 2: Free Local AI Transcription + Manual Proofread (Best for Long Interviews)

For 20- to 60-minute podcasts or lectures:

  • Run free local open-source Whisper (or MacWhisper on macOS) to export a draft .srt offline on your own machine, or upload an unlisted draft to YouTube Studio and download its auto-generated .srt under Subtitles → Duplicate and Edit → Download (.srt).
  • Proofread proper nouns, technical terms, and punctuation in a plain text editor (or import the .srt back into our studio to render a clean captioned audiogram video).

Method 3: Hand-Writing an .srt in Notepad (Windows) or TextEdit (Mac)

For a 15-second intro or 4-line bumper:

  • Windows Notepad: Type your cues using the template above → File → Save As → set Save as type to All Files (.) → set Encoding to UTF-8 → name the file captions.srt (avoid captions.srt.txt).
  • macOS TextEdit: Press Shift + Command + T (Format → Make Plain Text) before saving — TextEdit defaults to Rich Text (.rtf), which inserts hidden formatting headers that break every subtitle importer. Save as captions.srt with UTF-8 encoding.

SRT vs. WebVTT (.vtt): Exact Technical Differences

Web developers and course creators often ask whether to ship SubRip (.srt) or WebVTT (.vtt). The W3C WebVTT specification and MDN WebVTT API define WebVTT specifically for HTML5 <video> <track> playback in browsers:

Feature SubRip (.srt) WebVTT (.vtt)
Header Line Required? None (starts directly with 1) Mandatory WEBVTT on line 1 followed by a blank line
Millisecond Separator Comma (,) → 00:01:05,250 Period (.) → 00:01:05.250
Cue Numbering Required sequential integers Optional (alphanumeric cue IDs allowed)
Native HTML5 <track> Support Not native in browsers Native W3C browser standard
Styling, Positioning & Chapters Stripped by basic parsers (e.g. YouTube) Native cue settings (line:, align:, ::cue CSS, chapter metadata)
Best Use Cases YouTube Studio, Premiere Pro, DaVinci Resolve, CapCut, FCP, LinkedIn, podcast audiograms Custom HTML5 web video players, Vimeo web tracks, LMS course portals

Instant 2-Step Conversion From .srt to .vtt

Because the two formats are nearly identical, converting any valid .srt into a basic valid .vtt takes two edits (or one FFmpeg command ffmpeg -i captions.srt captions.vtt):

  1. Add WEBVTT plus one blank line at the very top of the file.
  2. Replace every timestamp comma with a period (for example 00:00:01,200 → 00:00:01.200).

6 Common SRT Errors & How to Fix Them in 10 Seconds

Error Message / Symptom Root Cause Exact Fix
Parser merges cue 2 timestamp into cue 1 text Missing blank line between cue blocks (or stripped \n\n) Ensure one completely empty line separates every cue block
"Invalid timestamp" on upload Used decimal dot (.) instead of comma (,), or omitted hours (01:05,200) Enforce full HH:MM:SS,mmm with comma (even when hours = 00)
Strange symbols (’) instead of apostrophes Saved as Windows-1252 / ANSI instead of UTF-8 Re-save explicitly with UTF-8 encoding
Captions appear 30 seconds late on a short social clip Exported full-episode timestamps for a trimmed highlight cut Use our studio's Active Clip (0:00) SRT toggle so cues rebase cleanly to 00:00:00,000
YouTube strips bold/color tags or shows raw <font> text Inline HTML/SSA markup unsupported in basic SRT Strip inline style tags; keep plain UTF-8 text per YouTube Help
Two speakers merge onto one unreadable run-on line Single-line flattening stripped speaker line breaks Keep explicit \n speaker hyphens (- Speaker A\n- Speaker B); our v7 studio preserves multi-line breaks up to 6 wrapped rows without dropping words

Sources & Primary References

All SubRip syntax requirements, UTF-8 rules, and WebVTT specifications in this guide reference primary standards and official documentation (verified November 2026):

  1. Library of Congress — SubRip Subtitle format (SRT, fdd000569) (official format description and structural specification, updated May 2025): https://www.loc.gov/preservation/digital/formats/fdd/fdd000569.shtml
  2. YouTube Help — Supported subtitle and closed caption files (official support for basic UTF-8 .srt, plain-text rule stripping inline markup, and recommendation for new captioners): https://support.google.com/youtube/answer/2734698?hl=en
  3. W3C — WebVTT: The Web Video Text Tracks Format (official WebVTT WEBVTT header, period millisecond syntax, and cue positioning spec): https://w3c.github.io/webvtt/
  4. MDN Web Docs — WebVTT API (HTML5 <track> subtitle, caption, chapter, and metadata behavior): https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API
  5. Audio Visualizer Online Engineering Lab (verified parseSrt / formatSrt round-trip fidelity, 0.05s short-cue floor, 2-speaker \n preservation, and Active Clip 0:00 rebasing): About & Verified Benchmarks

Frequently Asked Questions

What is the exact timestamp format required inside an SRT file?

Every SubRip (.srt) cue requires four parts: a sequential integer index starting at 1, a timecode line formatted strictly as HH:MM:SS,mmm --> HH:MM:SS,mmm (using a comma before the three millisecond digits, NOT a period), one or more lines of UTF-8 text, and one completely blank line separating the cue from the next number.

Why did YouTube or Premiere reject my manually typed SRT file?

The four most common causes are using a decimal dot instead of a comma for milliseconds (00:00:05.200 instead of 00:00:05,200), omitting the blank line between cue blocks, saving the file as Rich Text (.rtf) or with smart quotes instead of plain UTF-8 text, or accidentally saving it as captions.srt.txt.

What is the difference between SRT and WebVTT (.vtt) files?

SubRip (.srt) starts at cue 1 and uses commas for milliseconds (00:00:02,500), making it the universal standard for YouTube Studio, Premiere Pro, DaVinci Resolve, CapCut, and VLC. WebVTT (.vtt), defined by the W3C WebVTT specification for HTML5 <track> elements, requires a WEBVTT header on line 1, uses periods for milliseconds (00:00:02.500), and supports cue positioning and CSS styling.

How can I create an SRT file quickly without typing timestamps by hand?

Open Audio Visualizer Online, load your MP3/WAV/M4A recording, open the Lyrics / Captions tab, paste your lines, and click Start Tap-Sync at 0.75x or 1.0x speed. Press Spacebar as each line begins, nudge any cue by +-0.1s, pick Full Track or Active Clip (0:00) scope, and click Download .SRT.