You make a link into a desktop icon by creating a shortcut that points to the URL: on Windows, right-click the desktop, choose New > Shortcut, paste the address, and name it; on macOS, drag the URL from Safari's address bar onto the desktop or paste it into a Shortcuts app shortcut saved as a Dock or desktop item. The method depends on which browser and operating system you use, and Chrome and Edge each have their own built-in path that skips the manual dialog entirely.

The steps below cover every common combination, including the failure cases that leave you with a dead icon or a browser default you didn't want. You'll also see why a web shortcut on Windows is not the same file type as a .url file, and which method survives a browser update.

Windows Desktop: Create a URL Shortcut With the New Shortcut Wizard

This is the foundation method on Windows 10 and Windows 11, and it works even on machines where no browser is set as default yet. A standard internet shortcut is a .url file, a plain-text file that stores the address and an icon reference. You can right-click the desktop, pick New > Shortcut, and the wizard handles the rest. The wizard is identical in Windows 10 (21H2 and later) and Windows 11 (23H2 and 24H2), so the instructions don't fragment by version.

1: Right-click an empty spot on the desktop and choose New > Shortcut. 2: In the "Type the location of the item" field, paste the full URL including https://. 3: Click Next, type a name for the icon, then click Finish. 4: Right-click the new icon, choose Properties, and confirm the Target field begins with the correct protocol.

If the icon appears blank or generic, the target probably lacks https://. Windows will still open it, but it treats the entry as a file path and may search the local disk first. Fix it by opening Properties and rewriting the Target with the full protocol.

A failure case worth knowing: if you paste an address that includes a port number or a query string with an ampersand, the wizard sometimes truncates the target at the first &. The icon opens only the first parameter. Reopen Properties and wrap the entire URL in straight double quotes. That preserves the full string on Windows 10 and 11.

One more limitation β€” this method creates a shortcut, not a pinned app. If you later move the .url file into a folder, the desktop icon disappears. Keep the file on the desktop or create a copy in %USERPROFILE%\Desktop so it survives a profile sync.

Chrome and Edge: Install a Website as an App Shortcut

Chrome and Edge both ship a built-in installer that produces a real app window, not a browser tab. In Chrome, open the site, click the three-dot menu, go to Save and share > Install page as app (or Cast, save, and share > Install page as app depending on version), then confirm. Edge uses Apps > Install this site as an app from the same menu. The resulting shortcut launches the site in its own window with no address bar, which is the closest thing to a native desktop icon.

The installed app appears on the desktop automatically in Chrome if you check "Create desktop shortcut" in the install dialog. Edge adds it to the Start menu and the desktop by default, and you can toggle the desktop checkbox before confirming. Both browsers store the app in the user profile, so a Windows profile reset removes it. That's the main trade-off against a plain .url file.

Version differences matter here. Chrome changed the menu label from "Create shortcut" to "Install page as app" in version 106, and sites without a web app manifest still get the option but open in a plain window without the site icon. If you see a generic globe instead of the site's favicon, the page lacks a manifest and Chrome falls back to the tab favicon.

The app shortcut is not the same as a bookmark. Bookmarks live inside the browser; the installed app lives in the operating system's app list and can be pinned to the taskbar. If the site changes its URL, the installed app keeps pointing at the old address until you reinstall it. For a stable destination such as a company intranet or a dashboard, that's fine; for a redirect-heavy marketing page, use a .url shortcut instead.

macOS: Drag From the Address Bar or Use the Shortcuts App

On macOS, the fastest route is a drag. Open the page in Safari, click and hold the site icon or the URL in the address bar, and drag it onto the desktop. Safari creates a .webloc file that opens in your default browser. Chrome and Firefox on macOS don't support the drag-to-desktop gesture the same way, so Safari is the reliable browser for this method.

If you want the icon in the Dock rather than on the desktop, paste the URL into a Shortcuts app action and save it, then add the shortcut to the Dock. macOS doesn't have a native "create desktop shortcut" menu item outside Safari, so the drag is the closest equivalent to the Windows wizard. The .webloc file is an XML property list, and you can rename it freely without breaking the link.

A common failure: dragging from Chrome's address bar on macOS often drops a text clipping instead of a .webloc. If the resulting file opens in TextEdit, the drag captured text, not a link. Switch to Safari or create the shortcut manually through Shortcuts and a "Open URLs" action with a "Show in Dock" toggle. That path works on macOS Ventura (13) and later, where the Shortcuts menu includes the Dock options.

The .webloc file also respects the system default browser, so double-clicking it opens Safari, Chrome, or Firefox depending on your setting in System Settings > Desktop & Dock. If you want the icon to force a specific browser, you have to create an app-specific shortcut instead, which macOS handles through the browser's own install feature.

Which Method Survives a Browser Change?

