Use 16:9 for a regular YouTube video and 9:16 for a Short. YouTube Help currently recommends a 3840 × 2160-pixel video thumbnail or a 2160 × 3840-pixel Shorts thumbnail. The familiar 1280 × 720 export is still a practical 16:9 working size and the YouTube Data API’s usual maxres size. Convert by locking the aspect ratio, then choose either a crop that fills the canvas or padding that preserves the entire source. Never stretch width and height independently unless distortion is intentional.
Choose the correct YouTube thumbnail canvas
Start with the destination, not the source file. A normal video thumbnail is landscape; a Shorts thumbnail is portrait.
| Destination | Recommended canvas | Ratio | Minimum specified by YouTube | Practical alternative |
|---|---|---|---|---|
| Regular video | 3840 × 2160 px | 16:9 | 640 px wide | 1280 × 720 px, also used as the API’s usual maxres size |
| YouTube Short | 2160 × 3840 px | 9:16 | 640 px high | Use another 9:16 canvas that meets the minimum |
Keep these dimensions in pixels. Print resolution (DPI or PPI) does not change the size YouTube receives. YouTube recommends JPG or PNG. For video thumbnails, the stated limit is 2 MB on mobile and 50 MB on desktop; Shorts and podcast limits can vary by device or category, so check the limit shown in the upload interface.
Crop, contain, or stretch: which conversion is right?
Crop (cover)
Crop scales the image until every part of the destination is filled, then trims the overflow. It gives an edge-to-edge thumbnail and is usually best when the subject can lose some of the sides or top and bottom. Position the crop so faces, product edges, logos and headline text remain visible.
#1 Best Overall
Contain (pad)
Contain scales the complete source image until it fits inside the destination, leaving unused space. Fill that space with a solid color, a blurred copy of the image, or a designed background. This is the safe choice when cutting off any part of the subject would change the meaning.
Non-uniform stretch
Stretching width and height separately may fill the canvas, but it makes faces oval, circles elliptical and lettering visibly wrong. Avoid it for thumbnails. If the original and target ratios differ, crop or pad instead.
| Method | What remains intact | Trade-off | Best use |
|---|---|---|---|
| Crop/cover | Full-bleed composition | Edges are removed | Strong subject with expendable background |
| Contain/pad | Entire source and its framing | Bars or designed background appear | People, diagrams or logos that must stay complete |
| Stretch | All pixels, but not their geometry | Visible distortion | Only an intentional artistic effect |
How to convert an image in an editor
- Identify the destination. Select 16:9 for a regular video or 9:16 for a Short.
- Create a pixel-based canvas. Use 3840 × 2160 (or 1280 × 720 for a smaller working file) for a video, and 2160 × 3840 for a Short.
- Place the source as a proportional layer. Turn on “lock aspect ratio,” “constrain proportions,” or the equivalent before resizing.
- Choose cover or contain. For cover, enlarge until the canvas is full and reposition the crop. For contain, fit the whole image and design the remaining background.
- Keep critical content central. Leave breathing room around faces and text, and avoid putting a small word or logo on an extreme edge.
- Inspect at thumbnail size. Zoom out until the image is about the size viewers will see in a feed. Make sure the title remains legible and the subject is recognizable.
- Export. Choose JPG for photographic artwork and smaller files; choose PNG for crisp text, flat graphics or transparency. Check the resulting file size against the limit for the device and category where you will upload it.
Conversion math you can apply to any source
Let the source be W × H and the target be Tw × Th.
Check the ratios
The video target ratio is 16/9 = 1.777…. The Shorts target ratio is 9/16 = 0.5625. Compare W/H with the target ratio before deciding how much will be cropped or padded.
Contain (fit and pad)
Use the scale factor min(Tw/W, Th/H). Multiply both source dimensions by that factor, center the result on the target canvas, and fill the leftover area with your chosen background.
Cover (fit and crop)
Use max(Tw/W, Th/H). Multiply both dimensions by that factor, center the enlarged image, and trim the overflow. Reposition the crop if the subject is not centered.
Worked examples
- 1920 × 1080 to 1280 × 720: both are 16:9, so the scale is
1280/1920 = 2/3. The result is exactly 1280 × 720 with no crop or padding. - 1080 × 1080 to 1280 × 720, cover: scale to 1280 × 1280, then remove 560 pixels vertically in total (280 from the top and 280 from the bottom if centered).
- 1080 × 1080 to 1280 × 720, contain: scale to 720 × 720 and add 560 pixels of horizontal background in total.
- Landscape source to a Short: a 16:9 image placed on a 9:16 canvas will either lose substantial side content when covered or leave large top and bottom areas when contained. Consider making a new vertical composition rather than merely shrinking the landscape frame.
Batch conversion with Python and Pillow
The following script creates either a cover crop or a contain-and-pad image. It preserves proportions, centers the result, and writes JPG or PNG according to the output filename.
#!/usr/bin/env python3
import argparse
from pathlib import Path
from PIL import Image, ImageOps
def convert(source, destination, width, height, mode, background):
image = Image.open(source).convert("RGBA")
target = (width, height)
if mode == "cover":
result = ImageOps.fit(image, target, method=Image.Resampling.LANCZOS, centering=(0.5, 0.5))
else:
result = Image.new("RGBA", target, background)
fitted = ImageOps.contain(image, target, method=Image.Resampling.LANCZOS)
left = (width - fitted.width) // 2
top = (height - fitted.height) // 2
result.alpha_composite(fitted, (left, top))
output = Path(destination)
if output.suffix.lower() in {".jpg", ".jpeg"}:
result.convert("RGB").save(output, quality=90, optimize=True, progressive=True)
else:
result.save(output, optimize=True)
parser = argparse.ArgumentParser(description="Convert a YouTube thumbnail without stretching it")
parser.add_argument("source")
parser.add_argument("destination")
parser.add_argument("--width", type=int, required=True)
parser.add_argument("--height", type=int, required=True)
parser.add_argument("--mode", choices=("cover", "contain"), default="cover")
parser.add_argument("--background", default="#101010", help="Used for contain mode")
args = parser.parse_args()
convert(args.source, args.destination, args.width, args.height, args.mode, args.background)
Examples:
python convert_thumbnail.py original.jpg video.webp --width 1280 --height 720 --mode cover
python convert_thumbnail.py square.png short.png --width 2160 --height 3840 --mode contain --background "#111111"
Install Pillow in the Python environment first with python -m pip install Pillow. The script’s geometry is deterministic; you still need to inspect the composition and file size before uploading.
Free tools Windows power users keep installed
One-click scans. No signup required.
What happens if the dimensions are wrong?
The YouTube Data API documents thumbnail variants such as 120 × 90 (default), 320 × 180 (medium), 480 × 360 (high), 640 × 480 (standard) and 1280 × 720 (maxres), depending on the resource. It also states that an uploaded image that does not match required dimensions is resized without changing its aspect ratio; black bars may be added. Preparing the crop or padding yourself prevents YouTube from making that framing decision for you.
Upload the converted thumbnail in YouTube Studio
- Open YouTube Studio and select Content.
- Open the video, then use the thumbnail control in the video details page to upload your JPG or PNG.
- Save the change and wait for the new image to propagate. It may not appear immediately in every surface.
- For a Short, add the custom thumbnail in Studio on a computer, as required by the current YouTube workflow.
Custom thumbnails require a verified account. Your image must also follow YouTube Community Guidelines; sexual, hateful, violent or dangerous imagery can be rejected and may lead to enforcement action.
Quality, file-size and workflow checks
- Ratio: 16:9 for a regular video; 9:16 for a Short.
- Resolution: use the current larger recommendation when you need maximum source detail; use 1280 × 720 when your workflow benefits from a smaller 16:9 file.
- Text: test at feed size, not only at 100% zoom.
- Compression: if a JPG is too large, lower quality modestly before reducing dimensions. Remove unnecessary transparency and effects.
- Subject placement: review the crop on a duplicate layer so you can restore anything accidentally trimmed.
- Variants: keep a high-resolution master and export separate video and Shorts compositions; do not force one landscape design into a portrait frame.
Troubleshooting conversion and upload problems
The thumbnail looks stretched
Undo the resize and enable proportional scaling. Re-export with cover or contain. If the source ratio differs, stretching cannot preserve the subject’s geometry.
Important text or a face is cut off
Switch from an automatic centered crop to a manually positioned crop, or use contain mode with a designed background. Keep the critical area away from the edges of the destination canvas.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteRank #3
Black bars appeared
The source likely did not match the destination ratio and was fitted without a background design. Reconvert with your own padding color, blurred background or graphic layout so the bars become intentional.
The upload is rejected for size
Check whether you are uploading from mobile or desktop, because the stated video limits differ. Export JPG at a slightly lower quality, simplify effects, or use the 1280 × 720 working canvas while retaining 16:9.
The image is accepted but still looks soft
Start from the highest-quality original, avoid repeated JPEG re-saves, and export once at the target dimensions. A small source cannot gain detail merely by being enlarged.
The custom-thumbnail control is missing
Verify the account and confirm that it is verified. Shorts custom thumbnails are currently added from Studio on a computer.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →The new image has not appeared everywhere
YouTube notes that changes can take time to appear. Check the video details again, then allow propagation before replacing a correctly uploaded file.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Or skip the browser setup
If you need a clean screenshot of a webpage that contains your thumbnail mockup, ScreenshotNeo can return an image or PDF from one request. It accepts cookie and consent banners as a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets before capture; each cleanup step can be disabled. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and the response identifies the page and billing result in X-Page-Verdict and X-Billed headers. Its MCP server provides take_screenshot, get_page_info and capture_pdf for Claude, Cursor and other MCP clients.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://www.youtube.com -o thumbnail-preview.webp
See the ScreenshotNeo API documentation for all options, including viewport and device presets, retina scale, full-page or CSS-selector capture, dark mode, custom CSS and JavaScript, clicks, waits, blocked resources, headers, cookies, user agents, authorization, timezone, geolocation, transparent backgrounds, resizing, caching, signed links, asynchronous webhooks, bulk capture and usage reporting.
Rank #4
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://www.youtube.com"}, timeout=90)
open("thumbnail-preview.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://www.youtube.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
Every feature is included on every plan. The Free plan provides 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots, with yearly billing giving two months free. Create a free ScreenshotNeo account to try it without a card.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errorsFAQ
Can I use 1280 × 720 instead of 3840 × 2160?
Yes. 1280 × 720 remains a 16:9 working size and the YouTube Data API’s usual maxres size. Use the larger recommendation when preserving more source detail matters or your design workflow can handle the larger file.
Should a Shorts thumbnail be made from the video’s landscape thumbnail?
Only if the important subject survives a deliberate 9:16 composition. A separate vertical design is often clearer than an aggressive crop of the landscape artwork.
Does PNG always look better than JPG?
No. PNG can keep text, flat graphics and transparency crisp, while JPG is generally smaller for photographic images. Choose based on the artwork and the applicable upload limit.
Frequently Asked Questions
Can I use 1280 × 720 instead of 3840 × 2160?
Yes. 1280 × 720 remains a 16:9 working size and the YouTube Data API’s usual maxres size. Use the larger recommendation when preserving more source detail matters or your design workflow can handle the larger file.
Should a Shorts thumbnail be made from the video’s landscape thumbnail?
Only if the important subject survives a deliberate 9:16 composition. A separate vertical design is often clearer than an aggressive crop of the landscape artwork.
Does PNG always look better than JPG?
No. PNG can keep text, flat graphics and transparency crisp, while JPG is generally smaller for photographic images. Choose based on the artwork and the applicable upload limit.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

