Skip to main content
Chrome for Developers
Docs
  • Build with Chrome
  • Learn how Chrome works, participate in origin trials, and build with Chrome everywhere.
  • Web Platform
  • Capabilities
  • ChromeDriver
  • Extensions
  • Chrome Web Store
  • Chromium
  • Aurora
  • Web on Android
  • Origin trials
  • Release notes
  • Productivity
  • Create the best experience for your users with the web's best tools.
  • DevTools
  • Lighthouse
  • Chrome UX Report
  • Accessibility
  • Get things done quicker and neater, with our ready-made libraries.
  • Workbox
  • Puppeteer
  • Experience
  • Design a beautiful and performant web with Chrome.
  • AI
  • Performance
  • CSS and UI
  • Identity
  • Payments
  • Privacy and security
  • Resources
  • More from Chrome and Google.
  • All documentation
  • Baseline
  • web.dev
  • PageSpeed Insights audit
  • The Privacy Sandbox
Case studies Blog New in Chrome
/
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Nederlands
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
  • Chrome Extensions
  • Reference
  • API
Chrome for Developers
  • Docs
    • More
  • Case studies
  • Blog
  • New in Chrome
  • Build with Chrome
  • Web Platform
  • Capabilities
  • ChromeDriver
  • Extensions
  • Chrome Web Store
  • Chromium
  • Aurora
  • Web on Android
  • Origin trials
  • Release notes
  • Productivity
  • DevTools
  • Lighthouse
  • Chrome UX Report
  • Accessibility
  • Workbox
  • Puppeteer
  • Experience
  • AI
  • Performance
  • CSS and UI
  • Identity
  • Payments
  • Privacy and security
  • Resources
  • All documentation
  • Baseline
  • web.dev
  • PageSpeed Insights audit
  • The Privacy Sandbox
  • Home
  • Docs
  • Chrome Extensions
  • Reference
  • API

chrome.location
Stay organized with collections Save and categorize content based on your preferences.

The chrome.location API is no longer supported. We recommend using open web alternatives such as the Geolocation API instead.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2014-02-24 UTC.

  • Contribute

    • File a bug
    • See open issues
  • Related content

    • Chromium updates
    • Case studies
    • Archive
    • Podcasts & shows
  • Follow

    • @ChromiumDev on X
    • YouTube
    • Chrome for Developers on LinkedIn
    • RSS
  • Terms
  • Privacy
  • Manage cookies
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Nederlands
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어