How to Make a Macro for Opening Multiple Websites at Once: Step-by-Step Guide 2026
A macro for opening multiple websites at once is a saved action that launches a fixed list of web addresses from one key press or one click. This guide covers Windows 10 and Windows 11, starting with built-in tools and ending with the free Macro Keys hotkey launcher.
See our top recommendation →How to Make a Macro for Opening Multiple Websites at Once: Quick Answer
Save your sites in a plain text script, one line per address, then give the script a trigger. On Windows 10 and 11 the simplest trigger is a shortcut key on a desktop shortcut, and Macro Keys, a free hotkey launcher from NewSoftwares.net, offers a point-and-click alternative.
- Write one line per site, such as
start "" "https://example.com", and save the file as sites.bat. - Create a desktop shortcut to the file, then press a key combination such as Ctrl+Alt+S in the shortcut’s key box.
- Press the combination with two sites in the file first. Add the rest only after both tabs open.
| Applies to | Windows 10 and Windows 11 desktops and laptops, with Chrome, Edge or any other default browser |
|---|---|
| Time needed | About 10 minutes for the first macro, 2 minutes for each one after it |
| Difficulty | Beginner for bookmarks and Macro Keys, intermediate for scripts |
| Cost | Free: the built-in methods cost nothing and Macro Keys is freeware |
| Admin rights or internet | No admin rights for the shortcut-key method, and internet only for the pages themselves |
| Last verified | November 2026 |
What a multi-site macro is and when it pays off
Three parts do all the work, and each one can be swapped for a different tool.
The trigger
A shortcut key, a PowerToys shortcut or a Macro Keys hotkey starts the whole thing. Pick a combination you do not use anywhere else.
The list
A text file with one web address per line. You edit it in Notepad whenever your sites change, and you can copy it to another PC.
The launch
Windows passes each address to your default browser, or to Chrome or Edge by name, and the browser adds one tab per line.
Who benefits and who should skip it
A macro earns its keep when you open the same group of pages at least a few times a week: a morning dashboard, a research session, a support queue, a class portal. If you open a different set every day, a bookmarks folder is easier to maintain than a script.
Most pages on the web need a sign-in, and a macro does not change that. The macro opens the address, and your browser profile supplies the saved session. This guide stays on that line: it never stores a password, and it never types one for you.
What you need before you build a multi-site macro
Five things, none of them hard to find.
A Windows PC
Everything here runs on Windows 10 and Windows 11. Microsoft ended Windows 10 support on October 14, 2025, so that version no longer gets security updates, though the methods below still run on it.
A default browser
The simplest script uses whatever browser Windows opens links with. Naming Chrome or Edge in the script is optional and covered in the batch file guide.
A short, tested list
Write the addresses in full, starting with https://. Three to eight sites is a good first list, and each one should load when you click it by hand.
Permission on shared PCs
If the PC belongs to an employer or a school, read the policy first. The work-PC checklist explains what to ask.
Why this matters
Windows reads a bare address such as example.com as a file name, not a website. The full https:// prefix tells the start command to hand the line to your browser.
Best Free Methods to Make a Macro for Opening Multiple Websites at Once
Five routes, from no setup at all to a managed hotkey list. Each one is free.
What is the easiest way to make a macro for opening multiple websites at once?
Save the sites into one bookmarks folder in Chrome, right-click the folder and choose Open all. The whole group loads in one click, with no script and no software. The cost is that you still need the browser open and a mouse click.
To build it, open each site in turn and press Ctrl+D, then pick a folder called Morning. Recent Chrome versions also offer to open a folder as a tab group, a feature added in Chrome 94. Chrome shows these choices when you right-click the folder on the bookmarks bar. Other browsers offer an equivalent, so check the folder’s own menu.
Suits: people who want zero setup. Limits: no key press, and the list lives inside one browser profile.
Can you make a macro for opening multiple websites at once with a shortcut key?
Yes. A batch file holds one start line per site, and a Windows shortcut to that file can carry a Ctrl+Alt shortcut key. Windows only honors that key when the shortcut sits on the desktop or in the Start menu, which is the detail most guides skip.
This is the method the step-by-step section builds, and the batch file guide covers every variant in depth. It needs no extra software, and nothing stays running in the background.
Suits: anyone comfortable editing a text file. Limits: the shortcut must live on the desktop or Start menu.
How can I make a macro for opening multiple websites at once with PowerShell?
Read a text file of addresses and pass each one to the Start-Process cmdlet inside a loop. A pause between lines keeps the tabs in order. PowerShell suits long or changing lists, because you edit the text file and never touch the script.
Windows may restrict running saved .ps1 files by default, so many readers call the script from a .bat file instead. A sample script appears in the sample library below.
Suits: lists of ten or more sites. Limits: script execution settings can block the file.
Can PowerToys open multiple websites with one shortcut?
PowerToys Keyboard Manager can start an app or open one URI from a shortcut, and Microsoft documents both actions. One URI per shortcut means a list needs the Start App action pointed at your script, with cmd.exe as the app.
Keyboard Manager only works while PowerToys runs in the background, and it will not remap shortcuts inside an elevated window unless PowerToys itself runs as administrator. In the shortcut editor, choose Start App, set the app to cmd.exe, and put /c "C:\Users\You\Documents\sites.bat" in the arguments box.
Suits: readers who already run PowerToys. Limits: needs PowerToys running, and the actions arrived in release 0.79, from March 2024.
How do I make a macro for opening multiple websites at once for free with Macro Keys?
Open the Hotkey Launcher tab, click Add Hotkey, type a key combination, then enter a web address or browse to a file. The NewSoftwares.net FAQ documents one address per hotkey, so a list needs either several hotkeys or one hotkey pointed at your script.
Macro Keys is freeware for Windows, and the Hotkey Launcher also opens programs, folders and your mail client. The tutorial below shows both approaches, including a fallback if your copy will not accept a script file.
Suits: people who prefer a window to a text file. Limits: Windows only, and multi-address entries are not documented.
Method comparison: five ways to open a set of sites
Side by side, with the trade-off that matters for each.
| Method | Difficulty | Security note | Cost | Fits | Limitations |
|---|---|---|---|---|---|
| Bookmarks folder, Open all | Easy | No script runs | Free | One-click groups inside one browser | No key press, and tied to one browser profile |
| Batch file plus shortcut key | Easy to moderate | Runs with your user rights, so run only files you wrote | Free | Anyone who wants a key press and no extra software | Shortcut keys fire only from the desktop or Start menu |
| PowerShell script | Moderate | Same rights as you, and execution settings may block the file | Free | Long lists read from a text file | Calling .ps1 files directly can be restricted |
| PowerToys Keyboard Manager | Easy to moderate | Remaps do not apply in elevated windows | Free | People who already run PowerToys | One URI per shortcut, and PowerToys must be running |
| Macro Keys Hotkey Launcher | Easy | Local freeware, so keep scripts free of passwords | Free | Managing many hotkeys in one window | Windows only, with multi-address entries undocumented |
| Verdict | For one fixed set of sites, a batch file with a shortcut key is the lightest option. Choose Macro Keys when you want a window that lists many hotkeys, text shortcuts and clipboard history together. | ||||
What Keyboard Macros Can Automate
Four kinds of macro exist, and only one of them opens websites.
| Type | What it does | Built-in on Windows | Macro Keys |
|---|---|---|---|
| Text | Expands a short typed trigger into longer text | No | Yes, in the Macro Shortcuts tab |
| Key sequence | Presses Tab, Enter, arrows, date or time for you | No | Yes, through the virtual keyboard in the macro dialog |
| Mouse | Replays clicks and movement | No | Not described on the pages we reviewed |
| Launch program or site | Opens a program, file, folder, website or mail client | Yes, with shortcut keys on shortcuts | Yes, in the Hotkey Launcher |

