SubtitleMedic

Convert LRC to VTT

Turn .lrc song lyrics into WebVTT captions for web players and HTML5 video.

Processed in your browserNo sign-up.lrc

How to convert LRC to VTT

  1. Open your .lrc file

    Drop the lyrics into the box above, or click to browse. The .lrc sample under the box is a short song to try it on.

  2. Check the captions

    The preview shows the lyrics before and after. “Cues” lists each line with the start and end it was given.

  3. Download the .vtt file

    song.lrc becomes song.vtt, ready for a <track> element or a web player.

From lyrics to captions

An LRC line has one time, when the line is sung:

[00:12.40]Paper lanterns on the river
[00:16.80]Drifting slowly out of sight

A WebVTT caption needs a start and an end, and the file opens with a WEBVTT line:

WEBVTT

00:00:12.400 --> 00:00:16.800
Paper lanterns on the river

The converter gives each line the start time of the line after it as its end, capped at 10 seconds. A time with no words, which LRC uses to clear the screen, ends the line before it. A chorus written once with several times appears at each of them, and lines that share a time become one caption of two lines. What is a VTT file? explains the rest of the format.

Showing lyrics on a web page

Add the .vtt to a video with a <track> element:

<video controls poster="cover.jpg" src="song.mp4">
  <track kind="subtitles" src="song.vtt" srclang="en" label="Lyrics" default>
</video>

Serve it from the same site as the page, or allow it with CORS headers. Browsers refuse a caption file from another domain without them.

Use the right content type. The server should send .vtt files as text/vtt. Most do; some older ones need the type added.

default turns the lyrics on when the video loads. Without it, viewers switch them on from the captions menu.

For an audio-only song, use a <video> element with a still image as the poster. Browsers show captions on video, not on <audio>.

Where else WebVTT works

Web players. Video.js, Plyr, JW Player and most hosted players accept .vtt caption files.

Video platforms. YouTube and Vimeo accept WebVTT uploads as captions.

Streaming. HLS streams carry subtitles as WebVTT, so lyrics can be added to a stream as a subtitle track.

Tips

Need SubRip instead? Video editors, TVs and desktop players prefer .srt. Use Convert LRC to SRT.

Lyrics out of sync with the video? An intro, a fade-in or another version of the song shifts every line by the same amount. Shift Subtitle Timing moves them all at once.

Garbled characters? Older LRC files in Chinese, Japanese or Korean are often saved in GBK, Big5 or Shift_JIS. Pick the encoding next to the file name, or repair it with Fix Subtitle Encoding. The .vtt is saved as UTF-8, which WebVTT requires.

Choosing between the two formats? SRT vs VTT explains which one each player and platform wants.

Frequently asked questions

Why convert LRC to WebVTT?

Browsers only show captions in WebVTT. The HTML5 <track> element, and web players such as Video.js, Plyr and JW Player, read .vtt files, not .lrc. Converting lets you show synced lyrics under a video on your own site.

How long does each lyric line show?

Until the next line starts, for at most 10 seconds, so a line doesn't stay through a long instrumental break. A time with no words in the LRC ends the line before it. The last line ends at the song length in the file, or after 4 seconds.

Can I show lyrics on an <audio> element?

Not with the browser's own captions. Browsers display text tracks only on <video>. Put the song in a <video> element, with a cover image as its poster, or use a web player that draws captions for audio.

What happens to [ti:], [ar:] and [offset:]?

The title, artist and album tags are left out, since WebVTT captions have no place for them. An [offset:] tag is applied to every line, so the captions appear when a music player would show the lyrics.

Does it read enhanced LRC?

Yes. The word times of enhanced LRC, such as <00:12.80>, are removed and each line keeps its own start time. WebVTT can't highlight word by word in every browser, so line timing is what works everywhere.

Are my files uploaded?

No. The conversion runs in your browser tab, and the lyrics never leave your device.