YouTube stores thumbnails at predictable URLs. Developers can construct these URLs directly without making API calls or needing authentication.
Base URL Format
https://img.youtube.com/vi/{VIDEO_ID}/{QUALITY}.jpg
Replace {VIDEO_ID} with the 11-character video identifier and
{QUALITY} with one of the quality parameters below.
Available Quality Parameters
| Parameter | Resolution | Availability | Use Case |
|---|---|---|---|
maxresdefault |
1280×720 | Most videos (not all) | Hero images, featured content |
sddefault |
640×480 | Most videos | Medium displays, cards |
hqdefault |
480×360 | All videos ✅ | Reliable fallback, lists |
mqdefault |
320×180 | All videos ✅ | Sidebars, small cards |
default |
120×90 | All videos ✅ | Tiny previews, lists |
Example URLs
For video https://youtube.com/watch?v=dQw4w9WgXcQ:
https://img.youtube.com/vi/dQw4w9WgXcQ/maxresdefault.jpghttps://img.youtube.com/vi/dQw4w9WgXcQ/hqdefault.jpghttps://img.youtube.com/vi/dQw4w9WgXcQ/default.jpg