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.

Support table

tag akkoma gotosocial hollo mastodon misskey mitra pleroma sharkey
#test test test test test test test
nohash nohash nohash nohash nohash
#with-dash_under with-dash_under withdash_under with-dash_under with-dash_under with-dash_under
#with white space with white space withwhitespace with white space with white space with white space
#with(subtag) with(subtag) withsubtag with(subtag) with(subtag) with(subtag)
#with123 with123 with123 with123 with123 with123 with123
#1234 1234 1234 1234 1234 1234
#CamelCase camelcase camelcase camelcase camelcase camelcase camelcase
#ümläütß ümläütß umlautß ümläütß ümläütß ümläütß ümläütß
#🐄 🐄 🐄 🐄 🐄
#❤️ ❤️ ❤️ ❤️ ❤️
#牛
#test test test test test 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”: “#test”,
  “url”: “https://ignore.example”
}
[
  {
    “name”: “test”,
    “url”: “http://akkoma/tag/test”
  }
]
{
  “type”: “as:Hashtag”,
  “name”: “#test”
}
[]
{
  “name”: “#test”
}
null
tag tags Example
{
  “type”: “Hashtag”,
  “name”: “#test”
}
null
{
  “type”: “Hashtag”,
  “name”: “nohash”
}
null
{
  “type”: “Hashtag”,
  “name”: “#with-dash_under”
}
null
{
  “type”: “Hashtag”,
  “name”: “#with white space”
}
null
{
  “type”: “Hashtag”,
  “name”: “#with(subtag)”
}
null
{
  “type”: “Hashtag”,
  “name”: “#with123”
}
null
{
  “type”: “Hashtag”,
  “name”: “#1234”
}
null
{
  “type”: “Hashtag”,
  “name”: “#CamelCase”
}
null
{
  “type”: “Hashtag”,
  “name”: “#\u00fcml\u00e4\u00fct\u00df”
}
null
{
  “type”: “Hashtag”,
  “name”: “#\ud83d\udc04”
}
null
{
  “type”: “Hashtag”,
  “name”: “#\u2764\ufe0f”
}
[]
{
  “type”: “Hashtag”,
  “name”: “#\u725b”
}
[
  {
    “name”: “\u725b”,
    “url”: “http://gotosocial/tags/\u725b”
  }
]
{
  “type”: “Hashtag”,
  “name”: “#test”,
  “url”: “https://ignore.example”
}
[
  {
    “name”: “test”,
    “url”: “http://gotosocial/tags/test”
  }
]
{
  “type”: “as:Hashtag”,
  “name”: “#test”
}
[]
{
  “name”: “#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”: “#test”,
  “url”: “https://ignore.example”
}
[]
{
  “type”: “as:Hashtag”,
  “name”: “#test”
}
[]
{
  “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”: “#test”,
  “url”: “https://ignore.example”
}
[
  {
    “name”: “test”,
    “url”: “http://mastodon/tags/test”
  }
]
{
  “type”: “as:Hashtag”,
  “name”: “#test”
}
[]
{
  “name”: “#test”
}
[]
tag tags Example
{
  “type”: “Hashtag”,
  “name”: “#test”
}
[
  “test”
]
{
  “type”: “Hashtag”,
  “name”: “nohash”
}
null
{
  “type”: “Hashtag”,
  “name”: “#with-dash_under”
}
[
  “with-dash_under”
]
{
  “type”: “Hashtag”,
  “name”: “#with white space”
}
[
  “with white space”
]
{
  “type”: “Hashtag”,
  “name”: “#with(subtag)”
}
[
  “with(subtag)”
]
{
  “type”: “Hashtag”,
  “name”: “#with123”
}
[
  “with123”
]
{
  “type”: “Hashtag”,
  “name”: “#1234”
}
[
  “1234”
]
{
  “type”: “Hashtag”,
  “name”: “#CamelCase”
}
[
  “camelcase”
]
{
  “type”: “Hashtag”,
  “name”: “#\u00fcml\u00e4\u00fct\u00df”
}
[
  “\u00fcml\u00e4\u00fct\u00df”
]
{
  “type”: “Hashtag”,
  “name”: “#\ud83d\udc04”
}
[
  “\ud83d\udc04”
]
{
  “type”: “Hashtag”,
  “name”: “#\u2764\ufe0f”
}
[
  “\u2764\ufe0f”
]
{
  “type”: “Hashtag”,
  “name”: “#\u725b”
}
[
  “\u725b”
]
{
  “type”: “Hashtag”,
  “name”: “#test”,
  “url”: “https://ignore.example”
}
[
  “test”
]
{
  “type”: “as:Hashtag”,
  “name”: “#test”
}
null
{
  “name”: “#test”
}
null
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”: “#test”,
  “url”: “https://ignore.example”
}
[
  {
    “name”: “test”,
    “url”: “http://mitra/collections/tags/test”
  }
]
{
  “type”: “as:Hashtag”,
  “name”: “#test”
}
[]
{
  “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”: “#test”,
  “url”: “https://ignore.example”
}
[
  {
    “name”: “test”,
    “url”: “http://pleroma/tag/test”
  }
]
{
  “type”: “as:Hashtag”,
  “name”: “#test”
}
[]
{
  “name”: “#test”
}
null
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”: “#test”,
  “url”: “https://ignore.example”
}
[
  {
    “name”: “test”,
    “url”: “http://sharkey/tags/test”
  }
]
{
  “type”: “as:Hashtag”,
  “name”: “#test”
}
[]
{
  “name”: “#test”
}
[]