Skip to content

Windows Shell Link forensics

Windows LNK Parser & Viewer

Open a Windows .lnk shortcut and inspect its metadata — target path, arguments, timestamps and more.

Files are parsed entirely in your browser with WebAssembly and are never uploaded.

Drop .lnk files, a folder or a ZIP collection

KAPE and Velociraptor ZIPs welcome. Everything stays on this device.

Sample: synthetic shortcuts from a fictional intrusion (host FIN-WKS-07) — no real data. Tip: open “Time range” and pick “Last hour” to zoom on the incident.

  • .lnk shortcuts
  • ZIP collections (KAPE, Velociraptor)
  • Whole folders

How to get your .lnk files

Never collected shortcuts before? One command gathers every .lnk on a Windows machine into a ZIP you can drop here.

  1. Collect with one command
  2. Drop the ZIP or folder here
  3. Nothing leaves your browser

Before you start: Windows 10 (1803+), 11 or Server 2019+. Open Command Prompt or PowerShell with Run as administrator.

Copies every .lnk from all user profiles and the shared Start Menu with their timestamps and folder layout, then zips the result.

robocopy C:\Users C:\triage\lnk\Users *.lnk /S /B /XJ /R:0 /W:0 /NFL /NDL
robocopy "C:\ProgramData\Microsoft\Windows\Start Menu" "C:\triage\lnk\ProgramData\Microsoft\Windows\Start Menu" *.lnk /S /B /XJ /R:0 /W:0 /NFL /NDL
tar -a -cf C:\triage\lnk.zip -C C:\triage lnk

Drop C:\triage\lnk.zip here (or the C:\triage\lnk folder). The folder layout is kept, so each shortcut is filed by user and location.

Gotchas

  • Run as administrator: without it robocopy /B stops with an access error, and other users' profiles are unreadable anyway.
  • Collect before you look around, and never double-click a collected .lnk: opening files on the machine writes new Recent entries, and opening a shortcut runs its target.
  • Target MAC times are read from inside the link (UTC). The .lnk file's own created/modified times live in the file system: robocopy keeps them, a ZIP keeps only the modified time. Collect $MFT if you need them all.

How to open a .lnk file on Windows, Mac, Linux, Android or iPhone

A .lnk file is a Windows shortcut: a small binary record that points to another file, folder or command. Double-clicking it on Windows does not open the shortcut, it runs whatever the shortcut points to. That is exactly what you want to avoid with a shortcut that came from an email, a ZIP or a USB stick. The parser above opens the .lnk itself instead, and because nothing installs, it works the same way on a phone.

Looking for an .ink file opener? Windows shortcuts end in .lnk, with a lower-case L (for “link”), which is easy to misread as .ink. It is the same file: drop it above.

Windows

  1. Drag the shortcut from File Explorer onto the drop zone above. Explorer hides the .lnk extension even when file name extensions are shown, so Invoice.pdf.lnk appears as Invoice.pdf with a small arrow on its icon.
  2. Read the Target and Arguments columns: that is what a double-click would have run.
  3. If the parser says the file is not a shortcut, it probably received the target instead: Windows Open dialogs follow shortcuts by default. Drag the file in, or drop its folder or a ZIP of it.

Mac

  1. macOS has no app for .lnk files, so open this page in Safari, Chrome or Firefox and drag the file onto the drop zone, or click Choose files.
  2. Read the target path, arguments and timestamps. The path is a Windows one, so it will not resolve on your Mac, and the file is decoded in the browser, never run.

Linux

  1. Drop the file on this page in any modern browser.
  2. Or, from a terminal: install the liblnk tools (sudo apt install liblnk-utils on Debian and Ubuntu) and run lnkinfo file.lnk.

Android

  1. Get the .lnk onto the phone first: download it, or copy it from a computer or cloud storage. Gmail blocks .lnk attachments, even inside a ZIP, so email often will not work.
  2. Open this page in Chrome or any other mobile browser and tap Choose files.
  3. Pick the file in the file picker (Downloads, Drive…). It is parsed on the phone itself: there is no app to install.
  4. Scroll the results for the target path, arguments and timestamps.

iPhone and iPad

  1. Save the .lnk to the Files app (for a Mail attachment: long-press it, then Save to Files).
  2. Open this page in Safari, tap Choose files and pick the file from Files.
  3. If the .lnk is greyed out in the picker, long-press it in the Files app, tap Compress and pick the .zip instead: ZIPs are unpacked in the browser.

Checking a shortcut on Windows without any tool

Right-click the shortcut, choose Properties and read the Target field on the Shortcut tab: the target path followed by its arguments. The field does not always show everything: very long or whitespace-padded arguments are cut off, a trick malicious shortcuts use to hide their payload.

PowerShell reads the same fields through the shell's own WScript.Shell object, without launching anything:

$lnk = (New-Object -ComObject WScript.Shell).CreateShortcut("C:\path\to\file.lnk")
$lnk | Format-List TargetPath, Arguments, WorkingDirectory, IconLocation, Description, Hotkey, WindowStyle

