YouTube Category ID List: All Category IDs and Names
The numbers behind YouTube's categories, for spreadsheets, scripts and the Data API.
Updated 2 December 2026 · 6 min readYouTube shows category names in Studio, but everywhere data leaves YouTube (API responses, exports, analytics scripts, spreadsheets) the category is a number. That makes a reference table handy, and it's surprisingly hard to find a complete one.
Here are all the IDs creators can pick, the extra IDs that appear in API data but can't be chosen, how to fetch the list yourself, and the gotchas that trip people up.
The 15 categories creators can pick
| ID | Category | ID | Category |
|---|---|---|---|
| 1 | Film & Animation | 23 | Comedy |
| 2 | Autos & Vehicles | 24 | Entertainment |
| 10 | Music | 25 | News & Politics |
| 15 | Pets & Animals | 26 | Howto & Style |
| 17 | Sports | 27 | Education |
| 19 | Travel & Events | 28 | Science & Technology |
| 20 | Gaming | 29 | Nonprofits & Activism |
| 22 | People & Blogs |
These are the categories in YouTube Studio's Category drop-down. Every video on YouTube is in exactly one category.
Other IDs you may see in data
The API's category list also contains IDs that aren't offered to creators (marked as not assignable). You may meet them in data, but you can't set them on a video:
| ID | Name |
|---|---|
| 18 | Short Movies |
| 21 | Videoblogging |
| 30 | Movies |
| 31 | Anime/Animation |
| 32 | Action/Adventure |
| 33 | Classics |
| 34 | Comedy (movies) |
| 35 | Documentary |
| 36 | Drama |
| 37 | Family |
| 38 | Foreign |
| 39 | Horror |
| 40 | Sci-Fi/Fantasy |
| 41 | Thriller |
| 42 | Shorts |
| 43 | Shows |
| 44 | Trailers |
Region and language
Getting the list from the API
The YouTube Data API's videoCategories.list method returns the categories for a region. Request part=snippet with a regionCode (for example US). Each item has an id, a snippet.title and a snippet.assignable flag: only assignable categories can be set on a video. The call costs 1 quota unit.
Reading a video's category ID
- Without code: paste a public video's link into the free Video Category Checker, which shows the category name and ID.
- With the API: videos.list with part=snippet returns snippet.categoryId for each video (as a string).
- In Studio: open the video and read the Category field under Show more (name only, no ID).
The Video Category Checker is the fastest way to get one ID.
Using category IDs in a spreadsheet
If an export gives you a column of category IDs, add a two-column lookup sheet (ID, name) from the table above, then use a lookup formula to turn each ID into a name. Store the ID column as text so "22" matches "22", then pivot by name to count videos per category.
How MyFreshTools helps
What the tool does
The Bulk Video Category Changer gives you the category of every upload on your own channel without an API key, a script or a lookup table. It counts videos per category and lets you change them in bulk. Changes are made safely: each video's title, description and tags are re-sent unchanged, so nothing is wiped.
Who it's for
- Creators who need their category data but don't write code.
- Developers who'd rather not build and maintain a category script.
- Analysts tidying a channel's categories before reporting.
How to use it
- Connect YouTube; the scan lists every upload with its category.
- Filter by category or search titles.
- Tick videos, choose a category and confirm to change them.
Requirements and limits
- You need a free account and Connect YouTube. Changing a category needs permission to edit your videos, so Google asks for read and edit access on one consent screen.
- Seeing your videos and their categories is free. The free plan shows your newest 100 uploads; paid plans check up to 5,000.
- Changing a category costs 1 credit per video YouTube confirms changed. Videos already in the chosen category, and any that fail, are never charged.
- Up to 100 videos per run. A bigger clean-up is a few runs.
- It only works on videos the connected channel owns, and it only changes the category. Titles, descriptions, tags and languages are sent back unchanged.
- Undo is free for 90 days. It skips any video whose category you have changed again since, so it never overwrites a newer edit.
Gotchas
| Gotcha | What happens | Avoid it by |
|---|---|---|
| Updating only categoryId via the API | videos.update replaces the whole snippet, clearing description and tags | Read the snippet first and re-send every field |
| Comparing IDs as numbers | "22" and 22 don't match in some tools | Treat IDs as text |
| Setting a non-assignable ID | The API rejects it | Use only the 15 assignable IDs |
| Hard-coding names | Names differ by language | Store IDs, look up names for display |
Frequently asked questions
22 is People & Blogs, the category most videos get when the uploader doesn't pick one.
27 is Education. 26 is Howto & Style and 28 is Science & Technology, the two categories it's most often confused with.
The YouTube Data API returns categoryId as a string, such as "22", not a number. Compare it as text, or convert it first, to avoid mismatches in code and spreadsheets.
The IDs for the main categories are the same across regions, but names can be translated and the list of assignable categories can differ by region. Request the list with your regionCode to be sure.
Yes, through the API: videos.update with part=snippet takes a categoryId. Because that call replaces the whole snippet, you must re-send the title, description and tags too, or they're cleared.
The takeaway
Fifteen IDs cover everything a creator can choose; 22 is People & Blogs, the default. Keep IDs as text, fetch the list per region for code, and never update a category through the API without re-sending the rest of the snippet.