Step-by-Step: Make a Macro for Opening Multiple Websites at Once
The built-in route, from empty Notepad to a working shortcut key.
Collect the addresses
Open Notepad and list the pages you visit together, one per line, each starting with https://. Check that every one loads when you click it by hand. A page that fails now will fail inside the macro.
Write the script
Type
@echo offon the first line. Then add one line per site in the formstart "" "https://example.com". The empty quotes are the window title that start expects before a quoted address.Save it as a batch file
Choose File, then Save as, and set Save as type to All files. Name the file
sites.batand keep it in Documents. Without the type change, Notepad adds .txt and the file will not run.Make a shortcut on the desktop
Right-click the desktop, choose New, then Shortcut, and browse to
sites.bat. Windows honors shortcut keys only for shortcuts on the desktop or in the Start menu, so this location matters.Assign the key combination
Right-click the new shortcut, open Properties, and select the Shortcut tab. Click the Shortcut key box and press Ctrl+Alt+S. Windows fills in the combination. Click Apply.
Test before you trust it
Close your browser, press the combination, and watch the tabs open. If nothing happens, check the fix table below before you change anything.
Recording Your First Macro
Build it small, prove it, then grow it.
Why the two-site test comes first
Build your first macro with two websites, press the trigger, and confirm both tabs open. Only then paste in the full list. The two-site test separates a trigger problem from a list problem, so you fix one thing at a time.
The phrase “recording” suggests a tool that watches you work. For launching websites you do not need that. You record the macro once by writing the list, and the file is the recording. Mouse recorders exist, but they replay screen positions and break when a window moves.
The two-site test
1. Put two addresses in the file. 2. Press the trigger. 3. Count two new tabs. 4. Add the rest and count again. If the count is wrong at step 3, the trigger is at fault. If it is wrong at step 4, one address is.
Assigning Macros to Specific Keys
Three places can own a shortcut. Pick one and stay consistent.
Which key combinations are safe to use?
Ctrl+Alt plus a letter is the safest pattern for a Windows shortcut key, and Windows 2000-era documentation already required it. Microsoft’s own scripting reference says shortcut keys work only for shortcuts on the desktop or in the Start menu.
PowerToys is stricter about format. A shortcut must begin with a modifier key, end with a non-modifier key and use no more than four keys. Macro Keys takes a combination you type in the Add Hotkey window. Whichever tool you pick, one letter should belong to one tool.
Which setup fits your workday
Match the situation, then follow the link in the table above.
Morning dashboard
Mail, calendar and a status page, every day at the same time. A batch file with a shortcut key, run from startup, covers it.
Research session
A fresh set of tabs each project. Use a bookmarks folder per project and open it as a tab group.
Support desk
Ticket queue, knowledge base and chat on one key. Name the browser in the script so the desk PC stays consistent.
Class or training
Portal, reading list and a quiz page. A shared script on the teacher’s PC saves two minutes at the start of every class.
Shared family PC
A hotkey for each person’s favorite sites, set up in Macro Keys so nobody edits a text file.
Locked-down work PC
Ask first. The work-PC checklist covers what to tell IT before any script runs.
The tool we recommend for readers who manage many hotkeys
Of the options covered, here is where Macro Keys fits and where it does not.
A batch file is enough for one fixed set of sites. We recommend Macro Keys for readers who want a window that holds every hotkey they use: site launchers, text shortcuts and clipboard history in one place. We build it, so weigh that when you read this.
The product page lists a Hotkey Launcher that opens programs, folders, websites and mail. Its FAQ describes the steps: click Add Hotkey, type a combination, then browse to a program or file, or enter a URL to open a site in the default browser. A German-language article on DataCenter-Insider reviews the same tool, and a Dutch guide on ID.nl covers the launcher too.
Where it falls short
Macro Keys is a Windows program. The pages we reviewed describe text macros, simulated keystrokes and launching, and do not describe mouse recording or opening a whole list from one entry. For those, use a script and point a hotkey at it.

