Why format rules vary
Every platform has its own rules for what characters are allowed, where dots can appear, whether consecutive underscores are permitted, and how capitalization is treated. A handle with a period can pass on Threads and fail on Twitch; one with a hyphen can pass on GitHub and fail on Instagram.
The safest cross-platform pattern
If you want one handle that passes the format rules on every platform we check:
- 5-15 characters. Snapchat and X (Twitter) set the 15-character ceiling; Telegram and X (Twitter) need at least 5.
- Lowercase letters and numbers. Capital letters are rejected by npm.
- Start with a letter. A leading digit is rejected by Snapchat and Telegram.
- Skip separators if you can. The underscore is rejected by Bluesky and GitHub. The period is rejected by GitHub, Kick, Pinterest, Roblox, Telegram, Twitch, and X (Twitter). The hyphen is rejected by Instagram, Kick, Pinterest, Roblox, Telegram, Threads, TikTok, Twitch, and X (Twitter). If you need one, the underscore is rejected by the fewest.
A plain lowercase handle of letters and numbers in that length range passes format validation on every platform we check. Type it into the validator above to confirm.
Sign-up error messages, decoded
The exact messages platforms show when a sign-up or rename form rejects a username, what each one means, and how to fix it.
| Message | What it means and the fix |
|---|---|
| Bluesky | |
| “Username must only contain letters (a-z), numbers, and hyphens” | The name has a character other than a-z, 0-9 or a hyphen, such as an underscore, period or space. A period counts too: Bluesky adds the .bsky.social part for you. Fix: Use letters, numbers and hyphens only, and type just the first part of the handle. |
| “Username cannot begin or end with a hyphen” | A hyphen is the first or last character. Fix: Move the hyphen between two words, or remove it. |
| npm | |
| “Name must be lowercase” | The username has a capital letter. npm rejects capitals instead of converting them to lowercase. Fix: Retype it in lowercase. |
| Roblox | |
| “Usernames may only contain letters, numbers, and _.” | Something other than A-Z, 0-9 or an underscore is in the name: a space, period, hyphen, accented letter or symbol. Fix: Delete those characters. If you need a word break, use one underscore in the middle. |
| “Usernames can be 3 to 20 characters long.” | The name is shorter than 3 or longer than 20 characters. Fix: Add or remove characters until the name is 3-20 characters long. |
| “Usernames can have at most one _.” | The name has two or more underscores, anywhere in it. Fix: Keep one underscore and remove the rest, or join the words without one. |
| “Usernames cannot start or end with _.” | The underscore is the first or last character. Fix: Move the underscore between two words, or drop it. |
| Telegram | |
| “Sorry, a username can't start with a number.” | The first character is a digit. Fix: Start with a letter. Digits are fine later in the name, so 2fast can become fast2. |
| “A username must have at least 5 characters.” | A username you set yourself needs 5-32 characters. Shorter ones exist only as collectibles. Fix: Lengthen it to at least 5 characters. |
| “Sorry, this username is invalid.” | Telegram shows this for any character other than a-z, 0-9 and the underscore, and for an underscore at the start or end. Fix: Remove spaces, periods, hyphens and symbols, and keep underscores between letters or digits. |
| TikTok | |
| “Only lowercase letters, numbers, underscores, or periods are allowed” | The name has a character TikTok does not accept, such as a space, hyphen, symbol, emoji or capital letter. Fix: Retype it in lowercase and swap any hyphens or spaces for an underscore or a period. |
| “Usernames can't end with a period” | The last character is a period. Periods are fine anywhere else in the name. Fix: Remove the final period, or move it between two words. |
| “Usernames can't contain numbers only” | The name is all digits. Fix: Add at least one letter, keeping the total at 24 characters or fewer. |
| X (Twitter) | |
| “Usernames can have letters, digits, and underscores, and must be 3–15 characters long.” | The name has a character other than A-Z, 0-9 or an underscore, or it is longer than 15 characters. X's help center says a new username needs at least 5, so a shorter one can still be refused. Fix: Remove spaces, periods and hyphens, and keep it to 5-15 characters. |
Each message is copied word for word from the platform's own text, checked November 2026, and links to it. Platforms reword these from time to time; for a platform not listed here, see its rules below.
Common wording, decoded
Most other sites reuse a handful of phrases. Here is what they mean:
- Alphanumeric: Letters and digits only (A-Z, 0-9). Spaces, punctuation, symbols and emoji are all excluded. Strip the name back to letters and digits, then add back only the separators the message names, such as an underscore or hyphen.
- Special characters: Anything outside the allowed set: spaces, punctuation, symbols like @ # & !, accented letters and emoji. Whether _ . and - count as special differs by site. Remove them. If the message lists exceptions, often the underscore, only those may stay.
- Single hyphens, consecutive, in a row: A separator can appear only one at a time: my-name passes, while my--name and my..name fail. Collapse doubled separators to one, or join the words without one.
- Cannot begin or end with: Separators such as _ . and - are allowed only between other characters, never first or last. Move the separator inside the name, or delete it.
- Must begin with a letter: The first character has to be a letter, not a digit or a separator. Move numbers to the end, so 2fast becomes fast2, or start with a word.
- Lowercase only, uppercase not supported: The site rejects capital letters instead of converting them. Retype the name in lowercase. Where capitals are accepted, they usually only change how the name is displayed.
- Taken or unavailable, versus invalid: Taken or unavailable means the format is fine but someone holds the name or the site blocks it. Invalid means the name breaks a format rule. For taken, change the name itself: reformatting the same name will not help. For invalid, fix the format, and the name may still be free.
- Reserved, not appropriate: The site blocks the word itself, whether or not anyone holds it: system words like admin or support, its own brand, or names its filter flags. Pick a different word. Adding characters around a blocked word often fails too: X refuses any username that contains "Admin".
- Might contain private information: The name looks like personal information, such as a phone number, and the site blocks it to protect you. Remove long runs of digits and anything that reads like a phone number or an address.
Username rules by platform
Every platform in the validator, with its sign-up length and allowed characters. Each rule links the official page it comes from; where a platform doesn’t publish a rule, the note says what we use instead.
- Bluesky: 3-253 characters; letters, numbers, hyphens (-) - case-insensitive (stored lowercase). Short form like "alice" (auto-appends .bsky.social) or full DNS like "alice.bsky.social". The protocol allows 253 characters, but Bluesky's help center caps custom-domain handles at 30. Rule source
- GitHub: 1-39 characters; letters, numbers, hyphens (-) - no leading, trailing, or consecutive hyphens. Rule source
- Instagram: 1-30 characters; letters, numbers, periods (.), underscores (_) - no consecutive periods, cannot start or end with a period. Instagram's help center doesn't publish these rules; they are what Instagram's own sign-up form enforces (checked October 2026). Rule source
- Kick: 4-25 characters; letters, numbers, and underscores (_). Kick publishes only the 25-character maximum. Its sign-up form confirmed the character set and maximum in October 2026; the 4-character minimum was observed there in August 2026. Rule source
- LinkedInRules only, not checked: 3-100 characters; letters, numbers, hyphens (-). Rule source
- Linktree: 1-50 characters; letters, numbers, periods (.), underscores (_), hyphens (-). Linktree doesn't publish exact length or character limits. Rule source
- npm: 1-214 characters; lowercase letters, numbers and hyphens (-). npm's docs only mention lowercase letters, hyphens and numbers; its own validator also accepts periods, underscores and ! ~ * ( ). Rule source
- Pinterest: 3-30 characters; letters, numbers, underscores (_) - must include at least one letter. Rule source
- RedditChecking paused: 3-20 characters; letters, numbers, underscores (_), hyphens (-). Reddit Help does not state the length or character limits. Rule source
- Roblox: 3-20 characters; letters, numbers, at most one underscore (_) - not as the first or last character. Rule source
- Snapchat: 3-15 characters; letters, numbers and one hyphen (-), underscore (_) or period (.) - must start with a letter and end with a letter or digit. Rule source
- SubstackChecking paused: 4-32 characters; letters and numbers only. Rule source
- Telegram: 5-32 characters; letters, numbers, underscores (_) - must start with a letter, no consecutive or trailing underscores. Telegram publishes 5-32 characters, a-z, 0-9 and underscores; the start, end and double-underscore rules are not published. Rule source
- Threads: 1-30 characters; letters, numbers, periods (.), underscores (_) - no consecutive periods, cannot start or end with a period. Threads doesn't publish its username rules; profiles created with Instagram follow Instagram's. Rule source
- TikTok: 2-24 characters; letters, numbers, underscores (_) and periods (.) - cannot end with a period. Rule source
- Twitch: 4-25 characters; letters, numbers, underscores (_). Twitch does not publish which characters a username may start with. Rule source
- X (Twitter): 5-15 characters; letters, numbers, and underscores (_) only. Rule source
- YouTube: 3-30 characters; letters and numbers in any of YouTube's 75 supported languages, underscores (_), hyphens (-), periods (.), middle dot (·) - cannot start or end with a separator. Rule source
Labelled rows are reference only: we don't check LinkedIn availability at all, and checks on Reddit and Substack are paused, so their rules are here for reference.
Building a validator of your own? A machine-readable version of these rules - length limits, regex patterns, and platform quirks - is published as a free dataset at github.com/NameSniperPro/username-rules (CC BY 4.0).