The table below compares the four main routes on the dimensions that actually affect whether the icon still works six months from now. Values reflect default behavior on Windows 11 24H2 and macOS Sonoma as of late 2026.

Method File type Survives default browser change Survives profile reset Opens in app window
Windows New Shortcut wizard .url Yes Yes No
Chrome Install page as app App registration No β€” tied to Chrome No Yes
Edge Install this site as an app App registration No β€” tied to Edge No Yes
Safari drag to desktop (macOS) .webloc Yes Yes No

The pattern is clear. Plain shortcut files are portable and browser-agnostic; installed apps are tied to the browser that created them. If you share a PC or change browsers often, the .url and .webloc files are the safer bet. If you want a distraction-free window for one site, the installed app wins.

There's a cost angle too, though a small one. Each installed Chrome or Edge app adds a profile entry and a Start menu item; on a machine with 40 apps installed, Windows startup and search indexing measurably slow. A .url file adds nothing to the registry. For a handful of icons, either is fine. For a wall of 20 shortcuts to internal tools, use .url files in a desktop folder.

Fix a Shortcut That Opens the Wrong Browser or Shows a Blank Icon

Three failures account for most broken desktop link icons on Windows. The first is the missing protocol, already covered, which makes Windows treat the target as a file path. The second is a stale icon cache: the shortcut shows a generic page icon even though the link works. Rebuild the cache by deleting IconCache.db in %LocalAppData% and restarting Explorer, or run ie4uinit.exe -show from the Run dialog on Windows 10 and 11.

The third failure is the wrong default browser. A .url file opens in whatever app is registered for the http protocol, which is set in Settings > Apps > Default apps. If the icon opens Edge when you wanted Chrome, changing the default app fixes every .url file at once. There's no per-shortcut browser override in the wizard, so if you need one link to open in a specific browser, create an installed app from that browser instead.

On macOS, the equivalent failure is a .webloc that opens in TextEdit because the file association broke after an OS update. Right-click the file, choose Open With > Safari (or your browser), and check "Always open with." That repairs the association for all .webloc files. The file itself is untouched.

Blank icons also appear when the favicon URL in the .url file points to a page that no longer serves it. Open Properties, click Change Icon, and point to a local .ico file you've saved. This is the only way to guarantee the icon looks right after the site redesigns its favicon.

Sometimes the desktop isn't the destination. On Windows 11, you can pin a .url shortcut to the taskbar indirectly: create the shortcut, then right-click it and choose "Show more options > Pin to taskbar" β€” but only if the shortcut is in the Start menu or an installed app. A raw desktop .url file does not offer Pin to taskbar in the context menu on 24H2; the reliable workaround is installing the site as an app (Chrome or Edge) and pinning that.

The taskbar route matters for people who keep a clean desktop. Pinning a web app puts a live icon in the taskbar that launches in its own window, so you can alt-tab to it like any other program. The desktop .url route gives you the same destination without the taskbar clutter. Pick based on whether you want the icon always visible or only when you minimize everything.

On macOS, dragging the .webloc file into the Dock works, but the Dock shows a generic file icon unless you supply a custom icon via Get Info > paste an image. The Shortcuts app route avoids that by generating a proper app icon. Either way, the Dock entry behaves like an app launcher and respects the default browser.

One limitation to plan around: taskbar and Dock pins can be removed by OS updates or profile migrations. A desktop .url file survives those changes because it's just a file. If the link is critical, keep a copy in a synced folder such as OneDrive or iCloud Drive and restore the desktop copy after any migration.

Make the Icon Open a Specific Page, Not Just the Homepage

A shortcut to https://example.com lands on the homepage every time. If you want the icon to open a specific dashboard, search result, or documentation page, paste the full deep URL including the path and query string into the shortcut target. That works in the Windows wizard, the macOS .webloc, and every browser's install dialog.

Deep links with query strings need care in the Windows wizard because the ampersand truncation described earlier. Wrap the whole URL in quotes in the Target field. For example, "https://intranet.example.com/reports?team=finance&period=q4" preserves both parameters. Without quotes, Windows drops everything after & and opens the report without the period filter.

If the page requires a login, the shortcut still works β€” it opens the login screen and, after authentication, the browser usually redirects to the deep link. That redirect behavior depends on the site. Some session managers strip the return URL. Test the shortcut while logged out before you rely on it.

A related edge case: single-page apps that use hash routing. A URL like https://app.example.com/#/settings keeps the fragment in the .url file fine, but some browsers strip the # when the icon launches. If the target is a hash route, verify after creation by opening the shortcut and checking the address bar. If the fragment drops, use the installed app method, which preserves the full URL.

Choose the Right Icon and Name So You Can Find It Later

