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

X tag akkoma gotosocial hollo mastodon mitra pleroma sharkey
# #test
tag ‘#test’
test test test test test test
# nohash
tag ‘nohash’
nohash nohash nohash nohash nohash
# #with-dash_under
tag ‘#with-dash_under’
with-dash_under withdash_under with-dash_under with-dash_under
# #with white space
tag ‘#with white space’
with white space withwhitespace with white space with white space
# #with(subtag)
tag ‘#with(subtag)’
with(subtag) withsubtag with(subtag) with(subtag)
# #with123
tag ‘#with123’
with123 with123 with123 with123 with123 with123
# #1234
tag ‘#1234’
1234 1234 1234 1234 1234
# #CamelCase
tag ‘#CamelCase’
camelcase camelcase camelcase camelcase camelcase camelcase
# #ümläütß
tag ‘#ümläütß’
ümläütß ümläütß umlautß ümläütß ümläütß ümläütß
# #🐄
tag ‘#🐄’
🐄 🐄 🐄
# #❤️
tag ‘#❤️’
❤️ ❤️ ❤️
# #牛
tag ‘#牛’
# #widehashtag
tag ‘#widehashtag’
#widehashtag widehashtag #widehashtag
# #test
broken url parameter
test test test test test test
# #test
tag ‘#test’ not in list
test test test test test test

Details

