YouTube Thumbnails.info

It happens way to often that I need to pull the thumbnail image for a YouTube video on a web post that I'm working on. Seems like YouTube would make this relatively easy, but it's not.

Turns out though that there's a standard naming convention for the different sized files, but not all videos have all sizes. That's where this tool comes in. Enter the URL to the YouTube video you're interested in and click the Get Thumbnails button and a bit of JavaScript will run and check which images are available and display previews with the URLs.

Images

Enter a YouTube URL into the box above and press the button

How does this work?

Turns out that YouTube thumbnails have a standard naming convention. Image urls are usually in the format img.youtube.com/vi/_ID_/_SIZE_.jpg where _SIZE_ is an image size from the list below.

Image Size
Dimensions
Description
maxresdefault
Full resolution image matching the uploaded. This image will not always exist.
sddefault
640x480
hqdefault
480x360
Large Preview
mqdefault
320x180
Large Preview
default
120x90
Large Preview
0
480x360
Large Preview
1
120x90
First small thumbnail
2
120x90
Second small thumbnail
3
120x90
Third small thumbnail

What this script does is attempt to load each of these images, in the same order as the table. If the image is found it's displayed along with the URL. If the image size doesn't exist then it's skipped.