The website=* tag is used to provide the full URL to the official website for the related feature.

Format

Website URLs usually follow the syntax:

http(s)://(www.)domain.tld(/)(page)(?parameters)(#anchor), where parts in parenthesis may be optional.

Example

website=https://www.openstreetmap.org - validly formatted direct link to a trustworthy website.

Best practices

Durability and machine-readability

  • Take care when copying links from a search engine result. Search results URLs hide information about the final destination of the link, and are not meant for permanent linking. https://encrypted.google.com/url?sa=t&rct=j&q=&esrc=s...
  • Prefer websites with domain names. URLs containing IP addresses tend to become outdated more quickly than URLs with domain names and are far less recognizable. This Sophox query finds websites at IPv4 addresses.

Usability

  • If the official website is available in multiple languages depending on the URL, link to the version in the locally appropriate language or the language-neutral version. (Some websites automatically redirect to the user's language if you omit a language code from the URL.)
  • website=* is only for official websites, not for general web links. Use wikipedia=* for Wikipedia articles. Social media profiles are tagged using contact:*=* keys: contact:mastodon=*, contact:facebook=*, contact:twitter=*, etc. If a social media web presence is the only web presence of the feature, some prefer to also list the URL using website=* to indicate that no other official website exists. (Do not use bulk edits to "deduplicate" the website and contact tags)

Privacy and security

Namespace values

Suffixed

An excerpt of some most used tags:

LOADING TAG LIST... (If you do not see this tag list, you need to enable JavaScript)

Prefixed

This table lists out documented keys only. They represent some known usage as seen in the wild.

Other keys

See also

  • contact:website=* – Specifies the link to the official website for a feature. (parallel existing tagging scheme)
  • url=* – Specifying an url related to a feature. (A more general tag. Any URL other than the main official one used in the website=* tag (parallel existing tagging scheme))
  • website:*=* – website prefix, direct link to a sub-menu (menu, booking, map, ...)
  • *:website=* – website suffix, relevant link to another tag (brand, ..)
  • contact:*=* – The contact:* namespace with contact:website=* (newest parallel existing tagging scheme, provides same tag arrangement in groups like addr:*=*) (Includes contact:facebook=*, contact:twitter=*, etc.)
  • image=* – Reference to an image of the object.
  • wikipedia=* – Provides a link to Wikipedia's article about the feature. Show/edit corresponding data item.
  • wikidata=* – The ID of the Wikidata item about the feature.
  • Proposed features/External links – different tagging ideas
  • Keepright ([1]) – validates the content of website tags, ensuring they still match the OSM object.
  • tag2link plugin – JOSM plugin that opens external references, e.g. this website key

References