You can upload thumbnails to YouTube as JPEG or PNG files—the best format depends on your design and the custom thumbnail image size. JPG files are often smaller than PNGs, but PNGs can better preserve fine image details.