Why Dragging From a Browser Creates a .url Shortcut
By Khushi Yadav
When you drag a link or the icon next to the address bar onto the desktop or a folder, the browser hands Windows a web address, and File Explorer saves that address as an internet shortcut (a .url file). It isn't a copy of the page or picture; it only reopens the address in your browser. To keep the content, use the browser's Save as, Print > Save as PDF, or Save image as instead of dragging.
What a .url file is
An internet shortcut is a small plain-text file. Open it in Notepad and you'll see an [InternetShortcut] section with a URL= line. Double-clicking it opens that address in your default browser. Nothing from the page itself is stored, so it's useless offline and breaks if the page moves.
Signs that you got a shortcut rather than content:
- In Details view, the Type column says Internet Shortcut.
- The size is tiny, usually under 1 KB.
- The icon is your browser's icon, not an image thumbnail or document icon.
Like the .lnk shortcuts Windows uses for programs, these are pointers; copying a shortcut instead of the file covers the .lnk version of the same mix-up.
Why the drop became a shortcut
A drag from a browser offers Windows the data in one or more formats. Microsoft defines CFSTR_INETURL as "the best clipboard representation of a single URL", and Explorer turns a dropped URL into a .url file. Whether you get a shortcut depends on what you dragged:
| You dragged | What you usually get |
|---|---|
| The icon or padlock left of the address bar | A shortcut to the page (Microsoft's Q&A describes this as how to make one on purpose) |
| A text link | A shortcut to the link's target |
| A picture | Usually the image file; if the picture is also a link, sometimes a shortcut instead |
| Selected text | Depends on the browser and target; often nothing in Explorer |
Pasting a copied URL into a folder with Ctrl+V doesn't create a shortcut; Explorer can only paste files. Dropping is what triggers it.
What to do instead
| You wanted | Do this |
|---|---|
| The article to read later or offline | Press Ctrl+P and choose Save as PDF (Microsoft Print to PDF also works), or use the browser's Save page as |
| The picture | Right-click it and choose Save image as. Drag vs copy vs save as for web images compares the options |
| A quote | Select the text, copy it, and paste it into your notes with the link |
| The link for a citation or a message | Copy the address from the address bar. How to copy a clean link removes tracking parameters |
| A bookmark on the desktop | Keep the .url — that's exactly what it's for |
| An email attachment | Save the page or image as a file first, then attach that file |
If you only have the shortcut now, double-click it to reopen the page, then save the content with one of the methods above. You can delete the .url afterwards; deleting it doesn't affect the website.
Inspecting a shortcut you didn't mean to make
- Right-click the file and choose Properties. The Web Document tab shows the URL.
- If the URL contains long tracking parameters, they came along with the shortcut. Strip them before sharing.
- Delete shortcuts you didn't want. Sorting the desktop by Date modified finds the newest ones quickly.
Treat an unexpected .url from someone else like any other link: check where it points before opening it.
Can clipboard history help?
Clipboard history (Win+V) stores text, HTML and images, not files. If you copied the link, it keeps the address as text; it won't turn it into a saved page. Windows clipboard history does not store files explains the limit.
Edge Drop, the free clipboard shelf made by the team behind this site, shows copied links as link cards with an open link button. Link and text cards can't be dragged out, so they can't produce stray shortcut files. Clicking one pastes it, and a link card's open link button opens the page in your default browser. Copied images can be dragged out as real PNG files. How to open links from Edge Drop in your browser shows how the link cards work.
FAQ
Is a .url file dangerous?
It's a text file holding an address. Opening it simply visits that address, so the risk is the website, not the file. Don't open shortcuts from people or places you don't trust.
How do you turn a .url into the actual page?
Open the shortcut, then save the page from the browser with Print > Save as PDF or Save page as.
Why does dragging an image sometimes save the image and sometimes a shortcut?
When the picture is also a link, the browser may offer the link instead of the image. Right-click and use Save image as to be sure.
Related reading
- Web Images: Drag, Copy, or Save As — Which Is Best?
- Copied a Shortcut Instead of the File? How to Fix It
- How to Save a Clipboard Image as a File in Windows
- Copying From Microsoft Edge: Links, Formatting and Win+V
Sources
- Shell Clipboard Formats (Microsoft Learn) — CFSTR_INETURL as the representation of a single URL; CF_HDROP for existing files.
- How to create a desktop shortcut to a website (Microsoft Q&A) — dragging the address-bar icon to the desktop creates a website shortcut.
- Using the clipboard (Microsoft Support) — clipboard history stores text, HTML and images.
Khushi Yadav writes Edge Drop's workflow and design guides and is a B.Tech Computer Science Engineering student. Khushi's posts are checked against Microsoft's documentation and the Edge Drop fact sheet.
GitHub · LinkedInCopy. Stack. Drop.
Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.
Download for Windows Get from Microsoft Store
How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge Drop vs Win+V · Support
Free · Lightweight · Privacy First