What is a .lnk file?
A .lnk file is a windows shortcut. Its registered MIME type is application/x-ms-shortcut, which places it in the application or document family of formats.
LNK is a binary format: the contents are not readable text, so opening it in a text editor shows scrambled characters.
Files of this type usually begin with the bytes 4C 00 00 00 01 14 02 00 00 00 00 00 C0 00 00 00 00 00 00 46. That signature is how programs recognise the format even when the extension is wrong or missing.
LNK file format details
| Extension | .lnk |
|---|---|
| Format | Windows shortcut |
| MIME type | application/x-ms-shortcut, application/x-win-lnk |
| Category | Application or document |
| Text or binary | Binary |
| File signature | 4C 00 00 00 01 14 02 00 00 00 00 00 C0 00 00 00 00 00 00 46 |
| Registered with IANA | No |
| Other extensions | None |
How to open LNK files
| Windows | LNK files (Windows shortcut) are made by specific software. The reliable way to open one is with the program that created it; a generic viewer will only show raw data. |
|---|---|
| Mac | The same applies on a Mac: look for a Mac version of the program that makes LNK files. |
| iPhone and iPad | Phones rarely open this type of file directly. The viewer above can show what is inside it without installing anything. |
| Android | The same applies on Android. The viewer above shows the first bytes of the file so you can confirm what it is. |
Can you convert a .lnk file?
TapToConvert does not convert LNK files. The usual route is to open the file in the program that made it and use its Export or Save as option.
LNK file FAQ
What is a .lnk file?
A .lnk file is a windows shortcut, with the MIME type application/x-ms-shortcut.
How do I open a .lnk file?
With the program that created it. The viewer on this page shows what is inside without installing anything.
Is a .lnk file safe to open?
LNK files hold data rather than programs, but any file from an unknown source can be crafted to exploit the software that opens it. Keep that software up to date. The viewer on this page only reads the bytes and never runs anything.
What is the MIME type of .lnk?
application/x-ms-shortcut, and it is also seen as application/x-win-lnk. Web servers send this type so browsers know how to handle the file.
Is LNK a text or binary format?
Binary. Its contents are not readable as text.
File type facts come from the IANA media type registry, the mime-db project and the freedesktop.org shared MIME database.