# YouTube character counter

PubNio refuses a YouTube caption over 5,000 characters. The sample below counts 134, so it passes. Paste your own text to count it the same way, in your browser. Platform docs read 2026-12-05.

## Tool

Type or paste a caption; the count and any issue update as you type.

- Sample: "In this episode we rebuild a 1972 tube amplifier from the chassis up. Chapters below. Parts list and schematics in the pinned comment."
- Result: 134 of 5,000 characters; passes.

## Rules it applies

- Limit: 5,000 characters. At 5,000 the caption passes; at 5,001 the validator answers `caption_too_long`: "This caption contains 5001 characters. The limit is 5000."
- `<` or `>` in the title or description fails with `invalid_field`, for example "Remove angle brackets from the YouTube description."
- Counting is in UTF-16 code units after trimming, so 🎸 counts 2 and é counts 1.

## What YouTube documents

| Item | Platform documents | PubNio enforces | Source |
| --- | --- | --- | --- |
| Description | 5,000 characters | 5,000 characters, counted in UTF-16 code units | [YouTube Data API: Videos resource](https://developers.google.com/youtube/v3/docs/videos), read 2026-12-05 |
| Title | 100 characters | 100 characters (request schema) | [YouTube Data API: Videos resource](https://developers.google.com/youtube/v3/docs/videos), read 2026-12-05 |

Where the two columns differ, the tool applies PubNio's value, because that is what PubNio checks before it publishes.

## Limits

- It runs in your browser and sends nothing to PubNio.

## Sources

- [YouTube Data API: Videos resource](https://developers.google.com/youtube/v3/docs/videos), read 2026-12-05

## Related

- [YouTube media checker](https://pubnio.com/tools/youtube-media-checker)
- [YouTube API limits](https://pubnio.com/docs/providers/youtube/limits/)
- [YouTube publishing API](https://pubnio.com/platforms/youtube)
- [All character counters](https://pubnio.com/tools/character-counters)

