Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I want to have a Windows shortcut file (foo.URL) to be saved for the users, what MIME type should I assign for it?

Default text/plain causes Windows to suggest it to be saved with .txt added as default.

With googling, I've found some alternatives:

  • text/x-uri
  • application/x-desktop
  • application/x-mswinurl

If I've understood right, the types beginning with "x-" are unofficial?

Is there some standard (or de facto standard) mime type to use?

br, Touko

share|improve this question
up vote 0 down vote accepted

I ended up using application/octet-stream which seems to work fine for me (at least Windows tries to save it as .URL as such as default and not as .txt as earlier with text/plain)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.