---
title: "profile:username · Meta Tag · zhead"
canonical_url: "https://zhead.dev/meta/profile-username"
last_updated: "2026-08-19T02:35:56.724Z"
meta:
  description: "Provides a short, unique username for the person represented by a profile page."
  "og:description": "Provides a short, unique username for the person represented by a profile page."
  "og:title": "profile:username · Meta Tag · zhead"
---

Open Graph metadata

# profile:username

Provides a short, unique username for the person represented by a profile page.

## Code examples

Good example

```
<meta property="profile:username" content="exampleuser">
```

A short username without a platform-specific @ prefix.

Avoid this example

```
<meta property="profile:username" content="">
```

An empty value identifies no username.

Avoid this example

```
<meta property="profile:username" content="John Doe">
```

A display name with spaces is not a short username.

Good example

```
<meta property="profile:username" content="brand_123">
```

Numbers and underscores can be part of a username.

## Recommendations

- 01 Match the Profile Use the same username shown on the page this metadata describes.
- 02 Keep It Short Open Graph defines this field as a short unique string, not a full name or profile URL.

## Related documentation

- [Open Graph protocol](https://ogp.me/)

## Related meta tags

### [profile:first\_name](https://zhead.dev/meta/profile-first-name)

property

Provides the given name of the person represented by a profile page.

```
<meta property="profile:first_name" content="John">
```

A given name written as plain text.

### [profile:gender](https://zhead.dev/meta/profile-gender)

property

Sets the Open Graph gender value for the person represented by a profile page. The protocol only defines male and female.

```
<meta property="profile:gender" content="male">
```

One of the two values defined by Open Graph.

### [profile:last\_name](https://zhead.dev/meta/profile-last-name)

property

Provides the family name of the person represented by a profile page.

```
<meta property="profile:last_name" content="Doe">
```

A family name written as plain text.

### [profile:username](https://zhead.dev/meta/profile-username)

property

Provides a short, unique username for the person represented by a profile page.

```
<meta property="profile:username" content="exampleuser">
```

A short username without a platform-specific @ prefix.