tag tags Example
[
  {
    “type”: “Hashtag”,
    “name”: “#test”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://akkoma/tag/test”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “nohash”
  }
]
[
  {
    “name”: “nohash”,
    “url”: “http://akkoma/tag/nohash”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with-dash_under”
  }
]
[
  {
    “name”: “with-dash_under”,
    “url”: “http://akkoma/tag/with-dash_under”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with white space”
  }
]
[
  {
    “name”: “with white space”,
    “url”: “http://akkoma/tag/with%20white%20space”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with(subtag)”
  }
]
[
  {
    “name”: “with(subtag)”,
    “url”: “http://akkoma/tag/with(subtag)”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with123”
  }
]
[
  {
    “name”: “with123”,
    “url”: “http://akkoma/tag/with123”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#1234”
  }
]
[
  {
    “name”: “1234”,
    “url”: “http://akkoma/tag/1234”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#CamelCase”
  }
]
[
  {
    “name”: “camelcase”,
    “url”: “http://akkoma/tag/camelcase”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u00fcml\u00e4\u00fct\u00df”
  }
]
[
  {
    “name”: “\u00fcml\u00e4\u00fct\u00df”,
    “url”: “http://akkoma/tag/%C3%BCml%C3%A4%C3%BCt%C3%9F”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\ud83d\udc04”
  }
]
[
  {
    “name”: “\ud83d\udc04”,
    “url”: “http://akkoma/tag/%F0%9F%90%84”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u2764\ufe0f”
  }
]
[
  {
    “name”: “\u2764\ufe0f”,
    “url”: “http://akkoma/tag/%E2%9D%A4%EF%B8%8F”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u725b”
  }
]
[
  {
    “name”: “\u725b”,
    “url”: “http://akkoma/tag/%E7%89%9B”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “\uff03widehashtag”
  }
]
[
  {
    “name”: “\uff03widehashtag”,
    “url”: “http://akkoma/tag/%EF%BC%83widehashtag”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#test”,
    “url”: “https://ignore.example”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://akkoma/tag/test”
  }
]
{
  “type”: “Hashtag”,
  “name”: “#test”
}
[
  {
    “name”: “test”,
    “url”: “http://akkoma/tag/test”
  }
]
tag tags Example
[
  {
    “type”: “Hashtag”,
    “name”: “#test”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://gotosocial/tags/test”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “nohash”
  }
]
[
  {
    “name”: “nohash”,
    “url”: “http://gotosocial/tags/nohash”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with-dash_under”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with white space”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with(subtag)”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with123”
  }
]
[
  {
    “name”: “with123”,
    “url”: “http://gotosocial/tags/with123”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#1234”
  }
]
[
  {
    “name”: “1234”,
    “url”: “http://gotosocial/tags/1234”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#CamelCase”
  }
]
[
  {
    “name”: “camelcase”,
    “url”: “http://gotosocial/tags/camelcase”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u00fcml\u00e4\u00fct\u00df”
  }
]
[
  {
    “name”: “\u00fcml\u00e4\u00fct\u00df”,
    “url”: “http://gotosocial/tags/\u00fcml\u00e4\u00fct\u00df”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\ud83d\udc04”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u2764\ufe0f”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u725b”
  }
]
[
  {
    “name”: “\u725b”,
    “url”: “http://gotosocial/tags/\u725b”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “\uff03widehashtag”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#test”,
    “url”: “https://ignore.example”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://gotosocial/tags/test”
  }
]
{
  “type”: “Hashtag”,
  “name”: “#test”
}
[
  {
    “name”: “test”,
    “url”: “http://gotosocial/tags/test”
  }
]
tag tags Example
[
  {
    “type”: “Hashtag”,
    “name”: “#test”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “nohash”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with-dash_under”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with white space”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with(subtag)”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with123”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#1234”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#CamelCase”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u00fcml\u00e4\u00fct\u00df”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\ud83d\udc04”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u2764\ufe0f”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u725b”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “\uff03widehashtag”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#test”,
    “url”: “https://ignore.example”
  }
]
[]
{
  “type”: “Hashtag”,
  “name”: “#test”
}
[]
tag tags Example
[
  {
    “type”: “Hashtag”,
    “name”: “#test”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://mastodon/tags/test”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “nohash”
  }
]
[
  {
    “name”: “nohash”,
    “url”: “http://mastodon/tags/nohash”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with-dash_under”
  }
]
[
  {
    “name”: “withdash_under”,
    “url”: “http://mastodon/tags/withdash_under”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with white space”
  }
]
[
  {
    “name”: “withwhitespace”,
    “url”: “http://mastodon/tags/withwhitespace”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with(subtag)”
  }
]
[
  {
    “name”: “withsubtag”,
    “url”: “http://mastodon/tags/withsubtag”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with123”
  }
]
[
  {
    “name”: “with123”,
    “url”: “http://mastodon/tags/with123”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#1234”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#CamelCase”
  }
]
[
  {
    “name”: “camelcase”,
    “url”: “http://mastodon/tags/camelcase”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u00fcml\u00e4\u00fct\u00df”
  }
]
[
  {
    “name”: “umlaut\u00df”,
    “url”: “http://mastodon/tags/umlaut%C3%9F”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\ud83d\udc04”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u2764\ufe0f”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u725b”
  }
]
[
  {
    “name”: “\u725b”,
    “url”: “http://mastodon/tags/%E7%89%9B”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “\uff03widehashtag”
  }
]
[
  {
    “name”: “widehashtag”,
    “url”: “http://mastodon/tags/widehashtag”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#test”,
    “url”: “https://ignore.example”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://mastodon/tags/test”
  }
]
{
  “type”: “Hashtag”,
  “name”: “#test”
}
[
  {
    “name”: “test”,
    “url”: “http://mastodon/tags/test”
  }
]
tag tags Example
[
  {
    “type”: “Hashtag”,
    “name”: “#test”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://mitra/collections/tags/test”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “nohash”
  }
]
[
  {
    “name”: “nohash”,
    “url”: “http://mitra/collections/tags/nohash”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with-dash_under”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with white space”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with(subtag)”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with123”
  }
]
[
  {
    “name”: “with123”,
    “url”: “http://mitra/collections/tags/with123”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#1234”
  }
]
[
  {
    “name”: “1234”,
    “url”: “http://mitra/collections/tags/1234”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#CamelCase”
  }
]
[
  {
    “name”: “camelcase”,
    “url”: “http://mitra/collections/tags/camelcase”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u00fcml\u00e4\u00fct\u00df”
  }
]
[
  {
    “name”: “\u00fcml\u00e4\u00fct\u00df”,
    “url”: “http://mitra/collections/tags/%C3%BCml%C3%A4%C3%BCt%C3%9F”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\ud83d\udc04”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u2764\ufe0f”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u725b”
  }
]
[
  {
    “name”: “\u725b”,
    “url”: “http://mitra/collections/tags/%E7%89%9B”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “\uff03widehashtag”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#test”,
    “url”: “https://ignore.example”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://mitra/collections/tags/test”
  }
]
{
  “type”: “Hashtag”,
  “name”: “#test”
}
[
  {
    “name”: “test”,
    “url”: “http://mitra/collections/tags/test”
  }
]
tag tags Example
[
  {
    “type”: “Hashtag”,
    “name”: “#test”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://pleroma/tag/test”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “nohash”
  }
]
[
  {
    “name”: “nohash”,
    “url”: “http://pleroma/tag/nohash”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with-dash_under”
  }
]
[
  {
    “name”: “with-dash_under”,
    “url”: “http://pleroma/tag/with-dash_under”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with white space”
  }
]
[
  {
    “name”: “with white space”,
    “url”: “http://pleroma/tag/with%20white%20space”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with(subtag)”
  }
]
[
  {
    “name”: “with(subtag)”,
    “url”: “http://pleroma/tag/with(subtag)”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with123”
  }
]
[
  {
    “name”: “with123”,
    “url”: “http://pleroma/tag/with123”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#1234”
  }
]
[
  {
    “name”: “1234”,
    “url”: “http://pleroma/tag/1234”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#CamelCase”
  }
]
[
  {
    “name”: “camelcase”,
    “url”: “http://pleroma/tag/camelcase”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u00fcml\u00e4\u00fct\u00df”
  }
]
[
  {
    “name”: “\u00fcml\u00e4\u00fct\u00df”,
    “url”: “http://pleroma/tag/%C3%BCml%C3%A4%C3%BCt%C3%9F”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\ud83d\udc04”
  }
]
[
  {
    “name”: “\ud83d\udc04”,
    “url”: “http://pleroma/tag/%F0%9F%90%84”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u2764\ufe0f”
  }
]
[
  {
    “name”: “\u2764\ufe0f”,
    “url”: “http://pleroma/tag/%E2%9D%A4%EF%B8%8F”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u725b”
  }
]
[
  {
    “name”: “\u725b”,
    “url”: “http://pleroma/tag/%E7%89%9B”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “\uff03widehashtag”
  }
]
[
  {
    “name”: “\uff03widehashtag”,
    “url”: “http://pleroma/tag/%EF%BC%83widehashtag”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#test”,
    “url”: “https://ignore.example”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://pleroma/tag/test”
  }
]
{
  “type”: “Hashtag”,
  “name”: “#test”
}
[
  {
    “name”: “test”,
    “url”: “http://pleroma/tag/test”
  }
]
tag tags Example
[
  {
    “type”: “Hashtag”,
    “name”: “#test”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://sharkey/tags/test”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “nohash”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#with-dash_under”
  }
]
[
  {
    “name”: “with-dash_under”,
    “url”: “http://sharkey/tags/with-dash_under”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with white space”
  }
]
[
  {
    “name”: “with white space”,
    “url”: “http://sharkey/tags/with white space”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with(subtag)”
  }
]
[
  {
    “name”: “with(subtag)”,
    “url”: “http://sharkey/tags/with(subtag)”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#with123”
  }
]
[
  {
    “name”: “with123”,
    “url”: “http://sharkey/tags/with123”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#1234”
  }
]
[
  {
    “name”: “1234”,
    “url”: “http://sharkey/tags/1234”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#CamelCase”
  }
]
[
  {
    “name”: “camelcase”,
    “url”: “http://sharkey/tags/camelcase”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u00fcml\u00e4\u00fct\u00df”
  }
]
[
  {
    “name”: “\u00fcml\u00e4\u00fct\u00df”,
    “url”: “http://sharkey/tags/\u00fcml\u00e4\u00fct\u00df”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\ud83d\udc04”
  }
]
[
  {
    “name”: “\ud83d\udc04”,
    “url”: “http://sharkey/tags/\ud83d\udc04”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u2764\ufe0f”
  }
]
[
  {
    “name”: “\u2764\ufe0f”,
    “url”: “http://sharkey/tags/\u2764\ufe0f”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “#\u725b”
  }
]
[
  {
    “name”: “\u725b”,
    “url”: “http://sharkey/tags/\u725b”
  }
]
[
  {
    “type”: “Hashtag”,
    “name”: “\uff03widehashtag”
  }
]
[]
[
  {
    “type”: “Hashtag”,
    “name”: “#test”,
    “url”: “https://ignore.example”
  }
]
[
  {
    “name”: “test”,
    “url”: “http://sharkey/tags/test”
  }
]
{
  “type”: “Hashtag”,
  “name”: “#test”
}
[
  {
    “name”: “test”,
    “url”: “http://sharkey/tags/test”
  }
]