Username Format Validator

Instantly see which platforms accept your handle and which reject it - with a clear reason for every failure.

Researched by NameSniper ResearchVerified October 2026We verify platform rules against official sources and re-check regularly.

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.

MessageWhat 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).

Frequently Asked Questions

Can I use dots in an Instagram username?

Yes. Instagram accepts periods, but not at the start or end of a username and never two in a row. Underscores are more forgiving: a leading or trailing underscore, or two in a row, is accepted. Instagram's help center doesn't publish these rules; they are what its own sign-up form enforces.

Can I use special characters on TikTok?

Only underscores and periods. TikTok usernames are 2-24 characters of letters, numbers, underscores and periods, and the only placement rule TikTok publishes is that a username can't end with a period. Hyphens, spaces and other symbols are rejected.

What does "Usernames may only contain letters, numbers, and _" mean?

It is Roblox's message for a username with a character other than A-Z, 0-9 or the underscore, such as a space, period or hyphen. Roblox also allows only one underscore, never first or last, and 3-20 characters in total.

What do "alphanumeric" and "single hyphens" mean in a username error?

Alphanumeric means letters and digits only, with no spaces or symbols. "Single hyphens" means hyphens are allowed one at a time, so my-name passes but my--name fails. If the message also mentions the start or end, a hyphen can only sit between two other characters.

Why does a site say my username has special characters?

Because it contains something outside that site's allowed set: a space, punctuation, a symbol such as @ or #, an accented letter or an emoji. Sites differ on whether underscores, periods and hyphens count, so check that platform's rules on this page or type the name into the validator.

Does this check username availability?

No. This tool only tests format validity (characters, length, platform rules). To check if a username is actually available on each platform, use the full NameSniper checker.

Can I use emoji in usernames?

No. None of the platforms in the validator accepts emoji in a username. Display names and bios are where emoji go - see the Social Media Character Limits tool for those limits.

Why does Bluesky accept my handle without a domain?

Bluesky uses DNS-style handles that look like alice.bsky.social. When you type just the short part (like alice), Bluesky appends .bsky.social during sign-up. The validator accepts both forms.

Can I use capital letters in usernames?

Where platforms say so, usernames are case-insensitive: YouTube, Bluesky and Telegram state it outright, so BrandName and brandname are the same handle. npm is the exception: it rejects capital letters instead of treating them as lowercase. Lowercase everywhere is the safe choice.

Which platforms allow hyphens in usernames?

Among the platforms we check, hyphens are accepted by Bluesky, GitHub, Linktree, npm, Snapchat, and YouTube and rejected by Instagram, Kick, Pinterest, Roblox, Telegram, Threads, TikTok, Twitch, and X (Twitter). None of them explains why. If you need a word break, the underscore is rejected by the fewest platforms we check.

Can I use international or non-Latin characters?

YouTube is the exception among the platforms we check: handles can use letters from many languages, with different length limits for some scripts. Platforms that publish a character set otherwise limit usernames to Latin letters, numbers and a few separators, so for one identity everywhere, stick to lowercase a-z and 0-9.

Does this check reserved words or trademarks?

No - the validator checks length and characters only. Some platforms also block certain words: X won't let a username contain "Admin" or its own brand name, and LinkedIn profile URLs can't contain "linkedin". For trademark conflicts, Day Pass, Pro, and Business include on-demand USPTO trademark screening.

Check All Platforms at Once

Don't check one platform at a time. NameSniper checks domains and social handles in a single search, with optional USPTO trademark screening.