The default icon for a .url file is the browser's logo, which means five shortcuts look identical. Fix that before you create a sixth one. Right-click the shortcut, choose Properties > Change Icon, and browse to a .ico file. Windows ships a set in %SystemRoot%\System32\shell32.dll and imageres.dll; you can pick a document, globe, or star icon from those libraries without downloading anything.

Naming matters as much as the icon. Prefix related shortcuts with a shared word or symbol so they sort together on the desktop: "Work β€” Payroll," "Work β€” Timesheet," "Work β€” Expenses." Desktop icons sort alphabetically by default on Windows and macOS, so the prefix groups them. Avoid special characters that file systems reject, including \ / : * ? " < > | on Windows.

For a folder of many links, skip the desktop entirely and create a single folder shortcut. Put the .url files inside a folder, then right-click the folder and choose Send to > Desktop (create shortcut). One icon opens the whole collection. This keeps the desktop readable and still gives you one-click access.

On macOS, renaming a .webloc file is safe, but the icon may revert to the generic document after a system update. Reapply the custom icon through Get Info and paste the image into the small icon well at the top left. The change persists in the file's extended attributes, so it travels with the file if you copy it to another Mac.

Common Mistakes That Leave You With a Dead Icon

The most frequent mistake is pasting a URL without https://. Windows accepts it in the wizard, but the resulting shortcut treats the address as a local file, so double-clicking opens a search or an error. Always include the protocol, even when the browser address bar hides it.

The second mistake is saving the shortcut as an HTML file. Some guides tell you to create a text file and rename it to .html with a meta refresh tag. That works, but it opens in a browser tab and exposes the URL in the page source. A .url file is cleaner and one step shorter. If you inherited an .html shortcut from an old guide, rebuild it with the wizard.

A third mistake is creating the shortcut inside the browser's bookmark manager and expecting it on the desktop. Bookmarks sync across devices; desktop icons don't. If you want both, create the desktop shortcut and import the same URL into bookmarks separately.

The fourth and most damaging mistake is pointing the shortcut at a local file path that looks like a URL, such as file:///C:/Users/name/page.html. This opens only on that one machine and breaks the moment the file moves. Reserve desktop URL shortcuts for web addresses, and use a regular file shortcut for local documents.

FAQ

No. iOS and iPadOS don't expose the desktop file system, so you can't place a URL shortcut on the Home Screen the Windows way. The closest equivalent is adding the page to the Home Screen from Safari's Share menu, which creates a web app icon that opens in Safari. That icon lives in the app grid, not on a desktop, and it disappears if you delete the Safari web app.

Why does my new shortcut open in Notepad instead of the browser?

The .url file lost its file association, usually after installing or uninstalling a browser. Windows stores the association for .url under the http protocol handler. Open Settings > Apps > Default apps, search for your browser, and set it as the default for HTTP and HTTPS. All .url shortcuts then open in that browser without being recreated.

Is a desktop URL shortcut the same as a bookmark?

No, and the difference affects portability. A bookmark lives inside one browser's profile and syncs only through that browser's account. A .url file is a standalone file you can copy to a USB drive, email, or drop in a shared folder, and it opens in whatever browser is default on the receiving machine. Bookmarks are easier to organize; .url files are easier to move between machines.

How many desktop shortcuts can I create before Windows slows down?

Windows has no hard cap on desktop icons, but performance degrades gradually. A desktop with 200 or more icons measurably slows the initial desktop render on older hardware, and each .url file adds a small entry to the icon cache. Keep the desktop under roughly 50 icons and move the rest into a folder shortcut. Installed web apps from Chrome or Edge add a Start menu entry each, which is a separate cost.

The .url file stores an icon reference, often a remote favicon URL. If the site moves or stops serving that file, Windows shows the fallback page icon. Right-click the shortcut, choose Properties > Change Icon, and point it to a local .ico file. That locks the icon in place regardless of what the site does later.

ChromeOS doesn't have a traditional desktop, so there's nothing to drop a .url file onto. You can pin a site to the shelf from Chrome's three-dot menu using "Install" or "Create shortcut," which places an app icon in the shelf and launcher. The behavior is closest to Chrome's install-as-app feature on Windows. The shortcut is tied to the Chromebook profile and won't transfer to another device.

No. Safari on macOS supports the drag and produces a .webloc file. Chrome and Firefox on macOS often drop a text clipping instead. On Windows, dragging a URL from Chrome's address bar to the desktop usually creates a .url file, but results vary by version and whether the browser is running elevated. Use the New Shortcut wizard when consistency matters.

What happens to my desktop shortcut if the website changes its address?

The shortcut keeps pointing at the old URL and opens a 404 or a redirect page. It does not update itself. If the site moved permanently, edit the shortcut's Target field with the new address; the icon and name stay as they are. For sites that redirect frequently, an installed app is no better β€” both methods store the URL at creation time, so plan to revisit shortcuts after major site migrations.