Skip to content

Hashtags

The following mostly illustrates how the name of a hashtag gets transformed by the applications. The input has the form

"tag": {"type": "Hashtag", "name": "${tag}"}

The last two examples illustrate more technical behavior. For particularities in parsing see Hashtags and JSON-LD.

Support Table Preview

tag Object Activity
#test Object Activity
nohash Object Activity
#with-dash_under Object Activity
#with white space Object Activity
#with(subtag) Object Activity
#with123 Object Activity
#1234 Object Activity
#CamelCase Object Activity
#ümläütß Object Activity
#🐄 Object Activity
#❤️ Object Activity
#牛 Object Activity
#test
broken url parameter
Object Activity

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/DzgiShSJuKE",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#test",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/8pzSKLe1MIY",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "nohash",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/70gVRQuRLaI",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#with-dash_under",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/0b6TV8ZNnsc",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#with white space",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/6Os5UotvK-c",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#with(subtag)",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/pONAqW07lto",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#with123",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/tBfDXzIsmqU",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#1234",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/8XKL5IW8zoY",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#CamelCase",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/WJuViSG8B4M",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#\u00fcml\u00e4\u00fct\u00df",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/2Y4de0UQJW8",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#\ud83d\udc04",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 11

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/9EbWXakvOeg",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#\u2764\ufe0f",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 12

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/object/enrchIdofQo",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#\u725b",
    "type": "Hashtag"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Object 13

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "broken url parameter",
  "id": "http://actor.example/object/CUuC4ndzjN0",
  "published": "2025-10-12T08:53:00Z",
  "tag": {
    "name": "#test",
    "type": "Hashtag",
    "url": "https://ignore.example"
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Note"
}

Activities

Activity 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/5mATlMd9k8k",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/zojqIe3kLYQ",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#test",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/qDoBwrc2eSw",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/gsSsUQTo01w",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "nohash",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/H9t4O593or8",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/51K3AYakyHQ",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#with-dash_under",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/Joc0_tad5sc",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/GX46hcokr5g",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#with white space",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/1CLO-CrwKo0",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/V41lbx68JkA",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#with(subtag)",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/5VR-ACYzqME",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/2oYhdUgQnc4",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#with123",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/oVNl2gFtObE",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/63QxedOo6WQ",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#1234",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/53_-31tido4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/dr5mhlRw9Gc",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#CamelCase",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/OCNhlxS8Wag",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/47Rz0j276_Q",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#\u00fcml\u00e4\u00fct\u00df",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/TotJ3VbHwvs",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/zDy0l4MgNo0",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#\ud83d\udc04",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 11

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/E8Qy0BEjzF8",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/ChehA3LuJEU",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#\u2764\ufe0f",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 12

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/mdSf-55mhnM",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/JG8wdldr1wY",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#\u725b",
      "type": "Hashtag"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}

Activity 13

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/activity/Ee4z8M4YWM4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "broken url parameter",
    "id": "http://actor.example/object/HZG7sFCdUjA",
    "published": "2025-10-12T08:53:00Z",
    "tag": {
      "name": "#test",
      "type": "Hashtag",
      "url": "https://ignore.example"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}