Toolvito

Works on this device

Geolocation Permission Test

This page shows the state of the location permission for this site. When you choose a button, it asks the browser for your position and shows what came back, or the exact error. Your position stays in this tab.

Location permission and position

The page asks for your position only when you choose a button. The position is shown in this tab only. It is not sent anywhere, not saved and not put in the address of the page.

Permission now: Checking.

Ready. Your position is not asked for until you choose a button.

No position on the page.

Watch log

Not watching.

How to use the test

  1. Read Permission now. It shows what the browser reports for this site before any request.
  2. Choose Get my position once. If the permission is "Prompt", the browser asks you. Choose Allow or Block there.
  3. Read the table: latitude, longitude, accuracy and the time. Altitude, heading and speed are shown when the browser gives them.
  4. Choose Start watching to get a new row each time the browser has a new position. Choose Stop to end it.
  5. Choose Clear the result to remove your position from the page.

What the permission states mean

  • Granted: this site may ask for your position and the browser will not ask you again.
  • Denied: the browser refuses. A request ends at once with the error "Permission denied".
  • Prompt: nothing is decided. The browser asks you at the next request.
  • Some browsers do not report the state before a request. Then the page shows Not reported, and the test still works: the answer to a request shows what the browser decided.

What the values mean

  • Latitude and longitude are in decimal degrees (WGS 84), with six decimal places. N and S, E and W replace the plus and minus signs.
  • Accuracy is a distance in metres. The browser states that your real position is within this distance of the point, at the 95% level. A small number is better.
  • Altitude is the height in metres above the WGS 84 ellipsoid, which is not the same as height above sea level. Heading is the direction of travel in degrees clockwise from true north. Speed is in metres per second and in km/h. Many devices do not give these three.
  • Time of the position is the time stamp from the browser, shown in UTC.
  • Ask for high accuracy tells the browser that it may use GPS where the device has it. It can take longer and use more battery. Wait at most is the time limit the page gives to the browser.

The three errors

  • Permission denied: you chose Block, the permission is set to Block, or the device or the site does not allow location for this page.
  • Position unavailable: the browser was allowed, but could not find a position. Location may be turned off on the device, or there is no signal.
  • Timeout: no position arrived inside the time limit. Choose a longer time or try again.

How to change the permission

  • In a desktop browser, open the site information next to the address (often a lock or a slider icon), find Location and choose Allow, Block or Ask. You can also find it in the privacy or site settings of the browser.
  • On a phone, the browser app also needs the location permission of the system. Check the app permissions in the system settings, and check that location is turned on for the device.
  • After a change, load the page again or choose a button again. Permission now shows the new state.

Worked example

The browser returns latitude 48.85837, longitude 2.294481 and accuracy 25. The page shows 48.858370° N, 2.294481° E and 25 m.

A latitude of −33.856784 is shown as 33.856784° S. A speed of 2.5 metres per second is shown as 2.5 m/s (9.0 km/h), and a heading of 90 degrees as 90.0° (east).

Limits you should know

  • The page shows what the browser returns. It cannot check that the position is right. A computer without GPS often gets a position from Wi-Fi or the network, which can be wrong by many kilometres.
  • There is no map on this page, because a map would send your position to a map service.
  • Your position is shown in this tab only. The page does not send it, does not save it and does not put it in the address of the page. Copy result puts it on your clipboard only when you choose that button.
  • This page does not convert coordinates between formats and does not find a place from your IP address.

Related tools