Profile address
- Input
- https://www.roblox.com/users/156/profile
- Expected output
- 156
The number between users/ and /profile.
how to find roblox user id
The ID shows up in four different places and each fits a situation: the browser, Roblox Studio, an API call and the Lookup tab of this tool, which accepts a name, a number or the profile link.
The number between users/ and /profile.
Makes a web call and raises an error if the name does not exist.
Route users.roblox.com/v1/usernames/users.
A name with a space, only findable by number.
A dot is not accepted in today's names.
Type the username in the Lookup tab. The ID shows up large, with a copy button. On the website the same number is in the profile address: roblox.com/users/156/profile is the account with ID 156 (builderman). You can also paste that whole link here and the tool extracts the ID.
Not directly. The simplest path is opening the profile in a browser and reading the number in the address, or typing the username in the Lookup tab of this tool.
No. The routes used are public and the tool asks for no login, password or cookie. Reading private account data needs authentication, which is out of scope here.
For connected players, use Player.UserId, which makes no network call. Keep GetUserIdFromNameAsync for names typed by someone or coming from a list, and wrap it in pcall.
| Code | Meaning |
|---|---|
| 0 | Available to register Roblox accepted this name in the sign-up check. |
| 1 | Already in use An account with this name exists. Usernames are unique and not case sensitive. |
| 2 | Rejected by moderation Roblox's content filter blocked this name as inappropriate for the platform. |
| 3 | Invalid length The name must be 3 to 20 characters long. |
| 4 | Underscore at the start or end The name cannot start or end with _. |
| 5 | Too many underscores The name can have at most one _. |
| 6 | Contains spaces Spaces are not allowed. Use an underscore instead. |
| 7 | Characters not allowed Only letters A to Z (no accents), digits 0 to 9 and one underscore are valid. |
| 10 | Looks like personal information Roblox's documentation describes this code as a name that contains personal data, such as a phone number or email. |
| 12 | Reserved name Roblox's documentation describes this code as a name reserved by the platform. |