Macro Keys vs PowerToys Keyboard Manager vs a plain batch file
The same job done three ways, using only what each vendor documents.
| Feature | Macro Keys | PowerToys Keyboard Manager | Batch file with shortcut key |
|---|---|---|---|
| Opens one site from a key | Yes, via the Hotkey Launcher | Yes, via the Open URI action | Yes, one start line |
| Opens a list from one key | Point the hotkey at a script file | Point Start App at a script | Yes, a line per site |
| Must stay running | Runs in the system tray | Yes, PowerToys must run | No |
| Works in elevated windows | Not documented | Only if PowerToys runs as administrator | Shortcut keys follow Windows rules |
| Text shortcuts and clipboard | Yes, both | Remaps text to a key | No |
| Cost and platform | Freeware, Windows | Free, Windows | Built in, Windows |
| Verdict | None of the three wins on every row. The batch file has the fewest moving parts, PowerToys fits people who already use it, and Macro Keys covers the widest range of small automations. | ||
Fixing Macros That Misfire
Six common failures, with the cause and the quickest fix.
| Problem | Likely cause | Fix |
|---|---|---|
| Nothing happens when you press the keys | The shortcut is not on the desktop or Start menu, or another program owns the combination | Move the shortcut to the desktop and try another Ctrl+Alt letter |
| Only the first site opens | A line is missing start, or an address has a typo | Put start “” before every address and open each address by hand |
| Sites open in the wrong browser | The script follows the default browser | Name the browser on each line, or change the default in Settings |
| Edge ignores the new-window flag | Edge may already be running in the background, and running browsers can ignore command-line switches | Close Edge fully, or turn off startup boost, then try again |
| Pages ask you to sign in again | A different browser profile opened | Launch the profile you normally sign in with, and keep passwords out of the file |
| Works on your PC, not a coworker’s | Paths or browsers differ, or security software blocks scripts | Use plain start lines with names, not full paths, and ask IT |
If one of these does not match, the full troubleshooting guide walks the failure from key press to page load.
What Macro Keys offers for this job
Facts from the product page and its FAQ, with notes on where each one fits.
Hotkey Launcher
Opens programs, files, folders, websites and mail from a key combination.
Suits: site launchers. Not ideal for: opening a list from one entry.
Keyboard macros
Expands a typed trigger into longer text, with simulated keys such as Tab, Enter and the arrows.
Suits: forms and replies. Not ideal for: launching.
Multiple clipboards
Stores earlier copied items so you can paste them again, and save one as a macro.
Suits: repeat pasting. Not ideal for: sensitive text.
Program security
The Options screen offers a password for running Macro Keys, and the page says macros can be encrypted.
Suits: shared PCs. Not ideal for: replacing a vault.
How to open a set of websites with one Macro Keys hotkey
Five steps, using the flow described in the Macro Keys FAQ.
Prepare the script
Build the sites.bat file from the step-by-step section, or decide to use one hotkey per site. Keep the file in Documents so the path never changes.
Open the Hotkey Launcher tab
Start Macro Keys and click Hotkey Launcher. The window opens on Macro Shortcuts by default, so switch tabs first.
Click Add Hotkey and enter a combination
Type the key combination you want, for example Ctrl+Alt+S. Check it against the conflict list above.
Choose the target
For one site, enter its full address. For a list, browse to sites.bat. The FAQ says you can browse to a program or file, so a saved script is a natural target.
Click Ok and test
Press the combination. If your copy of Macro Keys will not accept the file, fall back to the Windows shortcut key from the previous section, or add one hotkey per address.
Honest limit
The Macro Keys pages describe launching a program, file or website per hotkey. They do not say that a single entry can hold several addresses, so test with two sites first.
How the launch works under the hood
Five details explain most surprises.
What the start command does with an address
Microsoft documents that start takes an optional window title first, and that a URL typed as the command opens in your default browser. Quoting the title as empty quotes avoids the quoted address being read as the title.
Why the default browser matters
A start line with only an address follows whatever browser Windows currently uses for links. Naming chrome or msedge sends that line to that browser instead, which is how a script can open work sites in one browser and personal sites in another.
How long a script line can be
Microsoft documents a limit of 8191 characters for a command line in cmd.exe, including lines in a batch file. One address per line stays far below that. A single line holding dozens of long addresses could reach it.
Why Edge sometimes ignores your switches
Users on the Microsoft Tech Community report that when Edge startup boost keeps msedge.exe running, command-line switches can be ignored. If a new-window switch does nothing, close Edge completely or turn the setting off.
Why a web page cannot do this for you
Chrome blocks pop-ups by default, and a web page that tries to open ten tabs from one click looks like a pop-up. Scripts and hotkeys run outside the page, so the blocker does not apply.
Backing Up and Sharing Your Macros
A macro setup is two things to protect: the script and the hotkey list.
How do I back up and restore a multi-site macro?
Copy your script to a second folder or cloud drive, then export the Macro Keys list from Options. The product screenshot shows Import Macros from File and Export Macros to File buttons, so restoring on a new PC takes two clicks and a copy.
The same screen shows a data path under Documents and a Start at Windows Startup checkbox. Keep the plain-text list of addresses separately. With the list and the shortcut steps from this guide, you can rebuild the macro in about ten minutes.
Can I share a macro with a coworker?
Send the list of addresses rather than the script. Anyone who receives a script should read each line before running it, because a .bat file can do anything the user can do. Never share a file that holds a password, and do not run scripts from strangers.

