YouTube Timecode Deep-Link & Chapter Generator
Generate millisecond-precise video links, loop snippets, iframe embed codes, and description chapters.
00:00
0 total seconds
Auto-Detects Existing Timestamps:
?t=85
&t=1m25s
youtu.be/ID?t=120
youtube.com/shorts/ID
Specify Start Timecode
:
:
Short Deep-Link (youtu.be)
https://youtu.be/dQw4w9WgXcQ?t=84
Standard YouTube URL (Human-Readable Time)
https://www.youtube.com/watch?v=dQw4w9WgXcQ&t=1m24s
YouTube Description Chapter Marker
01:24 - Highlight Moment
Responsive HTML5 IFrame Embed Snippet
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/dQw4w9WgXcQ?start=84" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Markdown Timestamp Hyperlink
[Watch at 01:24](https://youtu.be/dQw4w9WgXcQ?t=84)
Multi-Chapter Description Timeline Builder
Build an entire YouTube video chapters list with titles to paste directly into your video description.
| Timecode | Chapter Title | Action |
|---|---|---|
00:00 |
||
01:24 |
||
03:15 |
Formatted Video Description Chapters Block
YouTube Timecode Deep-Link Constructors
// W3C Media Fragments & YouTube URI Builder
function buildYouTubeTimestampUrl(videoId, seconds) {
const totalSec = Math.floor(seconds);
const m = Math.floor(totalSec / 60);
const s = totalSec % 60;
return {
shortUrl: `https://youtu.be/${videoId}?t=${totalSec}`,
webUrl: `https://www.youtube.com/watch?v=${videoId}&t=${m}m${s}s`,
embedUrl: `https://www.youtube-nocookie.com/embed/${videoId}?start=${totalSec}`
};
}
def build_yt_timestamp(video_id: str, total_seconds: int) -> dict:
"""Formats YouTube URLs with exact start time offsets."""
m, s = divmod(total_seconds, 60)
h, m = divmod(m, 60)
human_t = f"{h}h{m}m{s}s" if h > 0 else f"{m}m{s}s"
return {
"short_url": f"https://youtu.be/{video_id}?t={total_seconds}",
"watch_url": f"https://www.youtube.com/watch?v={video_id}&t={human_t}",
"embed_url": f"https://www.youtube-nocookie.com/embed/{video_id}?start={total_seconds}"
}
<?php
function generateYouTubeTimestamp(string $videoId, int $seconds): array {
$m = floor($seconds / 60);
$s = $seconds % 60;
return [
'short_link' => "https://youtu.be/{$videoId}?t={$seconds}",
'watch_link' => "https://www.youtube.com/watch?v={$videoId}&t={$m}m{$s}s",
'embed_link' => "https://www.youtube-nocookie.com/embed/{$videoId}?start={$seconds}"
];
}
package main
import (
"fmt"
)
func BuildYTTimeURL(videoID string, totalSec int) string {
return fmt.Sprintf("https://youtu.be/%s?t=%d", videoID, totalSec)
}