Frequently Asked Questions
- What is Geolocation ?
- How do I enable Geolocation on my browser ?
- What is the difference between HTML 5 and IP Geolocation ?
- My position is not accurate !
- Can I geolocate a phone or someone ?
- Why does my IP show the wrong city ?
- Does geolocation work with a VPN ?
- Is my location data stored or shared ?
- Why does geolocation require HTTPS ?
- How accurate is geolocation on mobile vs desktop ?
- [Developer] Can I use Geolocation on my website ?
- [Developer] Which languages are used on this website ?
What is Geolocation ?
Geolocation is the identification of the real-world geographic location of an object, such as a radar source, mobile phone or Internet-connected computer terminal. Geolocation may refer to the practice of assessing the location, or to the actual assessed location.
On this website, Geolocation is used to retrieve the coordinates (latitude, longitude) of your current device (computer/laptop, phone or tablet) and display your position on an interactive map.
How do I enable Geolocation on my browser ?
For privacy reasons, a website can not access your location before asking for your permission first.
Depending on your browser, permissions are handled differently.
On Google Chrome, you should see a popup like this asking for your permission :
You need to click on 'Allow' to let the website use your location.
If you don't see that popup. You either need to reload the page or change your location settings :
Chrome Settings >
Show advanced settings... >
Content Settings... (Privacy section) >
Locations.
On Firefox, you should see a popup like this asking for your permission :
You need to click on 'Share Location' to let the website use your location.
If you don't see that popup or if you have any questions about Geolocation with Firefox, you'll find all the information you need here.
On Safari, you should see a popup like this asking for your permission :
You need to click on 'Allow' to let the website use your location.
If you don't see that popup, you either need to reload the page or to reset website authorizations by choosing "Reset Safari..." from the Safari menu, then enabling "Reset all location warnings" checkbox (don't select the other checkboxes unless you are sure you want to reset those as well).
On Microsoft Edge, you should see a popup asking for your permission to share your location.
You need to click on 'Allow' to let the website use your location.
If you don't see that popup, go to Settings > Cookies and site permissions > Location and make sure it is enabled.
What is the difference between HTML 5 and IP Geolocation ?
HTML 5 Geolocation tends to be much more accurate than IP-based Geolocation.
IP-based Geolocation depends on databases associated with ISPs (Internet Service Providers) to figure out where you are. This doesn't work well when your ISP services a very large area and gives out dynamic IP addresses. The address in one town today might be 100 miles away tomorrow. Furthermore, those databases are usually not updated frequently. If your ISP sells off blocks of IPs or moves them to a new town, the database may still incorrectly think you're somewhere else.
HTML 5 location uses services provided by your browser to figure out where you are. If your computer has GPS built-in (such as on many mobile devices and some laptops), it will know exactly where you are. This makes it much more useful for webapps that have a navigation or location component. For devices without GPS, it can often provide a very good approximation based on nearby known wireless signals and other factors, such as tracing what routers your computer goes through when connecting to the internet. The exact implementation depends on the computer, what hardware it has available, and how the browser chooses to do things.
For example, when I check an IP-based location service, it says that I'm in a particular large city in the same general area that I live in, but it's actually about 50 miles away. When I use an HTML 5 location based service to figure out where I am, it's only off by about 20 blocks.
My position is not accurate !
Please refer to the answer above. Online Geolocation is based on several different techniques based on your device and does not guaranty a perfect result.
Can I geolocate a phone or someone ?
Geolocate-me.com only enables you to geolocate your own device as you navigate on the website. It uses your browser or your IP address to retrieve coordinates.
This website can not geolocate a device remotely. You can not use a phone number to retrieve the location of the device.
This means that you can not geolocate/track someone either.
Why does my IP show the wrong city ?
IP geolocation relies on databases maintained by Internet Service Providers (ISPs). These databases map IP addresses to approximate locations, but they are not always accurate.
Common reasons for an incorrect city :
- Your ISP assigned you an IP address registered in a different city or region
- The geolocation database has not been updated recently
- You are using a mobile connection, which may route through a distant server
- Your ISP covers a large geographic area and the IP is registered at its headquarters
For a more accurate position, allow the browser to share your location (HTML 5 Geolocation) which uses GPS, WiFi or cell tower data.
Does geolocation work with a VPN ?
If you are using a VPN (Virtual Private Network), the IP geolocation will show the location of the VPN server, not your real location. This is because the website sees the VPN's IP address instead of yours.
However, HTML 5 browser geolocation still works normally with a VPN, because it uses your device's GPS, WiFi or network information directly — it does not depend on your IP address.
Is my location data stored or shared ?
No. Your location data is not stored on our servers and is not shared with any third party.
The IP geolocation result is temporarily cached in your browser session for performance, but is never saved permanently. The HTML 5 browser geolocation runs entirely on your device and the coordinates are only used to display your position on the map.
Why does geolocation require HTTPS ?
Modern browsers only allow HTML 5 Geolocation on websites served over HTTPS (secure connection). This is a security measure to protect your privacy.
Without HTTPS, a third party could intercept the request and obtain your precise location. All major browsers (Chrome, Firefox, Safari, Edge) have enforced this requirement since 2016.
How accurate is geolocation on mobile vs desktop ?
Mobile devices are generally more accurate because they have GPS chips that can pinpoint your location within a few meters. They can also use cell tower triangulation and WiFi signals.
Desktop computers usually lack GPS hardware. Browsers estimate your position using nearby WiFi networks and your IP address, which is typically accurate to a few hundred meters in urban areas but can be off by several kilometers in rural areas.
In both cases, IP geolocation alone is only accurate to the city level (sometimes 10-50 km off), while HTML 5 Geolocation with GPS can be accurate within 5 meters.
[Developer] Can I use Geolocation on my website ?
Yes, you can use HTML 5 Geolocation or IP Geolocation on your website.
HTML 5 Geolocation is more accurate but requires approval from the user (browser pop asking something like "Allow website-url.com to access your location") whereas IP Geolocation does not require any authorization.
If you want to display the position on the Map, you will have to use a JavaScript Map API such as Google Maps for example.
[Developer] Which languages are used on this website ?
Geolocate-me.com is built using :
- HTML 5
- CSS (with Material Design Lite to help with the styling — no longer maintained)
- PHP (with Laravel, a PHP framework)
- JavaScript | ES6 (with Vue.js a modern and powerful JavaScript framework & with Google Maps API to display the Map)
- Vite (to easily automate CSS (Sass) & JavaScript compilation/minification)
The HTML 5 Geolocation is using the JavaScript function : navigator.geolocation.getCurrentPosition
The IP Geolocation is done with PHP using IP-API.com.