It does not show what else the file records: the target's timestamps, link flags, volume information or the ID of the machine that created it. The parser above does.

Opening a .lnk in Notepad only shows unreadable characters: it is a binary file (every shortcut starts with the bytes 4C 00 00 00), not text.

Every field an investigator needs

  • Target path
  • Arguments
  • Working directory
  • Target MAC times
  • Volume & network share
  • Link flags
  • File attributes
  • Extra data blocks

Built for triage

From one shortcut to a whole user profile

Drop a single .lnk to read it, or a full triage collection to review every shortcut a user touched — Recent items, Desktop, Start Menu, Startup and the taskbar.

  • Triage collections in one drop

    ZIPs from KAPE or Velociraptor and whole folders are unpacked in the browser; every .lnk inside is found and filed by location and user.

  • Full-screen workspace

    After the first file the results take over the screen: a sortable, filterable table with resizable and pinnable columns next to the decoded detail.

  • Sessions that survive a reload

    Your analysis is auto-saved in this browser. Name it, reopen it tomorrow, rename or delete it — nothing ever leaves the device.

  • Suspicious shortcuts stand out

    Arguments that launch PowerShell, cmd, mshta or remote URLs, and targets in Temp or AppData, are flagged so malicious .lnk files surface first.

  • Honest about what it skipped

    Files that are not Shell Links get a reason — jump list, empty file, wrong magic bytes, truncated header — instead of a silent failure.

  • Private by construction

    Parsing runs locally in Rust compiled to WebAssembly. No upload, no server, no account: safe for live incident-response evidence.

How it works

  1. 01

    Drop

    A .lnk file, a folder or a ZIP collection. Several at once is fine.

  2. 02

    Decode

    Each shortcut is parsed in your browser with WebAssembly, with live progress for large collections.

  3. 03

    Investigate

    Sort, filter and pin columns, open any shortcut's full structure, then export CSV or JSON.

Where to find .lnk files

Shortcuts Windows creates for you (Recent, Office, taskbar) plus user-made ones (Desktop, Start Menu, Startup). Paths are per user unless noted.

  • Recent itemsVista+%APPDATA%\Microsoft\Windows\Recent\
  • Office recent%APPDATA%\Microsoft\Office\Recent\
  • Desktop (user)%USERPROFILE%\Desktop\
  • Desktop (all users)C:\Users\Public\Desktop\
  • Start Menu (user)%APPDATA%\Microsoft\Windows\Start Menu\Programs\
  • Start Menu (all users)%ProgramData%\Microsoft\Windows\Start Menu\Programs\
  • Startup (user)%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\
  • Startup (all users)%ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp\
  • Pinned taskbarWin 7+%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\
  • Recent itemsXPC:\Documents and Settings\<user>\Recent\

How to get them

Read the LNK forensics guide →

LNK Parser is a free online tool to open and read Windows .lnk shortcut files. Drop a file above to view its target path, command-line arguments, working directory, timestamps and link flags. Everything runs locally with WebAssembly — your file never leaves your device, which makes it safe for forensics and incident response.

LNK file guides

Blog
A field guide to the artifacts inside Windows shortcuts — NetBIOS name, droid GUID, target FILETIMEs, volume serials — and how DFIR teams use them.
Why .lnk shortcut files are an attacker's preferred delivery vector, from Stuxnet's CVE-2010-2568 to today's ISO+LNK phishing campaigns, and how to spot a malicious one before it runs.
A practical walkthrough of every section of a Windows .lnk file: ShellLinkHeader, LinkTargetIDList, LinkInfo, StringData and ExtraData, cross-referenced to the MS-SHLLINK specification.

Frequently asked questions

How do I open a .lnk file?

Drag a Windows .lnk shortcut onto the parser above, or click to browse for one. It decodes the file in your browser and shows the target path, arguments, working directory and timestamps. Nothing is uploaded.

Is it safe to open an .lnk file here?

Yes. The file is parsed entirely on your device with WebAssembly and never leaves your browser, so even a malicious shortcut is only inspected, never executed.

What information does a .lnk shortcut contain?

A Shell Link stores the target path, command-line arguments, working directory, icon location, creation/access/write timestamps, link flags and volume or network information — all of which this parser decodes.

Can I open a .lnk file on Android or iPhone?

Yes. Android and iOS cannot open Windows shortcuts on their own, but this parser runs in the mobile browser: open the page, tap Choose files and pick the .lnk from your downloads or the Files app. Nothing is installed or uploaded. On iPhone, if the file is greyed out, compress it to a ZIP in the Files app and pick the ZIP.

How do I see where a shortcut points without running it?

Drop it on the parser above to see the target path, arguments and working directory. On Windows you can also right-click it, choose Properties and read the Target field, but long or padded arguments can be cut off there. Never double-click a shortcut you do not trust: that runs its target.

What is an .ink file?

Usually a Windows shortcut whose .lnk extension (lower-case L, for “link”) was read as .ink. The parser above opens it like any other .lnk file.

Follow the bearing to the target

Drop a shortcut and see exactly what it pointed to, when, and with which arguments.

Open a .lnk file