# youtube-tags-character-limit test log, run 2026-11-25 (UTC) ## 1. Tag lists, tool vs script (script = rule from the Data API videos resource; controls: Foo-Baz = 7 and Foo Baz = 9, YouTube's own example) 17 cases; over list total 559 MATCH | empty | tool 0 | script None | pasted text 0 chars | tool flag: none MATCH | control Foo-Baz (YouTube says 7) | tool 7 | script 7 | pasted text 7 chars | tool flag: none MATCH | control Foo Baz (YouTube says 9) | tool 9 | script 9 | pasted text 7 chars | tool flag: none MATCH | ten short single-word tags | tool 54 | script 54 | pasted text 63 chars | tool flag: none MATCH | one 29-character phrase with spaces | tool 31 | script 31 | pasted text 29 chars | tool flag: none MATCH | list of exactly 500 by the rule | tool 500 | script 500 | pasted text 450 chars | tool flag: - close to the limit MATCH | same list plus one character (501) | tool 501 | script 501 | pasted text 451 chars | tool flag: - 1 over the limit MATCH | quoted multi-word tags typed by the user | tool 23 | script 23 | pasted text 20 chars | tool flag: none MATCH | Hindi tags with spaces | tool 33 | script 33 | pasted text 31 chars | tool flag: none MATCH | Japanese tags, one with a space | tool 12 | script 12 | pasted text 12 chars | tool flag: none MATCH | emoji tags | tool 11 | script 11 | pasted text 11 chars | tool flag: none MATCH | space after each comma | tool 22 | script 22 | pasted text 25 chars | tool flag: none MATCH | one tag per line (no commas) | tool 22 | script 22 | pasted text 22 chars | tool flag: none DIFF | two tags on two lines, each with a space | tool 20 | script 22 | pasted text 18 chars | tool flag: none MATCH | non-breaking space inside a tag | tool 7 | script 7 | pasted text 7 chars | tool flag: none MATCH | two-word tags, ten of them | tool 129 | script 129 | pasted text 118 chars | tool flag: none MATCH | realistic list: 31 two-word tags (tags-over.txt) | tool 559 | script 559 | pasted text 497 chars | tool flag: - 59 over the limit 16 of 17 cases: tool and script agree ## 2. Same lists in the Koldflux Word counter (a plain character counter), for contrast empty | word counter Characters NOT FOUND control Foo-Baz (YouTube says 7) | word counter Characters 7 control Foo Baz (YouTube says 9) | word counter Characters 7 ten short single-word tags | word counter Characters 63 one 29-character phrase with spaces | word counter Characters 29 list of exactly 500 by the rule | word counter Characters 450 same list plus one character (501) | word counter Characters 451 quoted multi-word tags typed by the user | word counter Characters 20 Hindi tags with spaces | word counter Characters 31 Japanese tags, one with a space | word counter Characters 12 emoji tags | word counter Characters 14 space after each comma | word counter Characters 25 one tag per line (no commas) | word counter Characters 22 two tags on two lines, each with a space | word counter Characters 18 non-breaking space inside a tag | word counter Characters 7 two-word tags, ten of them | word counter Characters 118 realistic list: 31 two-word tags (tags-over.txt) | word counter Characters 497 ## 3. How many equal tags fit in 500 (computed), boundary lists checked in the tag counter single word, 4 letters | tag costs 4 | 100 tags fit (499 characters) | 101 tags = 504 single word, 6 letters | tag costs 6 | 71 tags fit (496 characters) | 72 tags = 503 single word, 8 letters | tag costs 8 | 55 tags fit (494 characters) | 56 tags = 503 single word, 12 letters | tag costs 12 | 38 tags fit (493 characters) | 39 tags = 506 two words, 4+4 letters | tag costs 11 | 41 tags fit (491 characters) | 42 tags = 503 two words, 6+6 letters | tag costs 15 | 31 tags fit (495 characters) | 32 tags = 511 PASS | single word, 4 letters: 100 tags -> tool 499 | single word, 4 letters: 101 tags -> tool 504 PASS | single word, 6 letters: 71 tags -> tool 496 | single word, 6 letters: 72 tags -> tool 503 PASS | single word, 8 letters: 55 tags -> tool 494 | single word, 8 letters: 56 tags -> tool 503 PASS | single word, 12 letters: 38 tags -> tool 493 | single word, 12 letters: 39 tags -> tool 506 PASS | two words, 4+4 letters: 41 tags -> tool 491 | two words, 4+4 letters: 42 tags -> tool 503 PASS | two words, 6+6 letters: 31 tags -> tool 495 | two words, 6+6 letters: 32 tags -> tool 511 6 of 6 boundaries confirmed in the tool ## 4. --fit on a 559-character list: kept list goes back through the tool tags: 31, with a space: 31, commas: 30 total 559 of 500 characters OVER by 59 characters kept 27 of 31 tags, 491 characters: cat video alpha, cat video bravo, cat video charlie, cat video delta, cat video echo, cat video foxtrot, cat video golf, cat video hotel, cat video india, cat video juliet, cat video kilo, cat video lima, cat video mike, cat video november, cat video oscar, cat video papa, cat video quebec, cat video romeo, cat video sierra, cat video tango, cat video uniform, cat video victor, cat video whiskey, cat video xray, cat video yankee, cat video zulu, cat video one dropped: cat video two, cat video three, cat video four, cat video five tool on kept list: 491 | kept plus the first dropped tag: 507 ## 3. Reading of section 1 (added in the fixer pass) The 16 MATCH lines include "one tag per line (no commas)": the tool read ONE tag of 22 characters (3 line breaks counted), the script read 4 tags plus 3 commas, both 22 by coincidence. The tool also reads "two tags on two lines" as one tag (DIFF). So 15 of 17 agree for the right reason; both line-separated lists are read as one tag by the tool. Rows typed with ", " (ten single-word tags 54 vs pasted 63; space after each comma 22 vs 25; ten two-word tags 129 vs 118): the plain count includes the spaces after commas, the rule does not. Rows typed with "," only (exactly 500 -> 450, 501 -> 451, 31 tags 559 vs 497): gap = 2 per multi-word tag. Figure list Foo-Baz,Foo Baz,cat video: script 29 (commands.log, run 15 of 19), by hand 7 + 9 + 11 + 2 = 29.