# What are the Discourse rules for usernames?

**URL:** <https://meta.discourse.org/t/what-are-the-discourse-rules-for-usernames/160367>\
**Category:** Support\
**Created:** [August 10, 2020, 3:08pm UTC](https://meta.discourse.org/t/what-are-the-discourse-rules-for-usernames/160367 "2020-08-10T15:08:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [August 10, 2020, 4:24pm UTC](https://meta.discourse.org/t/what-are-the-discourse-rules-for-usernames/160367/2 "2020-08-10T16:24:43Z")

</div>

Welcome, @abi_at_work!

An easy way to answer your question empirically is to go to [try.discourse.com](http://try.discourse.com) and see what usernames you can create there!

If you want to know exactly, you can look at the code:

> <https://github.com/discourse/discourse/blob/main/app/models/username_validator.rb>

---

_[View the full topic](https://meta.discourse.org/t/what-are-the-discourse-rules-for-usernames/160367)._
