Username rules
How long a username can be and which characters each platform allows. Checked October 2026 against each platform's own help pages.
| Platform | Length | Allowed |
|---|---|---|
| GitHub | 1 to 39 | Letters, numbers and single hyphens. |
| X (Twitter) | 4 to 15 | Letters, numbers and underscores. |
| 1 to 30 | Letters, numbers, full stops and underscores. | |
| TikTok | 2 to 24 | Letters, numbers, underscores and full stops. |
| YouTube handle | 3 to 30 | Letters and numbers, plus underscores, hyphens, full stops and middle dots. |
| Twitch | 4 to 25 | Letters, numbers and underscores. |
| 3 to 20 | Letters, numbers, hyphens and underscores. |
Found a name that fits everywhere? Check if it is taken.
A check, not legal clearance. Platforms change their rules; the linked help page is the final word.