How Add basemaps to QGIS
To add basemaps to QGIS use these as the tiles source:
Google Maps: https://mt0.google.com/vt/lyrs=m&x={x}&y={y}&z={z} (opens in a new tab)
Google Satellite: https://mt0.google.com/vt/lyrs=s&x={x}&y={y}&z={z} (opens in a new tab)
Google Satellite Hybrid: https://mt0.google.com/vt/lyrs=y&x={x}&y={y}&z={z} (opens in a new tab)
Google Terrain: https://mt1.google.com/vt/lyrs=t&x={x}&y={y}&z={z} (opens in a new tab)
Google Terrain Hybrid: https://mt1.google.com/vt/lyrs=p&x={x}&y={y}&z={z} (opens in a new tab)
Google Roads: https://mt1.google.com/vt/lyrs=h&x={x}&y={y}&z={z} (opens in a new tab)