How to connect MetaMask to website and localhost?

Connect MetaMask to website with your phone or desktop extension. MetaMask is a gateway to countless decentralized applications available on its networks.

This crypto wallet is the most popular platform everyone can use for Web3 authentication, and with a click of a button or two, users can connect their wallets to dapps and websites. Follow the below steps to connect MetaMask to website using the easiest method.

Connect MetaMask To Instagram

How to connect MetaMask wallet to website?

In order to connect MetaMask to website, make sure to choose the right account and then, follow these steps:

1-Go to the site you want to manually connect your wallet too.

2-Click on the MetaMask desktop extension at the top of your browser.

Connect MetaMask to website
Connect MetaMask to website

3-Click on the menu in the upper right corner.

4-Click on Connected sites.

Click on the Metamask menu
Click on the Metamask menu

5-Click on the Manually connect to the current site button at the bottom of the menu. This button will not show up if one of your other accounts is connected to the website with Metamask Private key. If you have trouble with this issue, check other wallets to make sure they connect to the website.

Manually connect to current site
Manually connect to the current site

6-Choose the account you want to connect to the website, then click next.

7-Confirm the information in the confirmation screen.

Now let’s see how you can connect your wallet to a website on your phone.

Send avax from Metamask to avax wallet

How to connect MetaMask wallet to website on phone?

Navigate to the menu in the left-top corner. By tapping on this button, a sidebar menu will pop up.

Click on ‘Browser’, and you have an intuitive interface for finding the website you’re looking for, including a search bar:

Click on Metamask Browser
Click on Metamask Browser

Simply find the website as you would in any other browser, and connect MetaMask to website on your phone.

Metamask cancel transaction

How to connect MetaMask wallet to localhost?

Download and Install Ganache from, and install the MetaMask browser extension. Open Ganache, Then you will find your test accounts and 100 ETH for the test.

  • Open MetaMask and click on settings. Then go to networks. Click on Add Network.
How to connect MetaMask wallet to localhost
How to connect MetaMask wallet to localhost

After that, scroll down and click on “add a network manually”.

MetaMask’s network section

Name your network, then for the new RPC URL (like tron RPC URL), open ganache, Then you can find the RPC server URL. Copy and paste it into MetaMask’s network section.

MetaMask connected to localhost
MetaMask connected to localhost

The Chain ID is 1337. Click on save. That’s it! Your wallet is now connected to localhost.

Connect DeFi wallet to Metamask


In this article, we learned how to connect MetaMask to the website on a desktop extension and mobile app. We also learned how to connect MetaMask to localhost through Ganache. Knowing how to connect MetaMask to website is a must for crypto traders and investors, especially for NFT holders and airdrop fans.

Most of the airdrop projects ask you to connect your wallet to their website so that they can send you their tokens after the end of the airdrop.



Hello, I am the author of the blog content of this site, and I am glad that you are reading my crypto and forex articles.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button