Myth check, read in the API reference
YouTube tags: the 500-character limit and how to count it

Short answer
The tag limit is 500 characters. YouTube Help gives no number; the Data API reference does: 500 characters for the whole list, commas included, and a tag with a space counts two extra quotation marks. Paste your tags into the Koldflux tag counter, which applies that rule, and trim until it reads 500 or less. The same Help page calls the role of tags in discovery "minimal".
Key takeaways
- The API reference for snippet.tags[] says the list has "a maximum length of 500 characters", and commas between items count toward it.
- A tag with a space counts as if wrapped in quotation marks: Foo-Baz is 7 characters and Foo Baz is 9, in YouTube's own example.
- YouTube Help for tags states no character limit. It says "tags play a minimal role in your video's discovery" apart from commonly misspelled content.
- One constructed list, written with commas only, is exactly 500 by the rule; a plain counter reads it as 450. The tag counter and the published script read 500.
- The tool and our script gave the same total on 16 of 17 test lists, and 15 of them agree for the right reason. Both lists typed one tag per line are read by the tool as a single tag, and one of them gives the same total (22) by coincidence.
The 500 comes from the API reference, not from Help
Not from the Help page about tags. On November 25, 2026 the YouTube Help article "Add tags to your YouTube videos" was opened in a browser and its text saved; it states no character limit. The number sits in the YouTube Data API reference for the videos resource, under snippet.tags[], with the rules for counting it.
| Page | What it says | Number |
|---|---|---|
| YouTube Help: Add tags to your YouTube videos | "Tags can be useful if the content of your video is commonly misspelled. Otherwise, tags play a minimal role in your video's discovery." | none |
| Data API: videos resource, snippet.tags[] | "The property value has a maximum length of 500 characters." Commas between items count, and a tag containing a space is handled as though wrapped in quotation marks, which count too. | 500 |
| Data API: videos.insert and videos.update | The error table lists badRequest (400) invalidTags: "The request metadata specifies invalid video keywords." It does not say when this fires. | none |
The API reference is written for developers who upload through code, so it states the rule for the list that code sends. It does not say what the Studio screen does when you type a long list, and no account was used to find out. Read the 500 as YouTube's documented limit for the tags property, and expect Studio to follow it; that part is our expectation, not a quote.
One third-party page we saw adds a limit of 30 characters per tag. None of the YouTube pages above states a 30, so this page does not give one.
How do you count a tag list the way YouTube writes the rule?
Three things add up: the letters of each tag, one comma between neighbouring tags, and two extra characters for every tag that contains a space. The figure shows three tags: Foo-Baz and Foo Baz are YouTube's own example, and cat video is ours.
The sum for a list of n tags is the length of every tag, plus n minus 1 commas, plus 2 for each tag with a space. The tag counter and the script trim a space after a comma and do not count it; the API reference does not mention that case, so this is our reading, not a quoted rule.
Controls first: YouTube's own pair, Foo-Baz as 7 and Foo Baz as 9, came out as 7 and 9 in both the tag counter and the script below. The 29 in the figure was checked by the script (the run is in commands.log) and by hand: 7 + 9 + 11 + 2 commas.

Counting it in the Koldflux tag counter
The YouTube caption limit checker has a tag box labelled "YouTube tags, comma separated". It runs in your browser, so the tags stay on your device. It splits on commas, trims each tag, ignores empty ones and adds 2 for a tag with a space.
- Open the caption limit checker and find the tag box.
- Paste your tags separated by commas. Use commas: a list with one tag per line and no commas is read as a single tag.
- Read the line "N / 500 characters". Over 500 it says how many characters over; above 450 it says "close to the limit".
- Delete tags from the end until the total is 500 or less, and read the line again.
The same 31-tag list gave 559 in the script, so the two agree there. That agreement is not independent proof, since both were written to the same rule; the independent anchor is the 7 and 9 from YouTube's example.
Free tool:Count your YouTube tags against 500 (free, in your browser)