Common Mistakes When You Make a Macro for Opening Multiple Websites at Once
Five habits to adopt and five to drop.
Do this
- Test with two sites before the full list.
- Start every address with https://.
- Keep the file in Documents and back it up.
- Pick a Ctrl+Alt combination nothing else uses.
- Read every line of a script before running it.
Not that
- Pasting thirty sites in on the first try.
- Leaving the quotes off an address with an ampersand.
- Storing a password in the file.
- Saving the file as sites.bat.txt without noticing.
- Running a script someone sent you in a chat.
Quote every address
In a batch file the ampersand ends a command, so an address with a query string such as ?a=1&b=2 needs quotes around it. The start lines in this guide already include them.
How to Verify It Worked After You Make a Macro for Opening Multiple Websites at Once
Six checks, in order.
Start from nothing
Close every browser window so you can see the macro open them.
Press the trigger once
Watch for the first tab within two or three seconds. A longer wait points to a slow first launch, not a fault.
Count the tabs
The tab count should match the number of lines in the file.
Check the order
The first line should open first. Add a short pause between lines if the order scrambles.
Restart and repeat
Sign out of Windows or restart, then press the trigger again. A shortcut that fails after a restart usually points to the wrong location.
Try it from a second app
Press the trigger with a document open. If it fails there, another program owns the combination.
Is This Enough? What Else to Do After You Make a Macro for Opening Multiple Websites at Once
The macro is one piece. These four finish the job.
Keep Windows updated
Windows 10 stopped receiving security updates on October 14, 2025. The macro keeps working, but browsing on an unpatched PC carries risk, so plan the move to Windows 11.
Check your sign-ins
Opening a page does not sign you in. Stay signed in through your browser profile and a password manager, never through the script.
Clear what you open
History Clean is a free-tier NewSoftwares.net tool that clears browser and Windows traces after a session on a shared PC.
Read your workplace policy
Before the macro runs on a managed PC, use the work-PC checklist and tell IT.
What changed for website macros in 2026
Four updates that affect how you build one today.
What does Windows 10 end of support change?
Nothing about the macro itself changes, because start commands and shortcut keys are built into Windows. What changes is risk: since October 14, 2025 Windows 10 receives no technical support or security updates from Microsoft for most editions.
Do I still need extra software in 2026?
No. PowerToys has opened apps and URIs from a shortcut since release 0.79, from March 2024, and Chrome has offered to open a bookmarks folder as a tab group since version 94. Extra software now buys convenience, not capability.
What Macro Keys costs
The short version: nothing.
Free
The product page lists Macro Keys under Free Apps with a free download for Windows, and its FAQ calls it freeware. The page shows no price.
Is it worth installing?
If one batch file covers you, no. Install it when you want text shortcuts, clipboard history and several hotkeys managed from one window. If you pay for nothing, you also risk nothing.
Who should use which option
Match your habits, not the feature list.
| Reader | Start with | Honest alternative |
|---|---|---|
| Opens the same sites every morning | Batch file and shortcut key | Macro Keys with one hotkey per site |
| Wants zero setup | Bookmarks folder, Open all | A browser start-up page |
| Runs PowerToys already | Keyboard Manager Start App | A batch file with a shortcut key |
| Manages many hotkeys and text snippets | Macro Keys | PowerToys plus a text expander |
| Uses a managed work PC | Ask IT first | Bookmarks folder, which runs no script |
Sample macros you can copy
Replace the example addresses with your own before you run anything.
$sites = Get-Content "$env:USERPROFILE\Documents\urls.txt"
foreach ($site in $sites) {
Start-Process $site
Start-Sleep -Milliseconds 700
}Trigger : Ctrl + Alt + S
Action : Start App
App : C:\Windows\System32\cmd.exe
Args : /c "C:\Users\YourName\Documents\sites.bat"
Visibility : choose a hidden or minimized option if your build offers oneHotkey Launcher entries in Macro Keys
Ctrl+Alt+1 https://example.com/mail
Ctrl+Alt+2 https://example.com/calendar
Ctrl+Alt+3 https://example.com/status
One address per hotkey. Replace the examples with your own.Keep the list in a text file
The PowerShell sample reads urls.txt, so you change sites by editing one plain text file and never touch the script. Put one https:// address on each line.
Questions about multi-site macros
Answers come first, with the conditions after.
12 questions shown
How to make a macro for opening multiple websites at once?
Write each web address on its own line in a text file, save it as sites.bat, and put start “” before every address. Then create a desktop shortcut to the file and give it a Ctrl+Alt shortcut key. Test with two sites before you add the rest.
Can I make a macro for opening multiple websites at once without paid software?
Yes. A bookmarks folder, a batch file with a Windows shortcut key and a PowerShell script all cost nothing and need no installs. Microsoft PowerToys is free, and Macro Keys from NewSoftwares.net is freeware. Paid macro suites add mouse recording, which this job does not need.
What is the fastest way to make a macro for opening multiple websites at once?
Bookmark the sites into one folder and right-click the folder to open them all. That takes about two minutes and needs no files. The fastest route with a key press is a three-line batch file plus a shortcut key, which takes roughly ten minutes the first time.
What mistakes should I avoid when I make a macro for opening multiple websites at once?
Leaving out start, forgetting https:// and testing with a full list are the usual ones. Passwords stored in the file are the risky one. Never put credentials in a script, never run a script you did not write or read, and keep a copy of the file somewhere safe.
How do I check that it worked after I make a macro for opening multiple websites at once?
Close every browser window, press the trigger once, and count the tabs against the lines in your list. Then sign out of Windows or restart, and press it again. If the same tabs open in the same order both times, the macro is reliable.
What is the difference between a macro and a keyboard shortcut?
A keyboard shortcut starts one command that a program already knows, such as Ctrl+C. A macro is a sequence you define yourself, such as opening six sites in order. Many tools blur the two: a hotkey is a shortcut that you point at your own action.
Can I assign macros to a second keyboard?
Windows treats all keyboards as one input, so a macro runs on whichever keyboard sends the keys. Telling two keyboards apart needs a tool that reads each device separately. For a multi-site macro you do not need that: pick a combination, such as Ctrl+Alt+S, that any keyboard can send.
Are keyboard macros allowed at work?
It depends on your employer’s policy, so ask IT before you run one on a work PC. A macro that only opens public pages is low risk, but a script file can still be blocked by security software. Keep the file free of passwords and tell your manager what it does.
Will macros work inside every application?
No. A macro that launches websites works from anywhere because Windows runs it, but a keystroke macro types into whichever window has focus. Elevated programs ignore shortcuts from non-elevated tools, and some full-screen apps block global hotkeys, so test the trigger inside each app you use.
How do I back up my macros?
Copy your script files to a second folder or cloud drive. In Macro Keys, open Options and use Export Macros to File to save your shortcut list, then copy that file too. Keep the list of web addresses as plain text so you can rebuild a macro in minutes.
Can one hotkey open a list of websites in Chrome and Edge at the same time?
Yes, if the list is a script. Put start chrome on some lines and start msedge on others, then trigger the script from one shortcut key. Opening each address in two browsers is rarely worth it, so name only the browser you use for each site.
Does a website macro still work on Windows 10 after support ended?
Yes. The start command, shortcut keys and Macro Keys do not depend on Windows updates. Microsoft ended Windows 10 support on October 14, 2025, so the PC no longer gets security fixes. Move to Windows 11 or an extended update plan if you browse on that machine.
Pick the smallest tool that does the job
For one fixed set of sites, a batch file with a Windows shortcut key does everything and installs nothing. For a growing set of hotkeys, snippets and clipboard history, Macro Keys keeps them in one window and costs nothing. Whichever you choose, test with two sites first.
Four guides that go further
Batch file to open multiple websites
Write the script line by line, pick a browser and add delays.
Read the guide →Macro opens only one website
Find out whether the key, the launch or the page load failed.
Read the guide →Macro vs hotkey vs text expander
Match the tool to the output you want from one key press.
Read the guide →Are keyboard macros allowed at work
Ask, log and limit before a macro runs on a work PC.
Read the guide →This guide is written by the NewSoftwares.net team, the developer of Macro Keys. It covers free and built-in options alongside our own, and questions can go to the developer through the contact page.