Why does a plain character counter give the wrong number?
A plain counter counts the characters you pasted and knows nothing about the quotation marks. We pasted the same lists into the Koldflux word counter, which is a plain character counter, and its number differs from the rule in two ways: it misses the 2 quotation marks of every multi-word tag, and it counts every space typed after a comma, which the rule does not. The gap is two per multi-word tag, minus one per space after a comma.
| List | Tag counter | Word counter |
|---|---|---|
| Foo Baz, one tag with a space | 9 | 7 |
| Ten two-word tags | 129 | 118 |
| 31 two-word tags | 559 | 497 |
| List built to be exactly 500 by the rule | 500 | 450 |
| The same list plus one character | 501 | 451 |
Same tag lists in the tag counter and the word counter.
The rows differ in how they were typed. The 31-tag list and the two lists built to be 500 and 501 use a comma with no space after it, so the gap is two per multi-word tag (31 tags: 62, 559 against 497). The ten-tag rows use ", " between tags: ten single-word tags read 54 in the tag counter and 63 in the plain counter, higher, because of the 9 spaces; ten two-word tags read 129 and 118, a gap of 20 minus 9 = 11. A comma-only list that the word counter shows as 450 is exactly at the documented limit by the rule; trusting the plain counter, you would think you have 50 characters left.
Free tool:Count characters in any text
Capacity: how many tags fit in 500 characters
It depends on the shape of your tags. The table is computed for lists where every tag has the same length, and each boundary was typed into the tag counter: the "fits" list read at or under 500, and the list with one more tag read over.
| Tag shape | Tags that fit | Characters used | One more tag |
|---|---|---|---|
| One word, 4 letters | 100 | 499 | 101 tags = 504 |
| One word, 6 letters | 71 | 496 | 72 tags = 503 |
| One word, 8 letters | 55 | 494 | 56 tags = 503 |
| One word, 12 letters | 38 | 493 | 39 tags = 506 |
| Two words, 4+4 letters (costs 11 each) | 41 | 491 | 42 tags = 503 |
| Two words, 6+6 letters (costs 15 each) | 31 | 495 | 32 tags = 511 |
All six boundaries passed in the tool. Look at the two-word rows: a two-word tag costs its letters, the space and the 2 quotation marks, so 4+4 letters cost 11.
How do you trim a list that is over 500?
For one list, delete tags in the tool until it reads 500 or less. For many lists, count-tags.py counts a file and, with --fit, keeps tags from the start of your list until the next one would pass 500, then drops everything after it, including shorter tags that would still fit, and prints the dropped ones. It needs Python 3 and nothing else. Save it from koldflux.com/hub-media/youtube-tags-character-limit/count-tags.py.
Give it a text file with tags separated by commas or one per line. It prints the number of tags, how many have a space, the comma count, the total of 500 and then OK or OVER. Exit code 0 is within the limit, 1 is over, and 2 means the file could not be read or holds no tags.
On the 31-tag list it printed 559 of 500 and OVER by 59, and with --fit it kept 27 of 31 tags (491 characters) and dropped four. The tool read the kept list as 491, and the kept list plus the first dropped tag as 507. On a short test file it printed 46 of 500 and exited 0.
It ran 19 times, with edge inputs: a missing file, an empty file, a file of only commas, Windows line breaks, a file saved with a BOM, Hindi tags, a folder given instead of a file, a UTF-16 file, no argument and a first tag of 600 characters. Each unreadable case exits 2 with a message. Every run is in commands.log. --fit stops at the first tag that does not fit: with a first tag of 600 characters it kept nothing, although the later tag ok costs only 2. Put the tags you care about first.
python3 count-tags.py tags.txt
python3 count-tags.py --fit tags.txtDo tags still matter, and what does YouTube say they do?
What the Help page says they do
Only what the Help page says, and it is modest. It describes tags as descriptive keywords that help viewers find content, and then says "Your video's title, thumbnail, and description are more important pieces of metadata for your video's discovery." It names one use: content that is commonly misspelled. "Otherwise, tags play a minimal role in your video's discovery."
To find the field in Studio: for a new video, Create, Upload, then "More options"; for an uploaded video, Content, open the video, then "Show more".
What it warns against
The same page warns: "Adding excessive tags to your video description is against our policies on spam, deceptive practices, and scams." Help does not give a number for "excessive", and the quoted sentence names the video description, not the tag field. Our reading is that stuffing the tag field is a poor idea, so filling all 500 characters is not a goal; that step is ours, not Help's. This page makes no claim about ranking beyond those words, and nothing here measures it.
Tags are also not hashtags. Hashtags go in the title or description and have their own limit, covered in the hashtag limits guide.
What this check does not cover: its limits
We read three YouTube pages and ran one tool and one script. No YouTube account, upload or API call was used, so this page cannot say what Studio's own counter shows, what happens when a list is over, or whether a tag-count limit exists. Nothing here shows a per-tag limit either.
The 17 lists are constructed. They show that the tool and the script count the way the API reference describes. They do not show that YouTube counts typed quotation marks, a non-breaking space or emoji the same way. In the tests a non-breaking space did not count as a space (7), typed quotation marks counted as ordinary characters (23 for two quoted two-word tags), and each emoji counted 1; those are the counters' choices, not YouTube's stated rules.
One known quirk: the tool reads a line break as part of a tag, not as a separator, so both lists typed one tag per line were read as a single tag. Two lines, "red apple" and "blue sky", gave 20 in the tool and 22 in the script. The list cats, kitten, play, funny, one per line, gave 22 in both, but only by coincidence: the tool read one tag of 22 characters, the script four tags and three commas. Use commas in the tool.
Do it in your browser
Free Koldflux tools, no account needed.
Count your YouTube tags against 500 (free, in your browser)Count characters in any text
Questions people ask
What is the YouTube tag character limit?
The Data API reference for snippet.tags[] gives a maximum of 500 characters for the whole list. Commas between tags count, and a tag containing a space counts two extra characters. YouTube Help for tags states no number.
Do commas and spaces count toward the 500?
Commas do, per the API reference. A space inside a tag makes the API treat the tag as wrapped in quotation marks, which count: Foo-Baz is 7 characters and Foo Baz is 9. A space after a comma in your own list is not mentioned there.
Is there a limit per tag?
Neither page read states one. One third-party page we saw says 30 characters; this page does not repeat that figure because no YouTube page read supports it.
What happens if the tag list is over 500?
The pages read do not say. The API error table lists invalidTags with the text "The request metadata specifies invalid video keywords", without saying when it fires. Studio was not tested.
Do YouTube tags help a video rank?
YouTube Help says title, thumbnail and description matter more, and that tags play a minimal role, except for commonly misspelled content. This page makes no claim beyond that.
Are tags the same as hashtags?
No. Tags are the keywords field in Studio. Hashtags are written with a # in the title or description and have their own rules.
Related
More guides on this topic
Sources and how we checked
- YouTube Data API: Videos resource, snippet.tags[] (official, read November 25, 2026) (checked 2026-11-25)
- YouTube Help: Add tags to your YouTube videos (official, read November 25, 2026) (checked 2026-11-25)
- YouTube Data API: Videos.insert, error table (official, read November 25, 2026) (checked 2026-11-25)
- YouTube Data API: Videos.update, error table (official, read November 25, 2026) (checked 2026-11-25)
- Koldflux YouTube caption limit checker, tag counter (Koldflux tool, run November 25, 2026) (checked 2026-11-25)
- Koldflux Word counter (Koldflux tool, run November 25, 2026) (checked 2026-11-25)
- Koldflux test log: 17 tag lists, tool, word counter, script, capacity table (Koldflux measurement, November 25, 2026) (checked 2026-11-25)
- Commands log: the published commands, the commands as run, exit codes and edge cases (Koldflux) (checked 2026-11-25)
- count-tags.py: count a tag list by the API rule and trim it with --fit (Koldflux, Python 3 script) (checked 2026-11-25)
- mkcases.py: builds the 17 test lists with the answers written first (Koldflux, Python 3 script) (checked 2026-11-25)
- tool-run.cjs and wc-run.cjs: drive the tag counter and the word counter in Chromium (Koldflux, Node.js with Playwright) (checked 2026-11-25)
- compare.py and capacity.py: compare the counters and compute the capacity table (Koldflux, Python 3 scripts) (checked 2026-11-25)
- YouTube Help and API reference excerpts as read (Koldflux, saved text) (checked 2026-11-25)
- YouTube Data API: videos.update error row as read (Koldflux, saved text) (checked 2026-11-25)
On November 25, 2026 the YouTube Help tags article, the Data API videos resource and the videos.insert and videos.update pages were opened in headless Chromium and their text saved (the Help excerpt holds only the sentences used, and the error row of videos.insert and videos.update is saved for each); the sentences above were quoted from the saved files and a script confirmed each quote is present. The Koldflux caption limit checker and word counter were driven in headless Chromium with 17 tag lists whose answers were computed first by count-tags.py, with YouTube's own Foo-Baz and Foo Baz example as controls. The capacity table was computed and each boundary typed into the tool. The published commands were run on a test file and edge inputs. No YouTube account, upload or API call was used.